pytorch加载模型报错RuntimeError: Error(s) in loading state_dict for ResNet:Missing key(s) in stat
报错信息:RuntimeError:Error(s)inloadingstate_dictforResNet:Missingkey(s)instate_dict:“conv1.weight”,“bn1.running_var”,“bn1.bias”,“bn1.running_mean”,“bn1.weight”,“layer1.0.conv1.weight”,“layer1.0.bn1.runni