czczup commited on
Commit
6561410
1 Parent(s): e822119

Update modeling_internvl_chat.py

Browse files
Files changed (1) hide show
  1. modeling_internvl_chat.py +1 -1
modeling_internvl_chat.py CHANGED
@@ -246,7 +246,7 @@ class InternVLChatModel(PreTrainedModel):
246
 
247
  queries = []
248
  image_bs = pixel_values.shape[0]
249
- print(f'dynamic ViT batch size: {image_bs}, image_counts: {image_counts}')
250
  for idx, image_count in enumerate(image_counts):
251
  image_token = IMG_START_TOKEN + IMG_CONTEXT_TOKEN * self.num_image_token * image_count + IMG_END_TOKEN
252
  question = image_token + '\n' + questions[idx]
 
246
 
247
  queries = []
248
  image_bs = pixel_values.shape[0]
249
+ # print(f'dynamic ViT batch size: {image_bs}, image_counts: {image_counts}')
250
  for idx, image_count in enumerate(image_counts):
251
  image_token = IMG_START_TOKEN + IMG_CONTEXT_TOKEN * self.num_image_token * image_count + IMG_END_TOKEN
252
  question = image_token + '\n' + questions[idx]