Download scripts/inference.sh from Janedeng/DDColor: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/spaces/Janedeng/DDColor/resolve/main/scripts/inference.sh
- Command line
-
hf download hf://spaces/Janedeng/DDColor/scripts/inference.sh
-
curl -L -o inference.sh https://huggingface.co/spaces/Janedeng/DDColor/resolve/main/scripts/inference.sh
205 Bytes
| CUDA_VISIBLE_DEVICES=0 \ | |
| python3 inference/colorization_pipeline.py \ | |
| --input ./assets/test_images --output ./colorize_output \ | |
| --model_path modelscope/damo/cv_ddcolor_image-colorization/pytorch_model.pt |