andrewqian123 commited on
Commit
9b10e91
·
verified ·
1 Parent(s): 8cd6f4f

Update modeling_minicpmv.py

Browse files
Files changed (1) hide show
  1. modeling_minicpmv.py +1 -1
modeling_minicpmv.py CHANGED
@@ -300,7 +300,7 @@ class MiniCPMV(MiniCPMVPreTrainedModel):
300
  for pl in range(tensor.shape[1]):
301
  to_add.append(1)
302
  for pl in range(tensor.shape[1], max_x):
303
- print("here")
304
  tensor = torch.cat((tensor, vector_reshaped), dim=1)
305
  to_add.append(0)
306
  print(tensor.shape, "UPDATED_SHAPE")
 
300
  for pl in range(tensor.shape[1]):
301
  to_add.append(1)
302
  for pl in range(tensor.shape[1], max_x):
303
+ #print("here")
304
  tensor = torch.cat((tensor, vector_reshaped), dim=1)
305
  to_add.append(0)
306
  print(tensor.shape, "UPDATED_SHAPE")