Download clean/video/lipfd/options/test_options.py from deepsafe/model-code: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/deepsafe/model-code/resolve/main/clean/video/lipfd/options/test_options.py
- Command line
-
hf download hf://deepsafe/model-code/clean/video/lipfd/options/test_options.py
-
curl -L -o test_options.py https://huggingface.co/deepsafe/model-code/resolve/main/clean/video/lipfd/options/test_options.py
355 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('--eval', action='store_true', help='use eval mode during test time.') | |
| self.isTrain = False | |
| return parser | |