Can you try loading the model using the pytorch function torch.load()? Here is an example:
model = MyAutoEncoderClass()
model.load_state_dict(torch.load('./model.pkl'))

More examples can also be found at https://pytorch.org/tutorials/beginner/saving_loading_models.html 47