Spaces:
Sleeping
Sleeping
Download utils/__init__.py from YANGYYYY/cartoonize: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/YANGYYYY/cartoonize/resolve/main/utils/__init__.py
- Command line
-
hf download hf://spaces/YANGYYYY/cartoonize/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/YANGYYYY/cartoonize/resolve/main/utils/__init__.py
433 Bytes
| from .common import * | |
| from .image_processing import * | |
| class DefaultArgs: | |
| dataset ='Hayao' | |
| data_dir ='/content' | |
| epochs = 10 | |
| batch_size = 1 | |
| checkpoint_dir ='/content/checkpoints' | |
| save_image_dir ='/content/images' | |
| display_image =True | |
| save_interval =2 | |
| debug_samples =0 | |
| lr_g = 0.001 | |
| lr_d = 0.002 | |
| wadvg = 300.0 | |
| wadvd = 300.0 | |
| wcon = 1.5 | |
| wgra = 3 | |
| wcol = 10 | |
| use_sn = False | |