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

I would like to ask how to do a visual grounding (REC) task directly using GPTY4v? #41

Open
xiang-xiang-zhu opened this issue Jun 5, 2024 · 1 comment

Comments

@xiang-xiang-zhu
Copy link

Thank you for your work!
Now I would like to directly to GPT4v input the image and a prompt like “This is an image, now I need to do the visual grounding task where you generate the coordinates [x,y,h,w] of a bounding box based on a query.”
But I found that this doesn't output very well, the model is even outputting the coordinates randomly. Should I have to preprocess the image first? How should this go about? Thank you!

@abrichr
Copy link
Contributor

abrichr commented Jun 5, 2024

Current frontier multimodal models (e.g. GPT4) do not appear to be good at segmenting images.

At https://github.com/OpenAdaptAI/OpenAdapt we use Ultralytics FastSAM to run segmentation first with good results. See e.g. OpenAdaptAI/OpenAdapt#610 (scroll down to see images).

edit: https://x.com/openadaptai/status/1798502003045548480

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