Downloads · 30 days
25
61% of all-time downloads
giannisdaras/ambient_laws_cifar_sigma_0.2_corruption_0.3_keep_1.0
ambient_laws_cifar_sigma_0.2_corruption_0.3_keep_1.0 is a machine learning model from giannisdaras. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
25
61% of all-time downloads
All-time downloads
41
Public
Parameters
55.7M
223 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors223 MB · 100%
From the Hugging Face model README
ambient_laws_cifar_sigma_0.2_corruption_0.3_keep_1.0
This model is part of a collection of models that were trained for the paper: How Much is a Noisy Image Worth? 👀.
In this paper, we show that noisy images can be very useful in training diffusion generative models, as long as a small set of clean images is available.
Detailed instructions are in our GitHub repository.
You can clone the repository with the following command:
git clone https://github.com/giannisdaras/ambient-laws.git
and you can use the following function to load the model from the hub:
import dnnlib
import json
from huggingface_hub import hf_hub_download
def load_hf_checkpoint(repo_id):
config_path = hf_hub_download(repo_id=repo_id, filename="config.json")
model_config = json.load(open(config_path, "r", encoding="utf-8"))
model_config['class_name'] = 'training.networks.EDMPrecond'
net = dnnlib.util.construct_class_by_name(**model_config)
net = net.from_pretrained(repo_id)
return net
model = load_hf_checkpoint("giannisdaras/ambient_laws_cifar_sigma_0.2_corruption_0.3_keep_1.0")
This model was trained on cifar using 100.0% of the samples in the dataset.
From the samples kept, 30.0% of them were clean images and 70.0% of them were noisy images at noise level sigma=0.2.
The model was trained for a total of 200000 training steps.
If you find this work useful, please consider citing the following paper:
@article{daras2024imageworth,
author = {Giannis Daras and Yeshwanth Cherapanamjeri and Constantinos Daskalakis},
title = {How much is a noisy image worth? Data scaling laws for Ambient Diffusion.},
journal = {arXiv preprint arXiv:2411.02780},
year = {2024},
url = {https://arxiv.org/abs/2411.02780}
}
This model was shared by @giannisdaras.