Spaces:
Running
on
Zero
Running
on
Zero
Remove gpu for vis
Browse files
app.py
CHANGED
@@ -93,7 +93,6 @@ def generate_activations(image):
|
|
93 |
torch.cuda.empty_cache()
|
94 |
return topk_indices
|
95 |
|
96 |
-
@spaces.GPU
|
97 |
def visualize_activations(image, feature_num):
|
98 |
global cached_tensor
|
99 |
base_img_tokens = 576
|
|
|
93 |
torch.cuda.empty_cache()
|
94 |
return topk_indices
|
95 |
|
|
|
96 |
def visualize_activations(image, feature_num):
|
97 |
global cached_tensor
|
98 |
base_img_tokens = 576
|