You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users//datalab/épellations/WhisperAPI/toremove6.py", line 4, in <module>
bentoml.transformers.save_model("whisper_feature_extractor", WhisperFeatureExtractor.from_pretrained("openai/whisper-tiny"))
File "/Users//datalab/épellations/WhisperAPI/venv/lib/python3.10/site-packages/bentoml/_internal/frameworks/transformers.py", line 1040, in save_model
signatures = make_default_signatures(pretrained_or_pipeline.__class__)
File "/Users//datalab/épellations/WhisperAPI/venv/lib/python3.10/site-packages/bentoml/_internal/frameworks/transformers.py", line 600, in make_default_signatures
pretrained_cls, transformers.image_processing_utils.BaseImageProcessor
File "/Users//datalab/épellations/WhisperAPI/venv/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1383, in __getattr__
raise AttributeError(f"module {self.__name__} has no attribute {name}")
AttributeError: module transformers has no attribute image_processing_utils
To reproduce
No response
Expected behavior
No response
Environment
transformers==4.40.1
bentoml==1.2.13
The text was updated successfully, but these errors were encountered:
Describe the bug
Raises this error:
To reproduce
No response
Expected behavior
No response
Environment
transformers==4.40.1
bentoml==1.2.13
The text was updated successfully, but these errors were encountered: