I am using pytorch1.6 and can’t use the latest 1.7 for some reason.
When I load the model, I encounter the error:
super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: version_ <= kMaxSupportedFileFormatVersion INTERNAL ASSERT FAILED at ../caffe2/serialize/inline_container.cc:132, please report a bug to PyTorch. Attempted to read a PyTorch file with version 4, but the maximum supported version for reading is 3. Your PyTorch installation may be too old.
I am wondering is there a workaround to solve this problem.
For example, load model with pytorch1.7, and save the weight in a format that pytorch1.6 can use.
The use pytorch1.6 to reload the model.
Is this possible to realize?
Thanks in advance.