"tests/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "2475dc3452c0359ab9c0bb111b8d4da55d90ba0c"
Unverified Commit 6875dcfe authored by Harry's avatar Harry Committed by GitHub
Browse files

refactor: use pat wrapper in default_constuctor (#317)

parent a3ae7817
...@@ -2,10 +2,8 @@ import warnings ...@@ -2,10 +2,8 @@ import warnings
import torch import torch
from torch.nn import GroupNorm, LayerNorm 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 from .builder import OPTIMIZER_BUILDERS, OPTIMIZERS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment