andrewqian123 commited on
Commit
47e1dc1
1 Parent(s): 9c98fae

Update image_processing_minicpmv.py

Browse files
Files changed (1) hide show
  1. image_processing_minicpmv.py +1 -1
image_processing_minicpmv.py CHANGED
@@ -361,7 +361,7 @@ class MiniCPMVImageProcessor(BaseImageProcessor):
361
  def preprocess(self, images, do_pad, return_tensors):
362
  batch = []
363
  for image in images:
364
- result = preprocess2(image, do_pad, return_tensors)
365
  batch.append(result)
366
  return batch
367
  def preprocess2(
 
361
  def preprocess(self, images, do_pad, return_tensors):
362
  batch = []
363
  for image in images:
364
+ result = self.preprocess2(image, do_pad, return_tensors)
365
  batch.append(result)
366
  return batch
367
  def preprocess2(