Download backup/deblur/DeepDeblur-PyTorch/src/template.py from hyliu/lambdanet: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/hyliu/lambdanet/resolve/main/backup/deblur/DeepDeblur-PyTorch/src/template.py
- Command line
-
hf download hf://hyliu/lambdanet/backup/deblur/DeepDeblur-PyTorch/src/template.py
-
curl -L -o template.py https://huggingface.co/hyliu/lambdanet/resolve/main/backup/deblur/DeepDeblur-PyTorch/src/template.py
317 Bytes
| def set_template(args): | |
| if args.template.find('gopro') >= 0: | |
| args.dataset = 'GOPRO_Large' | |
| args.milestones = [500, 750, 900] | |
| args.end_epoch = 1000 | |
| elif args.template.find('reds') >= 0: | |
| args.dataset = 'REDS' | |
| args.milestones = [100, 150, 180] | |
| args.end_epoch = 200 | |