LeyRio / MIG_Bench

The MIG benchmark of CVPR2024 MIGC
Other
7 stars 1 forks source link

How to formulate the generation image name? #2

Open Hammour-steak opened 2 weeks ago

Hammour-steak commented 2 weeks ago

I try to formulate as "0_cocoid.png", but got some errors.

LeyRio commented 2 weeks ago

Thank you for your interest in our project. When using the evaluation script, please follow this naming format for the images: {any_imagename}{cocoid}.png. Just make sure the image name ends with {coco_id}.png. For example: xxxxx_0.png.

Hammour-steak commented 2 weeks ago

For example, the first sample item from my generated mig_bench.json is : "0": {"caption": "a photo of a black cat and a white cat ", "segment": [{"bbox": [0.127859375, 0.466743648960739, 0.691125, 0.7394688221709007], "label": "a black cat"}, {"bbox": [0.542578125, 0.5063741339491916, 0.8065468750000001, 0.7475750577367205], "label": "a white cat"}], "image_id": "500084"}. So, what's the correct name? xxxxx_0.png or xxxxx_500084.png. Thank you!

LeyRio commented 2 weeks ago

xxxx_0.png is the correct name, because in the evaluation code, we use cocoid as the key of the dictionary to retrieve the real annotatioi.

---- Replied Message ---- | From | Hammour @.> | | Date | 09/06/2024 11:11 | | To | @.> | | Cc | You @.>@.> | | Subject | Re: [LeyRio/MIG_Bench] How to formulate the generation image name? (Issue #2) |

For example, the first sample item from my generated mig_bench.json is : "0": {"caption": "a photo of a black cat and a white cat ", "segment": [{"bbox": [0.127859375, 0.466743648960739, 0.691125, 0.7394688221709007], "label": "a black cat"}, {"bbox": [0.542578125, 0.5063741339491916, 0.8065468750000001, 0.7475750577367205], "label": "a white cat"}], "image_id": "500084"}. So, what's the correct name? xxxxx_0.png or xxxxx_500084.png. Thank you!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Hammour-steak commented 2 weeks ago

is Thank you for your reply and I have adjusted the naming convention. However, I am still encountering some issues.

LeyRio commented 2 weeks ago

labels aren't actually useful, so you can just comment out the whole sentence