dhruv2842 commited on
Commit
73c8c5a
·
verified ·
1 Parent(s): dfd1fe1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def predict():
137
  input_tensor = transform(img).unsqueeze(0)
138
 
139
  # Grad-CAM setup
140
- target_layer_name = "features.norm5"
141
  gradcam = GradCAM(model, target_layer_name)
142
 
143
  # Forward pass
 
137
  input_tensor = transform(img).unsqueeze(0)
138
 
139
  # Grad-CAM setup
140
+ target_layer_name = "features.2.local_spatial_conv3"
141
  gradcam = GradCAM(model, target_layer_name)
142
 
143
  # Forward pass