Skip to content

Commit 9fab8d8

Browse files
committed
Fix break of 2 years old torchvision installs :/
1 parent d3e83a1 commit 9fab8d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

timm/layers/create_norm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import torch.nn as nn
1212

1313
from .norm import GroupNorm, GroupNorm1, LayerNorm, LayerNorm2d, RmsNorm
14-
from torchvision.ops import FrozenBatchNorm2d
14+
from torchvision.ops.misc import FrozenBatchNorm2d
1515

1616
_NORM_MAP = dict(
1717
batchnorm=nn.BatchNorm2d,

0 commit comments

Comments
 (0)