dhruv2842 commited on
Commit
afbe250
·
verified ·
1 Parent(s): 5ba34be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ from densenet_withglam import get_model_with_attention
45
 
46
  # ✅ Instantiate the model
47
  model = get_model_with_attention('densenet169', num_classes=3) # Will have GLAM
48
- state_dict = torch.load('densenet169_seed40_best2.pt', map_location='cpu')
49
  model.load_state_dict(state_dict) # Load your trained weights
50
  model.eval()
51
 
 
45
 
46
  # ✅ Instantiate the model
47
  model = get_model_with_attention('densenet169', num_classes=3) # Will have GLAM
48
+ state_dict = torch.load('densenet169_seed40_best.pt', map_location='cpu')
49
  model.load_state_dict(state_dict) # Load your trained weights
50
  model.eval()
51