Spaces:
Runtime error
Runtime error
Download configs/_base_/default_runtime.py from tomofi/MMOCR: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/spaces/tomofi/MMOCR/resolve/main/configs/_base_/default_runtime.py
- Command line
-
hf download hf://spaces/tomofi/MMOCR/configs/_base_/default_runtime.py
-
curl -L -o default_runtime.py https://huggingface.co/spaces/tomofi/MMOCR/resolve/main/configs/_base_/default_runtime.py
455 Bytes
| checkpoint_config = dict(interval=1) | |
| # yapf:disable | |
| log_config = dict( | |
| interval=5, | |
| hooks=[ | |
| dict(type='TextLoggerHook') | |
| ]) | |
| # yapf:enable | |
| dist_params = dict(backend='nccl') | |
| log_level = 'INFO' | |
| load_from = None | |
| resume_from = None | |
| workflow = [('train', 1)] | |
| # disable opencv multithreading to avoid system being overloaded | |
| opencv_num_threads = 0 | |
| # set multi-process start method as `fork` to speed up the training | |
| mp_start_method = 'fork' | |