Spaces:
Running on Zero
Running on Zero
Download UniversalFakeDetect/options/test_options.py from Thiru1122/Multimodel_setup: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/spaces/Thiru1122/Multimodel_setup/resolve/main/UniversalFakeDetect/options/test_options.py
- Command line
-
hf download hf://spaces/Thiru1122/Multimodel_setup/UniversalFakeDetect/options/test_options.py
-
curl -L -o test_options.py https://huggingface.co/spaces/Thiru1122/Multimodel_setup/resolve/main/UniversalFakeDetect/options/test_options.py
494 Bytes
| from .base_options import BaseOptions | |
| class TestOptions(BaseOptions): | |
| def initialize(self, parser): | |
| parser = BaseOptions.initialize(self, parser) | |
| parser.add_argument('--model_path') | |
| parser.add_argument('--no_resize', action='store_true') | |
| parser.add_argument('--no_crop', action='store_true') | |
| parser.add_argument('--eval', action='store_true', help='use eval mode during test time.') | |
| self.isTrain = False | |
| return parser | |