Spaces:
Runtime error
Runtime error
Update mask_adapter/sam_maskadapter.py
Browse files
mask_adapter/sam_maskadapter.py
CHANGED
@@ -150,7 +150,7 @@ class SAMVisualizationDemo(object):
|
|
150 |
# text_features = self.clip_model.encode_text(text)
|
151 |
# text_features /= text_features.norm(dim=-1, keepdim=True)
|
152 |
|
153 |
-
features = self.extract_features_convnext(image)
|
154 |
|
155 |
clip_feature = features['clip_vis_dense']
|
156 |
|
|
|
150 |
# text_features = self.clip_model.encode_text(text)
|
151 |
# text_features /= text_features.norm(dim=-1, keepdim=True)
|
152 |
|
153 |
+
features = self.extract_features_convnext(image)
|
154 |
|
155 |
clip_feature = features['clip_vis_dense']
|
156 |
|