Solved by ptrblck in post #2 
              
              
                What does print(gmodel) return after the torch.load call? 
Based on the error it seems it’s None, which indicates the loading fails somehow.