noelsinghsr commited on
Commit
5a754f4
1 Parent(s): d962a77

Update model.py

Browse files

updated directory path of model file

Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -4,7 +4,7 @@ from torch import nn
4
 
5
  def load_model():
6
 
7
- loaded_model = torch.load('demo/airplanes/airplane_uncompiled.pth', map_location=torch.device('cpu'))
8
  model_weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
9
  transforms = model_weights.transforms()
10
 
 
4
 
5
  def load_model():
6
 
7
+ loaded_model = torch.load('airplane_uncompiled.pth', map_location=torch.device('cpu'))
8
  model_weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
9
  transforms = model_weights.transforms()
10