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

purpose of "id" element in coco train data? #44

Open
stevebottos opened this issue Jun 25, 2022 · 1 comment
Open

purpose of "id" element in coco train data? #44

stevebottos opened this issue Jun 25, 2022 · 1 comment

Comments

@stevebottos
Copy link

Hey, real quick question - I'm putting together a custom dataset of captions in the coco format, and it's pretty obvious how the "image_id" and "caption" values are put to use, but the "id" field isn't too clear. Is it necessary?

@lonleyodd
Copy link

i think it's not necessary, i make own dataset like this:
temp_dict={} temp_dict["image_id"]=k temp_dict["caption"]=v[cap] temp_dict['clip_embedding']=idx
it can also train

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