bug fix
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def get_activations(model, image: list, model_name: str,
|
|
121 |
for i in range(len(model.features)):
|
122 |
temp_image = model.features[i](temp_image)
|
123 |
if i in activation_indices[model_name]:
|
124 |
-
layer_outputs[i] =
|
125 |
# print(i, layer_outputs[i].shape)
|
126 |
if i == max(activation_indices[model_name]):
|
127 |
break
|
|
|
121 |
for i in range(len(model.features)):
|
122 |
temp_image = model.features[i](temp_image)
|
123 |
if i in activation_indices[model_name]:
|
124 |
+
layer_outputs[i] = temp_image
|
125 |
# print(i, layer_outputs[i].shape)
|
126 |
if i == max(activation_indices[model_name]):
|
127 |
break
|