noelsinghsr commited on
Commit
765f033
·
1 Parent(s): 3c94f3b

Update model.py

Browse files
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/cifar10/cifar10_effnet_sm_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('cifar10/cifar10_effnet_sm_uncompiled.pth', map_location=torch.device('cpu'))
8
  model_weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
9
  transforms = model_weights.transforms()
10