Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
#8
by
mirazu
- opened
Hi.
I'm going to use Segformer but I have the error message like below:
"Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration."
How can I fix it?
So the model should still work as this is a warning message and not an error. But to avoid the error message you should copy the new code snippet where I changed AutoImageProcessor to SegformerImageProcessor.
mattmdjaga
changed discussion status to
closed