Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
6875dcfe
Unverified
Commit
6875dcfe
authored
Jun 04, 2020
by
Harry
Committed by
GitHub
Jun 04, 2020
Browse files
refactor: use pat wrapper in default_constuctor (#317)
parent
a3ae7817
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
mmcv/runner/optimizer/default_constructor.py
mmcv/runner/optimizer/default_constructor.py
+1
-3
No files found.
mmcv/runner/optimizer/default_constructor.py
View file @
6875dcfe
...
...
@@ -2,10 +2,8 @@ import warnings
import
torch
from
torch.nn
import
GroupNorm
,
LayerNorm
from
torch.nn.modules.batchnorm
import
_BatchNorm
from
torch.nn.modules.instancenorm
import
_InstanceNorm
from
mmcv.utils
import
build_from_cfg
,
is_list_of
from
mmcv.utils
import
_BatchNorm
,
_InstanceNorm
,
build_from_cfg
,
is_list_of
from
.builder
import
OPTIMIZER_BUILDERS
,
OPTIMIZERS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment