Update processing_step3.py
#13
by
jakubstrawa
- opened
- processing_step3.py +0 -2
processing_step3.py
CHANGED
|
@@ -400,7 +400,6 @@ class Step3VLProcessor(ProcessorMixin):
|
|
| 400 |
patch_pixel_values_lst = []
|
| 401 |
patch_newline_mask_lst = []
|
| 402 |
image_repl_str_lst = []
|
| 403 |
-
image_repl_ids_lst = []
|
| 404 |
num_patches = []
|
| 405 |
for raw_img, img_patches, patch_newline_mask in splitted_images_data: # noqa: E501
|
| 406 |
pixel_values_lst.extend(
|
|
@@ -415,7 +414,6 @@ class Step3VLProcessor(ProcessorMixin):
|
|
| 415 |
image_repl_str, image_repl_ids = self._get_image_repl_features(
|
| 416 |
1, len(img_patches), patch_newline_mask)
|
| 417 |
image_repl_str_lst.append(image_repl_str)
|
| 418 |
-
image_repl_ids_lst.extend(image_repl_ids)
|
| 419 |
|
| 420 |
if patch_newline_mask is not None:
|
| 421 |
patch_newline_mask_lst.extend(patch_newline_mask)
|
|
|
|
| 400 |
patch_pixel_values_lst = []
|
| 401 |
patch_newline_mask_lst = []
|
| 402 |
image_repl_str_lst = []
|
|
|
|
| 403 |
num_patches = []
|
| 404 |
for raw_img, img_patches, patch_newline_mask in splitted_images_data: # noqa: E501
|
| 405 |
pixel_values_lst.extend(
|
|
|
|
| 414 |
image_repl_str, image_repl_ids = self._get_image_repl_features(
|
| 415 |
1, len(img_patches), patch_newline_mask)
|
| 416 |
image_repl_str_lst.append(image_repl_str)
|
|
|
|
| 417 |
|
| 418 |
if patch_newline_mask is not None:
|
| 419 |
patch_newline_mask_lst.extend(patch_newline_mask)
|