Download clean/image/effort/UniversalFakeDetect_Benchmark/script/test.sh from deepsafe/model-code: direct link, hf CLI and curl.
- Browser
- Download file 267 Bytes
-
https://huggingface.co/deepsafe/model-code/resolve/main/clean/image/effort/UniversalFakeDetect_Benchmark/script/test.sh
- Command line
-
hf download hf://deepsafe/model-code/clean/image/effort/UniversalFakeDetect_Benchmark/script/test.sh
-
curl -L -o test.sh https://huggingface.co/deepsafe/model-code/resolve/main/clean/image/effort/UniversalFakeDetect_Benchmark/script/test.sh
267 Bytes
| PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ | |
| CUDA_VISIBLE_DEVICES=0 python validate.py \ | |
| --arch CLIP:ViT-L/14_svd \ | |
| --ckpt checkpoints/clip_vitl14_svd/model_iters_18000.pth \ | |
| --result_folder results/clip_vitl14_svd/iters_18000 \ | |
| --use_svd |