chanfee commited on
Commit
1eaf9da
·
verified ·
1 Parent(s): 70e6e08

Update utils/model.py

Browse files
Files changed (1) hide show
  1. 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