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
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
......
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