Solved by albanD in post #2 
              
              
                Hi, 
Did you saved that file with a different version of pytorch by any chance? Especially a more recent version than the one you use for loading?