RuntimeError: version_ <= kMaxSupportedFileFormatVersion
INTERNAL ASSERT FAILED at /pytorch/caffe2/serialize/inline_container.cc:132,
please report a bug to PyTorch. Attempted to read a PyTorch
file with version 3, but the maximum supported version for
reading is 2. Your PyTorch installation may be too old.
(init at /pytorch/caffe2/serialize/inline_container.cc:132)
错误信息如上所示,从中可以得出是pytorch版本问题。
具体问题好像是在高版本的Pytorch训练过后,无法在低版本的Pytorch中成功load,换Pytorch版本就行了。