Closed enod closed 6 years ago
By using model.state_dict() i was able to get the weights.
To save model with it's weight - torch.save([model, criterion, optimizer, model.state_dict()], f)
To load model, criterion, optimizer, state_dic = torch.load(f)
. f refers to model file that you saved to.
Hi guys! Thanks for sharing this awesome project.
I would like to share my weights similar to - asd-lstm weights. Is there any way I can do that?