Solved by ptrblck in post #2 
              
              
                Assuming the *.pth file contains the state_dict of the model, you would need to create an instance of the model and load the state_dict afterwards. Once this is done, you can pass an input tensor to the model to get the output: 
model = ProGAN()
state_dict = torch.load('PATH_TO_STATE_DICT/file.pth')…