getting rid of some statements
Browse files
app.py
CHANGED
@@ -126,8 +126,8 @@ def get_activations(model, image: list, model_name: str,
|
|
126 |
if i == max(activation_indices[model_name]):
|
127 |
break
|
128 |
output = model(image).detach().cpu().numpy()
|
129 |
-
|
130 |
-
print(model(image), model.model(image))
|
131 |
|
132 |
image = image.detach().cpu().numpy()
|
133 |
output_1 = layer_outputs[activation_indices[model_name][0]].detach().cpu().numpy()
|
|
|
126 |
if i == max(activation_indices[model_name]):
|
127 |
break
|
128 |
output = model(image).detach().cpu().numpy()
|
129 |
+
print(output)
|
130 |
+
# print(model(image), model.model(image))
|
131 |
|
132 |
image = image.detach().cpu().numpy()
|
133 |
output_1 = layer_outputs[activation_indices[model_name][0]].detach().cpu().numpy()
|