Jfink09 commited on
Commit
57c595d
1 Parent(s): 27db228

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ class_names = ['CRVO',
26
  resnet50, resnet50_transforms = create_resnet50_model(
27
  num_classes=len(class_names), # actual value would also work
28
  )
29
- model.fc = nn.Linear(2048, 10)
30
 
31
  # Load saved weights
32
  resnet50.load_state_dict(
 
26
  resnet50, resnet50_transforms = create_resnet50_model(
27
  num_classes=len(class_names), # actual value would also work
28
  )
29
+ resnet50.fc = nn.Linear(2048, 10)
30
 
31
  # Load saved weights
32
  resnet50.load_state_dict(