Skip to content

Commit

Permalink
Update tests/models/idefics3/test_processing_idefics3.py
Browse files Browse the repository at this point in the history
Co-authored-by: amyeroberts <[email protected]>
  • Loading branch information
andimarafioti and amyeroberts authored Sep 20, 2024
1 parent 275710d commit c14da26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/idefics3/test_processing_idefics3.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_image_processor(self, **kwargs):
def get_processor(self, **kwargs):
return AutoProcessor.from_pretrained(self.tmpdirname, **kwargs)

def get_splitted_image_expected_tokens(self, processor, image_rows, image_cols):
def get_split_image_expected_tokens(self, processor, image_rows, image_cols):
text_split_images = []
for n_h in range(image_rows):
for n_w in range(image_cols):
Expand Down

0 comments on commit c14da26

Please sign in to comment.