Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save_model.py 'ViTImageProcessor' object has no attribute 'framework' #4

Open
dykim723 opened this issue Jun 2, 2023 · 0 comments
Open

Comments

@dykim723
Copy link

dykim723 commented Jun 2, 2023

Traceback (most recent call last):
File "/Users/user/Workspace/pneumonia-detection-demo/Pneumonia-Detection-Demo/save_model.py", line 60, in
raise SystemExit(download_model())
File "/Users/user/Workspace/pneumonia-detection-demo/Pneumonia-Detection-Demo/save_model.py", line 54, in download_model
bentoml.transformers.save_model("vit-extractor-pneumonia", extractor),
File "/Users/user/opt/anaconda3/envs/test/lib/python3.10/site-packages/bentoml/_internal/frameworks/transformers.py", line 816, in save_model
"_framework": pretrained.framework,
AttributeError: 'ViTImageProcessor' object has no attribute 'framework'

can you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant