CatoEr commited on
Commit
ba18439
1 Parent(s): f1da4c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ orientation_labels = {
59
 
60
  model_race = RaceClassifier(n_classes=4)
61
  model_race.to(device)
62
- model_race.load_state_dict(torch.load('best_model_race.pt', map_location=torch.device('cpu')))
63
 
64
  model_age = RaceClassifier(n_classes=3)
65
  model_age.to(device)
 
59
 
60
  model_race = RaceClassifier(n_classes=4)
61
  model_race.to(device)
62
+ model_race.load_state_dict(torch.load('best_model_race_last.pt', map_location=torch.device('cpu')))
63
 
64
  model_age = RaceClassifier(n_classes=3)
65
  model_age.to(device)