RuntimeError: Error(s) in loading state_dict for ResNet: Missing key(s) in state_dict: "layer4.0.bn
最近找到了pytorch版本的pspnet,但是运行的时候却报了下面的错,折腾了好久,原来是pytorch版本的原因,pip3uninstalltorchpip3installtorch==0.3.1即可解决问题.RuntimeError:Error(s)inloadingstate_dictforResNet:Missingkey(s)instate_dict:"layer4.0.bn2.run