You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I meet the same problem ImportError: cannot import name 'load_pretrained' from 'timm.models.resnet' (d:\project\python\shape\humansegmentation\human-segmentation-pytorch\models\pytorch-image-models\timm\models\resnet.py)
from timm.models.resnet import default_cfgs, load_pretrained, BasicBlock, Bottleneck
ImportError: cannot import name 'load_pretrained'
and in timm.models.resnet , there is no ‘load_pretrained’
Can someone tell me how to do
The text was updated successfully, but these errors were encountered: