andrewqian123
commited on
Commit
•
ad7a067
1
Parent(s):
0137385
Update image_processing_minicpmv.py
Browse files
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(
|
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 = preprocess2(image, do_pad, return_tensors)
|
365 |
batch.append(result)
|
366 |
return batch
|
367 |
def preprocess2(
|