awd-lstm-lm icon indicating copy to clipboard operation
awd-lstm-lm copied to clipboard

Unable to load model from different directory

Open aleSuglia opened this issue 6 years ago • 1 comments

Hi there,

I'm trying to load a trained language model from another project. Unfortunately, I'm not able to load it because it requires the definition of the model module. As far as I know, this is a known problem for PyTorch model saved using torch.save (as discussed here: https://github.com/pytorch/pytorch/issues/3678). How do you deal with this problem?

Thank you in advance!

Alessandro

aleSuglia avatar May 09 '18 09:05 aleSuglia

Hey, have you found a solution, because this is currently my problem

ChristineBasta avatar Oct 25 '18 15:10 ChristineBasta