Download clean/video/dfd_fcg/scripts/tools/inference-robust.sh from deepsafe/model-code: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/deepsafe/model-code/resolve/main/clean/video/dfd_fcg/scripts/tools/inference-robust.sh
- Command line
-
hf download hf://deepsafe/model-code/clean/video/dfd_fcg/scripts/tools/inference-robust.sh
-
curl -L -o inference-robust.sh https://huggingface.co/deepsafe/model-code/resolve/main/clean/video/dfd_fcg/scripts/tools/inference-robust.sh
368 Bytes
| TYPES="CS CC BW GNC GB JPEG VC" | |
| LEVELS="1 2 3 4 5" | |
| CKPT="logs/best/checkpoint.ckpt" | |
| SETTING="logs/best/setting.yaml" | |
| for T in $TYPES; | |
| do | |
| for L in $LEVELS; | |
| do | |
| python -m inference \ | |
| $SETTING \ | |
| "./configs/robustness/$T($L).yaml" \ | |
| $CKPT \ | |
| --notes "$T($L)" \ | |
| --devices -1 | |
| done | |
| done |