mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
This commit is contained in:
parent
d188134b95
commit
9b2afaf02d
@ -110,7 +110,7 @@ class LayoutLMv3ImageProcessingTest(ImageProcessingTestMixin, unittest.TestCase)
|
||||
for image_processing_class in self.image_processor_list:
|
||||
image_processor = image_processing_class()
|
||||
|
||||
image = ds[0]["image"]
|
||||
image = ds[0]["image"].convert("RGB")
|
||||
|
||||
encoding = image_processor(image, return_tensors="pt")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user