MCPcopy
hub / github.com/huggingface/peft / image_processor

Method image_processor

tests/test_vision_models.py:100–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98
99 @pytest.fixture(scope="class")
100 def image_processor(self):
101 image_processor = AutoImageProcessor.from_pretrained(self.model_id)
102 return image_processor
103
104 @pytest.fixture(scope="class")
105 def data(self, image_processor):

Callers

nothing calls this directly

Calls 1

from_pretrainedMethod · 0.45

Tested by

no test coverage detected