[Feature]: support to customize type of runner (#4570)
* sup customize runner * fix typo * use build runner * minor fix * modify according to comments * add an assertion * swap order * fix tutorialpull/4643/head
parent
2a24412846
commit
bf128b088a
102 changed files with 203 additions and 152 deletions
@ -1,4 +1,4 @@ |
||||
_base_ = './cascade_rcnn_r50_fpn_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 19]) |
||||
total_epochs = 20 |
||||
runner = dict(max_epochs=20) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './faster_rcnn_r50_caffe_dc5_mstrain_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[28, 34]) |
||||
total_epochs = 36 |
||||
runner = dict(max_epochs=36) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './faster_rcnn_r50_caffe_fpn_mstrain_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 23]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './faster_rcnn_r50_caffe_fpn_mstrain_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[28, 34]) |
||||
total_epochs = 36 |
||||
runner = dict(max_epochs=36) |
||||
|
@ -0,0 +1,15 @@ |
||||
_base_ = 'faster_rcnn_r50_caffe_fpn_mstrain_1x_coco.py' |
||||
|
||||
# learning policy |
||||
lr_config = dict( |
||||
policy='step', |
||||
warmup='linear', |
||||
warmup_iters=500, |
||||
warmup_ratio=0.001, |
||||
step=[60000, 80000]) |
||||
|
||||
# Runner type |
||||
runner = dict(_delete_=True, type='IterBasedRunner', max_iters=90000) |
||||
|
||||
checkpoint_config = dict(interval=10000) |
||||
evaluation = dict(interval=10000, metric='bbox') |
@ -1,4 +1,4 @@ |
||||
_base_ = './fovea_r50_fpn_4x4_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_r101_fpn_gn_ws-all_2x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[20, 23]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_r50_fpn_gn_ws-all_2x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[20, 23]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_x101_32x4d_fpn_gn_ws-all_2x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[20, 23]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_x50_32x4d_fpn_gn_ws-all_2x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[20, 23]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './faster_rcnn_hrnetv2p_w32_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './faster_rcnn_hrnetv2p_w40_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './fcos_hrnetv2p_w18_gn-head_4x4_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './fcos_hrnetv2p_w32_gn-head_4x4_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './htc_hrnetv2p_w40_20e_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[24, 27]) |
||||
total_epochs = 28 |
||||
runner = dict(max_epochs=28) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = '../htc/htc_x101_64x4d_fpn_16x1_20e_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[24, 27]) |
||||
total_epochs = 28 |
||||
runner = dict(max_epochs=28) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_hrnetv2p_w18_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_hrnetv2p_w32_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_hrnetv2p_w40_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './htc_r50_fpn_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 19]) |
||||
total_epochs = 20 |
||||
runner = dict(max_epochs=20) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_r50_caffe_fpn_mstrain-poly_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 23]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './mask_rcnn_r50_caffe_fpn_mstrain-poly_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[28, 34]) |
||||
total_epochs = 36 |
||||
runner = dict(max_epochs=36) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './ms_rcnn_r101_caffe_fpn_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './ms_rcnn_r50_caffe_fpn_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './ms_rcnn_x101_64x4d_fpn_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,3 +1,3 @@ |
||||
_base_ = './paa_r101_fpn_1x_coco.py' |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,3 +1,3 @@ |
||||
_base_ = './paa_r50_fpn_1x_coco.py' |
||||
lr_config = dict(step=[12, 16]) |
||||
total_epochs = 18 |
||||
runner = dict(max_epochs=18) |
||||
|
@ -1,3 +1,3 @@ |
||||
_base_ = './paa_r50_fpn_1x_coco.py' |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './point_rend_r50_caffe_fpn_mstrain_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[28, 34]) |
||||
total_epochs = 36 |
||||
runner = dict(max_epochs=36) |
||||
|
@ -1,3 +1,3 @@ |
||||
_base_ = './faster_rcnn_regnetx-3.2GF_fpn_1x_coco.py' |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,3 +1,3 @@ |
||||
_base_ = './reppoints_moment_r50_fpn_gn-neck+head_1x_coco.py' |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './retinanet_r50_caffe_fpn_mstrain_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 23]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './retinanet_r50_caffe_fpn_mstrain_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[28, 34]) |
||||
total_epochs = 36 |
||||
runner = dict(max_epochs=36) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './retinanet_r50_fpn_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './scnet_r50_fpn_1x_coco.py' |
||||
# learning policy |
||||
lr_config = dict(step=[16, 19]) |
||||
total_epochs = 20 |
||||
runner = dict(max_epochs=20) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = 'tridentnet_r50_caffe_mstrain_1x_coco.py' |
||||
|
||||
lr_config = dict(step=[28, 34]) |
||||
total_epochs = 36 |
||||
runner = dict(max_epochs=36) |
||||
|
@ -1,4 +1,4 @@ |
||||
_base_ = './vfnet_r50_fpn_1x_coco.py' |
||||
model = dict(pretrained='torchvision://resnet101', backbone=dict(depth=101)) |
||||
lr_config = dict(step=[16, 22]) |
||||
total_epochs = 24 |
||||
runner = dict(max_epochs=24) |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue