Skip to content

Commit

Permalink
fix cylinder3d config
Browse files Browse the repository at this point in the history
  • Loading branch information
sunjiahao1999 committed May 21, 2023
1 parent ea7a367 commit 1b1ebfe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_models/test_segmentors/test_cylinder3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_cylinder3d(self):
DefaultScope.get_instance('test_cylinder3d', scope_name='mmdet3d')
setup_seed(0)
cylinder3d_cfg = get_detector_cfg(
'cylinder3d/cylinder3d_4xb4_3x_semantickitti.py')
'cylinder3d/cylinder3d_4xb4-3x_semantickitti.py')
cylinder3d_cfg.decode_head['ignore_index'] = 1
model = MODELS.build(cylinder3d_cfg)
num_gt_instance = 3
Expand Down
2 changes: 1 addition & 1 deletion tests/test_models/test_segmentors/test_seg3d_tta_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_seg3d_tta_model(self):
assert hasattr(mmdet3d.models, 'Cylinder3D')
DefaultScope.get_instance('test_cylinder3d', scope_name='mmdet3d')
segmentor3d_cfg = get_detector_cfg(
'cylinder3d/cylinder3d_4xb4_3x_semantickitti.py')
'cylinder3d/cylinder3d_4xb4-3x_semantickitti.py')
cfg = ConfigDict(type='Seg3DTTAModel', module=segmentor3d_cfg)

model: Seg3DTTAModel = MODELS.build(cfg)
Expand Down

0 comments on commit 1b1ebfe

Please sign in to comment.