Hi there,
Say, I download a trained model (g.e. http://ml.cs.tsinghua.edu.cn/~chenxi/pytorch-models/mnist-b07bb66b.pth, it’ll download if you click).
It contains the state_dict of the model. The question is, how do I run the model without having access to its code definition as in here https://github.com/aaron-xichen/pytorch-playground/blob/master/mnist/model.py 1? Is it possible?
The generalized question might sound like “How to run a trained model if you have its state_dict only?”.
Thanks for help!