Update processing_minicpmv.py
Browse files- processing_minicpmv.py +1 -1
processing_minicpmv.py
CHANGED
@@ -167,7 +167,7 @@ class MiniCPMVProcessor(ProcessorMixin):
|
|
167 |
assert len(images) == len(texts)
|
168 |
batch = []
|
169 |
for ind in range(len(images)):
|
170 |
-
result = _convert_images_texts_to_inputs2(
|
171 |
batch.append(result)
|
172 |
return batch
|
173 |
|
|
|
167 |
assert len(images) == len(texts)
|
168 |
batch = []
|
169 |
for ind in range(len(images)):
|
170 |
+
result = self._convert_images_texts_to_inputs2(images[ind], texts[ind], do_pad, truncation, max_length, return_tensors)
|
171 |
batch.append(result)
|
172 |
return batch
|
173 |
|