Views
No views yet
ambient_laws_imagenet_sigma_0.0_corruption_0.0_keep_0.9
git clone https://github.com/giannisdaras/ambient-laws.git1import dnnlib
2import json
3from huggingface_hub import hf_hub_download
4
5def load_hf_checkpoint(repo_id):
6 config_path = hf_hub_download(repo_id=repo_id, filename="config.json")
7 model_config = json.load(open(config_path, "r", encoding="utf-8"))
8 model_config['class_name'] = 'training.networks.EDMPrecond'
9 net = dnnlib.util.construct_class_by_name(**model_config)
10 net = net.from_pretrained(repo_id)
11 return net
12
13model = load_hf_checkpoint("giannisdaras/ambient_laws_imagenet_sigma_0.0_corruption_0.0_keep_0.9")@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}
}