Skip to content

Commit

Permalink
[Fix]Modify BN to SyncBN (open-mmlab#103)
Browse files Browse the repository at this point in the history
* modify syncBN and bn_training_mode

* undo modify bn_training_mode
  • Loading branch information
humu789 committed Mar 7, 2022
1 parent a00a40b commit 446621b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
workers_per_gpu=8,
)

algorithm = dict(bn_training_mode=True)

searcher = dict(
type='EvolutionSearcher',
metrics='bbox',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'../../_base_/mmdet_runtime.py'
]

norm_cfg = dict(type='BN', requires_grad=True)
norm_cfg = dict(type='SyncBN', requires_grad=True)
model = dict(
type='mmdet.FasterRCNN',
backbone=dict(
Expand Down

0 comments on commit 446621b

Please sign in to comment.