The error you mention is about forward compatibility: " Attempted to read a PyTorch file with version 4, but the maximum supported version for reading is 3."
The file’s version comes from a newer version of pytorch than the version you try to load the file with.