Skip to content

Commit 330dd32

Browse files
lbinfacebook-github-bot
authored andcommitted
fixed bug:get GN type in retinanet
Summary: #4369 pytorch/pytorch@4a0f6e6 Pull Request resolved: #4470 Reviewed By: tglik Differential Revision: D38898451 fbshipit-source-id: 44a89aed11cc57a8989b3686a86079627b9dbcb1
1 parent 3cfda47 commit 330dd32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detectron2/modeling/meta_arch/retinanet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def norm(c):
353353
)
354354

355355
else:
356-
norm_name = str(type(get_norm(norm, 1)))
356+
norm_name = str(type(get_norm(norm, 32)))
357357
if "BN" in norm_name:
358358
logger.warning(
359359
f"Shared BatchNorm (type={norm_name}) may not work well in RetinaNetHead."

0 commit comments

Comments
 (0)