Loading...
1、如果有的模型在字典里,需要提前用nn.ModuleDict(other_model_dict)进行包...
原因一般是torchvision版本过高。将from torchvision.models.utils ...