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

Inquire if image captioning tasks are supported #15

Open
shams2023 opened this issue Dec 1, 2023 · 4 comments
Open

Inquire if image captioning tasks are supported #15

shams2023 opened this issue Dec 1, 2023 · 4 comments

Comments

@shams2023
Copy link

Excuse me, author!
May I ask if this supports image captioning tasks, especially for generating text descriptions of fine-grained images?
Thank you! Looking forward to your reply!

@gordonhu608
Copy link
Collaborator

Thank you for your interest in our work. We support generating text descriptions. For this task, you can prompt BLIVA to describe the image in detail.

@shams2023
Copy link
Author

Thank you for your interest in our work. We support generating text descriptions. For this task, you can prompt BLIVA to describe the image in detail.

Thank you very much for your reply. How can I use your code to implement image captions? May I ask if you can be more specific?
Thank you!

@gordonhu608
Copy link
Collaborator

Specifically, first setup BLIVA according to the readme. Then run the evaluate.py using the option --answer_qs
--model_name bliva_vicuna \ --img_path specify your image here
--question "Describe the image in detail."

@shams2023
Copy link
Author

具体来说,首先根据自述文件设置 BLIVA。然后使用选项 --answer_qs --model_name bliva_vicuna \ --img_path在此处指定图像来运行 evaluate.py --question “详细描述图像”。

Thank you very much!

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

2 participants