-
Notifications
You must be signed in to change notification settings - Fork 63
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
Model name in demo #199
Comments
Hi, @chandrabhuma, |
from vlmeval.config import supported_VLM
|
Thank you for the prompt response |
I have uses the same line as given in demo |
Hi, @chandrabhuma , |
Now they are working..I am checking all the models. Thanks for the update and correcting me.. |
I have used the demo given
Demo
from vlmeval.config import supported_VLM
model = supported_VLM'idefics_9b_instruct'
Forward Single Image
ret = model.generate(['assets/apple.jpg', 'What is in this image?'])
print(ret) # The image features a red apple with a leaf on it.
Forward Multiple Images
ret = model.generate(['assets/apple.jpg', 'assets/apple.jpg', 'How many apples are there in the provided images? '])
print(ret) # There are two apples in the provided images.
It is working fine. But when I change the model other than idefics it is giving key error. Could u please clarify?
The text was updated successfully, but these errors were encountered: