mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Fix break of 2 years old torchvision installs :/
This commit is contained in:
parent
d3e83a190f
commit
9fab8d8f58
@ -11,7 +11,7 @@ from typing import Type
|
||||
import torch.nn as nn
|
||||
|
||||
from .norm import GroupNorm, GroupNorm1, LayerNorm, LayerNorm2d, RmsNorm
|
||||
from torchvision.ops import FrozenBatchNorm2d
|
||||
from torchvision.ops.misc import FrozenBatchNorm2d
|
||||
|
||||
_NORM_MAP = dict(
|
||||
batchnorm=nn.BatchNorm2d,
|
||||
|
Loading…
x
Reference in New Issue
Block a user