Skip to content

Commit

Permalink
Merge commit 'refs/pull/232/head' of https://github.com/open-mmlab/mm…
Browse files Browse the repository at this point in the history
…deploy into sb/mo_args
  • Loading branch information
SemyonBevzuk committed Mar 14, 2022
2 parents 0b52e8f + 7912179 commit 84853a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_codebase/test_mmdet/test_mmdet_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def get_l2norm_forward_model():
"""L2Norm Neck Config."""
from mmdet.models.necks.ssd_neck import L2Norm
model = L2Norm(16)
torch.nn.init.uniform_(model.weight)

model.requires_grad_(False)
return model
Expand Down

0 comments on commit 84853a9

Please sign in to comment.