unilm icon indicating copy to clipboard operation
unilm copied to clipboard

kosmos-2 :Can i get grounded images

Open hai-qi opened this issue 3 years ago • 2 comments

hello,I'm interested in the grounded image captioning feature of Kosmos-2. Can I get grounded images? For example, the grounded image captioning function you gave an example, which identifies 6 boxes, and I want to get these 6 images. Can I get this by modifying the code?

hai-qi avatar Jul 05 '23 04:07 hai-qi

https://github.com/microsoft/unilm/blob/master/kosmos-2/demo/gradio_app.py#L436

donglixp avatar Jul 05 '23 07:07 donglixp

Thank you so much. I have solved this problem.

hai-qi avatar Jul 05 '23 10:07 hai-qi