DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to load pretrained model in pytorch
pytorch_model = MNISTClassifier() pytorch_model.load_state_dict(torch.load(path)) model.eval()
PREVIOUS
NEXT
Tagged:
#load
#pretrained
#model
#pytorch
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit