[tune] missing torch.load in mnist_pytorch_trainable.py (#5103)

This commit is contained in:
Kim Jeong Ju
2019-07-06 16:14:41 +09:00
committed by Richard Liaw
parent c5253cc300
commit 4b56a5eb27
@@ -167,7 +167,7 @@ class TrainMNIST(Trainable):
return checkpoint_path
def _restore(self, checkpoint_path):
self.model.load_state_dict(checkpoint_path)
self.model.load_state_dict(torch.load(checkpoint_path))
if __name__ == "__main__":