balakrish181 commited on
Commit
34b3108
1 Parent(s): 4027be6

corrected error

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -47,7 +47,7 @@ def load_model():
47
  transforms.Grayscale(num_output_channels=1)
48
  ])
49
 
50
- model.load_state_dict(torch.load('demos/mnist_app/best_model.pth',map_location='cpu'))
51
 
52
  return model,transforming,model.classes
53
 
 
47
  transforms.Grayscale(num_output_channels=1)
48
  ])
49
 
50
+ model.load_state_dict(torch.load('best_model.pth',map_location='cpu'))
51
 
52
  return model,transforming,model.classes
53