ADobrovsky commited on
Commit
9b9738e
1 Parent(s): 5a7f02e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ STD = [0.229, 0.224, 0.225]
13
 
14
  from torchvision.models import resnext101_64x4d
15
  model = resnext101_64x4d()
16
- model.fc = nn.Linear(model.fc.in_features, 88)
17
 
18
  if (torch.cuda.is_available()):
19
  model.load_state_dict(torch.load(MODEL_NAME+'-model-1.pt'))
 
13
 
14
  from torchvision.models import resnext101_64x4d
15
  model = resnext101_64x4d()
16
+ model.fc = torch.nn.Linear(model.fc.in_features, 88)
17
 
18
  if (torch.cuda.is_available()):
19
  model.load_state_dict(torch.load(MODEL_NAME+'-model-1.pt'))