|
Download README.md from WAS/portrait-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 530 Bytes
-
https://huggingface.co/WAS/portrait-diffusion/resolve/main/README.md
- Command line
-
hf download hf://WAS/portrait-diffusion/README.md
-
curl -L -o README.md https://huggingface.co/WAS/portrait-diffusion/resolve/main/README.md
530 Bytes
| license: cc-by-nc-4.0 | |
| #@markdown ####**Custom Model Settings:** | |
| if diffusion_model == 'custom': | |
| model_config.update({ | |
| 'attention_resolutions': '32, 16, 8', | |
| 'class_cond': False, | |
| 'diffusion_steps': 1000, | |
| 'rescale_timesteps': True, | |
| 'image_size': 512, | |
| 'learn_sigma': True, | |
| 'noise_schedule': 'linear', | |
| 'num_channels': 128, | |
| 'num_heads': 4, | |
| 'num_res_blocks': 2, | |
| 'resblock_updown': True, | |
| 'use_checkpoint': use_checkpoint, | |
| 'use_fp16': True, | |
| 'use_scale_shift_norm': True, | |
| }) |