how to load pretrained model in pytorch in colab code example
Example: how to load pretrained model in pytorch
pytorch_model = MNISTClassifier()
pytorch_model.load_state_dict(torch.load(path))
model.eval()
pytorch_model = MNISTClassifier()
pytorch_model.load_state_dict(torch.load(path))
model.eval()