Spaces:
Sleeping
Sleeping
Update utils/model.py
Browse files- utils/model.py +1 -1
utils/model.py
CHANGED
@@ -418,7 +418,7 @@ class OwlViTForClassification(nn.Module):
|
|
418 |
|
419 |
else:
|
420 |
#DEUBUG:
|
421 |
-
print(f"text_inputs_parts: {text_inputs_parts}")
|
422 |
text_embeds_parts = self.owlvit.get_text_features(**text_inputs_parts)
|
423 |
|
424 |
# # Embed images and text queries
|
|
|
418 |
|
419 |
else:
|
420 |
#DEUBUG:
|
421 |
+
print(f"text_inputs_parts - input_ids: {text_inputs_parts['input_ids'].shape}. attention_mask : {text_inputs_parts['attention_mask'].shape}")
|
422 |
text_embeds_parts = self.owlvit.get_text_features(**text_inputs_parts)
|
423 |
|
424 |
# # Embed images and text queries
|