yolact_r50_8xb8-55e_coco.py 652 B

1234567891011121314151617181920212223
  1. _base_ = 'yolact_r50_1xb8-55e_coco.py'
  2. # optimizer
  3. optim_wrapper = dict(
  4. type='OptimWrapper',
  5. optimizer=dict(lr=8e-3),
  6. clip_grad=dict(max_norm=35, norm_type=2))
  7. # learning rate
  8. max_epochs = 55
  9. param_scheduler = [
  10. dict(type='LinearLR', start_factor=0.1, by_epoch=False, begin=0, end=1000),
  11. dict(
  12. type='MultiStepLR',
  13. begin=0,
  14. end=max_epochs,
  15. by_epoch=True,
  16. milestones=[20, 42, 49, 52],
  17. gamma=0.1)
  18. ]
  19. # NOTE: `auto_scale_lr` is for automatically scaling LR,
  20. # USER SHOULD NOT CHANGE ITS VALUES.
  21. # base_batch_size = (8 GPUs) x (8 samples per GPU)
  22. auto_scale_lr = dict(base_batch_size=64)