Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/models/pix2struct/test_image_processing_pix2struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def prepare_image_processor_dict(self):
return {"do_normalize": self.do_normalize, "do_convert_rgb": self.do_convert_rgb}

def prepare_dummy_image(self):
img_url = "https://www.ilankelman.org/stopsigns/australia.jpg"
img_url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/australia.jpg"
raw_image = Image.open(requests.get(img_url, stream=True).raw).convert("RGB")
return raw_image

Expand All @@ -87,7 +87,6 @@ def test_image_processor_properties(self):
self.assertTrue(hasattr(image_processor, "do_normalize"))
self.assertTrue(hasattr(image_processor, "do_convert_rgb"))

@unittest.skip("fix me Younes.")
def test_expected_patches(self):
dummy_image = self.image_processor_tester.prepare_dummy_image()

Expand Down