Skip to content

Commit bd2a49d

Browse files
[Fix] update the key name of modules from mmdet in cfgs (#2011)
1 parent 59119a0 commit bd2a49d

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

configs/_base_/models/cascade-mask-rcnn_r50_fpn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
model = dict(
33
type='CascadeRCNN',
44
pretrained='torchvision://resnet50',
5+
_scope_='mmdet',
56
backbone=dict(
67
type='ResNet',
78
depth=50,

configs/_base_/models/imvotenet.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,17 @@
6363

6464
# model training and testing settings
6565
train_cfg=dict(
66+
_scope_='mmdet',
6667
img_rpn=dict(
6768
assigner=dict(
68-
_scope_='mmdet',
6969
type='MaxIoUAssigner',
7070
pos_iou_thr=0.7,
7171
neg_iou_thr=0.3,
7272
min_pos_iou=0.3,
7373
match_low_quality=True,
7474
ignore_iof_thr=-1),
7575
sampler=dict(
76-
type='mmdet.RandomSampler',
76+
type='RandomSampler',
7777
num=256,
7878
pos_fraction=0.5,
7979
neg_pos_ub=-1,
@@ -90,15 +90,14 @@
9090
min_bbox_size=0),
9191
img_rcnn=dict(
9292
assigner=dict(
93-
_scope_='mmdet',
9493
type='MaxIoUAssigner',
9594
pos_iou_thr=0.5,
9695
neg_iou_thr=0.5,
9796
min_pos_iou=0.5,
9897
match_low_quality=False,
9998
ignore_iof_thr=-1),
10099
sampler=dict(
101-
type='mmdet.RandomSampler',
100+
type='RandomSampler',
102101
num=512,
103102
pos_fraction=0.25,
104103
neg_pos_ub=-1,

configs/_base_/models/mask-rcnn_r50_fpn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
model = dict(
33
type='MaskRCNN',
44
pretrained='torchvision://resnet50',
5+
_scope_='mmdet',
56
backbone=dict(
67
type='ResNet',
78
depth=50,

configs/nuimages/htc_r50_fpn_head-without-semantic_1x_nuim.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
model = dict(
77
type='HybridTaskCascade',
88
pretrained='torchvision://resnet50',
9+
_scope_='mmdet',
910
backbone=dict(
1011
type='ResNet',
1112
depth=50,

configs/second/second_hv_secfpn_8xb6-80e_kitti-3d-car.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
train_cfg=dict(
2020
_delete_=True,
2121
assigner=dict(
22-
type='MaxIoUAssigner',
22+
type='Max3DIoUAssigner',
2323
iou_calculator=dict(type='BboxOverlapsNearest3D'),
2424
pos_iou_thr=0.6,
2525
neg_iou_thr=0.45,

configs/ssn/ssn_hv_secfpn_sbn-all_16xb2-2x_lyft-3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
min_pos_iou=0.4,
175175
ignore_iof_thr=-1),
176176
dict( # animal
177-
type='MaxIoUAssigner',
177+
type='Max3DIoUAssigner',
178178
iou_calculator=dict(type='BboxOverlapsNearest3D'),
179179
pos_iou_thr=0.55,
180180
neg_iou_thr=0.4,

0 commit comments

Comments
 (0)