Replies: 2 comments 1 reply
-
@DrKenther, you're using the wrong import. This should fix it: from timm.models.layers import convert_splitbn_model, convert_sync_batchnorm, set_fast_norm |
Beta Was this translation helpful? Give feedback.
-
@DrKenther @leoentersthevoid
but the 'old' way, So, you need to check what timm versions are installed in your environment. |
Beta Was this translation helpful? Give feedback.
-
from timm.layers import convert_splitbn_model, convert_sync_batchnorm, set_fast_norm
ModuleNotFoundError: No module named 'timm.layers'
I'm having this issue on three of my different devices and environments.
Has anyone else met the same issue?
And how to fix it?
Thanks & best wishes.
Beta Was this translation helpful? Give feedback.
All reactions