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

How to use Osprey-Chat to generate a short description for all masks of an image? #30

Open
tiesanguaixia opened this issue Apr 6, 2024 · 1 comment

Comments

@tiesanguaixia
Copy link

Thank you for the amazing work! I saw the Offline demo you introduced, but it seems that this process still requires manual clicking on specific masks to generate a specific description, rather than generating descriptions for all masks at once. I currently hope to use Osprey (of course, Osprey-Chat is better) to build a fully automated process that does not require human involvement, generating a brief description for each mask in a picture. Do you have any suggestions? Thanks a lot!

@LiWentomng
Copy link
Collaborator

@tiesanguaixia
If you have gt masks for all pictures, you can try to perform the inference process, like https://github.com/CircleRadon/Osprey/blob/main/osprey/eval/refcocog_eval.py
otherwise, you can first use SAM everything mode to extract all the masks.

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