-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat(Detections): add support for Kosmos-2 #1903
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
base: develop
Are you sure you want to change the base?
Conversation
My intention is to include this PR in |
kosmos_result = ( | ||
'An image of a small statue of a cat, with a gramophone and a man walking past in the background.', | ||
[ | ||
('a small statue of a cat', (12, 35), [(0.265625, 0.015625, 0.703125, 0.984375)]), | ||
('a gramophone', (42, 54), [(0.234375, 0.015625, 0.703125, 0.515625)]), | ||
('a man', (59, 64), [(0.015625, 0.390625, 0.171875, 0.984375)]) | ||
] | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to take all this as input? most of that stuff is unnecessary for us
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to, but this is the data structure that KOSMOS-2's post processor returns. I personally think asking the users to enter a different data structure would introduce a layer of friction.
Description
Add visualization and annotation support for Kosmos-2.
Please delete options that are not relevant.
How has this change been tested, please provide a testcase or example of how you tested the change?
Colab Notebook
Docs