You might have a shot when you load your state dict. If you pickle your model it might not work.
If you have pickled your models before you might want to create a new environment with python 2.7 and PyTorch 0.4.0 save the state dicts there and load them in your Python 3 environment after.
https://pytorch.org/tutorials/beginner/saving_loading_models.html 108