default_runtime.py 759 B

123456789101112131415161718192021222324
  1. default_scope = 'mmdet'
  2. default_hooks = dict(
  3. timer=dict(type='IterTimerHook'),
  4. logger=dict(type='LoggerHook', interval=50),
  5. param_scheduler=dict(type='ParamSchedulerHook'),
  6. checkpoint=dict(type='CheckpointHook', interval=1),
  7. sampler_seed=dict(type='DistSamplerSeedHook'),
  8. visualization=dict(type='DetVisualizationHook'))
  9. env_cfg = dict(
  10. cudnn_benchmark=False,
  11. mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0),
  12. dist_cfg=dict(backend='nccl'),
  13. )
  14. vis_backends = [dict(type='LocalVisBackend')]
  15. visualizer = dict(
  16. type='DetLocalVisualizer', vis_backends=vis_backends, name='visualizer')
  17. log_processor = dict(type='LogProcessor', window_size=50, by_epoch=True)
  18. log_level = 'INFO'
  19. load_from = None
  20. resume = False