albanD:

This is forward compatibility. Not backward compatibility !


The first line of the saved files from torch 1.6.0a0+541814f ends with this
versionFB\x12\x00ZZZZZZZZZZZZZZZZZZ4

Which’s not gonna be opened in the latest torch in pip or conda even though it just ResNet weights.
But!!!
If you change it to
versionFB\x12\x00ZZZZZZZZZZZZZZZZZZ3

Now everything works.
My question all along is how to make 1.6 save weight with x00ZZZZZZZZZZZZZZZZZZ3?
How could this possibly be forward?
After all, all you need to do to make the saved weight backward compatible is just change a letter.