"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "0cfbb51b0c36f541697e5ef83296bda874ac0671"
Unverified Commit f0e9bfef authored by Ed Ayers's avatar Ed Ayers Committed by GitHub
Browse files

[Fix] Update configs to use new nms config style (#1258)

* Update config to use new nms config.

References:
- https://github.com/open-mmlab/mmdetection/pull/4636
- https://github.com/open-mmlab/mmdetection3d/issues/1254
- https://github.com/open-mmlab/mmdetection/issues/5954



* Revert to master-based version and revert incorrect fixes

* Fix missing conflicts

* Adjust incorrect orders of dataset init after resolving conflicts
Co-authored-by: default avatarTai-Wang <tab_wang@outlook.com>
parent e3f0e8b0
...@@ -126,11 +126,10 @@ model = dict( ...@@ -126,11 +126,10 @@ model = dict(
pos_weight=-1, pos_weight=-1,
debug=False), debug=False),
rpn_proposal=dict( rpn_proposal=dict(
nms_across_levels=False,
nms_pre=2000, nms_pre=2000,
nms_post=2000, nms_post=2000,
max_num=2000, max_per_img=2000,
nms_thr=0.7, nms=dict(type='nms', iou_threshold=0.7),
min_bbox_size=0), min_bbox_size=0),
rcnn=[ rcnn=[
dict( dict(
...@@ -187,11 +186,10 @@ model = dict( ...@@ -187,11 +186,10 @@ model = dict(
]), ]),
test_cfg=dict( test_cfg=dict(
rpn=dict( rpn=dict(
nms_across_levels=False,
nms_pre=1000, nms_pre=1000,
nms_post=1000, nms_post=1000,
max_num=1000, max_per_img=1000,
nms_thr=0.7, nms=dict(type='nms', iou_threshold=0.7),
min_bbox_size=0), min_bbox_size=0),
rcnn=dict( rcnn=dict(
score_thr=0.05, score_thr=0.05,
......
...@@ -89,8 +89,8 @@ model = dict( ...@@ -89,8 +89,8 @@ model = dict(
nms_across_levels=False, nms_across_levels=False,
nms_pre=2000, nms_pre=2000,
nms_post=1000, nms_post=1000,
max_num=1000, max_per_img=1000,
nms_thr=0.7, nms=dict(type='nms', iou_threshold=0.7),
min_bbox_size=0), min_bbox_size=0),
rcnn=dict( rcnn=dict(
assigner=dict( assigner=dict(
...@@ -114,8 +114,8 @@ model = dict( ...@@ -114,8 +114,8 @@ model = dict(
nms_across_levels=False, nms_across_levels=False,
nms_pre=1000, nms_pre=1000,
nms_post=1000, nms_post=1000,
max_num=1000, max_per_img=1000,
nms_thr=0.7, nms=dict(type='nms', iou_threshold=0.7),
min_bbox_size=0), min_bbox_size=0),
rcnn=dict( rcnn=dict(
score_thr=0.05, score_thr=0.05,
......
...@@ -153,8 +153,8 @@ model = dict( ...@@ -153,8 +153,8 @@ model = dict(
nms_across_levels=False, nms_across_levels=False,
nms_pre=2000, nms_pre=2000,
nms_post=2000, nms_post=2000,
max_num=2000, max_per_img=2000,
nms_thr=0.7, nms=dict(type='nms', iou_threshold=0.7),
min_bbox_size=0), min_bbox_size=0),
rcnn=[ rcnn=[
dict( dict(
...@@ -211,8 +211,8 @@ model = dict( ...@@ -211,8 +211,8 @@ model = dict(
nms_across_levels=False, nms_across_levels=False,
nms_pre=1000, nms_pre=1000,
nms_post=1000, nms_post=1000,
max_num=1000, max_per_img=1000,
nms_thr=0.7, nms=dict(type='nms', iou_threshold=0.7),
min_bbox_size=0), min_bbox_size=0),
rcnn=dict( rcnn=dict(
score_thr=0.001, score_thr=0.001,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment