Download clean/video/dfd_fcg/scripts/tools/create-robust-configs.sh from deepsafe/model-code: direct link, hf CLI and curl.
- Browser
- Download file 582 Bytes
-
https://huggingface.co/deepsafe/model-code/resolve/main/clean/video/dfd_fcg/scripts/tools/create-robust-configs.sh
- Command line
-
hf download hf://deepsafe/model-code/clean/video/dfd_fcg/scripts/tools/create-robust-configs.sh
-
curl -L -o create-robust-configs.sh https://huggingface.co/deepsafe/model-code/resolve/main/clean/video/dfd_fcg/scripts/tools/create-robust-configs.sh
582 Bytes
| TYPES="CS CC BW GNC GB JPEG VC" | |
| LEVELS="1 2 3 4 5" | |
| for T in $TYPES; | |
| do | |
| for L in $LEVELS; | |
| do | |
| cat << EOT > "configs/robustness/$T($L).yaml" | |
| data: | |
| class_path: src.dataset.base.ODDeepFakeDataModule | |
| init_args: | |
| test_datamodules: | |
| - class_path: src.dataset.ffpp.FFPPDataModule | |
| init_args: | |
| df_types: ['REAL','DF','FS','F2F','NT'] | |
| compressions: ['c23'] | |
| strategy: NORMAL | |
| augmentations: | |
| - NONE | |
| force_random_speed: null | |
| data_dir: 'datasets/robustness/$T/$L/' | |
| vid_ext: .avi | |
| EOT | |
| done | |
| done |