mirror of
https://github.com/open-mmlab/mmocr.git
synced 2025-06-03 21:54:47 +08:00
20 lines
455 B
Python
20 lines
455 B
Python
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'
|