Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
RangiLyu committed Jan 12, 2023
1 parent 6e45eb3 commit 2af0bd9
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
_base_ = [
'../_base_/models/mask-rcnn_r50_fpn.py',
'../_base_/datasets/coco_instance.py',
'../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py'
'mmdet::_base_/models/mask-rcnn_r50_fpn.py',
'mmdet::_base_/datasets/coco_instance.py',
'mmdet::_base_/schedules/schedule_1x.py',
'mmdet::_base_/default_runtime.py'
]

# please install mmcls>=1.0
Expand All @@ -19,9 +20,9 @@
# TODO: verify stochastic depth rate {0.1, 0.2, 0.3, 0.4}
# drop_path_rate=[0.1] * 3 + [0.2] * 3 + [0.3] * 27 + [0.4] * 3,
drop_path_rate=0.4,
layer_scale_init_value=1.0,
layer_scale_init_value=0., # disable layer scale when using GRN
gap_before_final_norm=False,
use_grn=True,
use_grn=True, # V2 uses GRN
init_cfg=dict(
type='Pretrained', checkpoint=checkpoint_file,
prefix='backbone.')),
Expand Down

0 comments on commit 2af0bd9

Please sign in to comment.