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

VG数据集格式 #70

Closed
HMY391 opened this issue May 12, 2024 · 1 comment
Closed

VG数据集格式 #70

HMY391 opened this issue May 12, 2024 · 1 comment

Comments

@HMY391
Copy link

HMY391 commented May 12, 2024

请问项目中提到的odvg格式,里面detection和grounding是在同一个文件下的吗?还是说可以准备多个数据集,一个放detection的OD格式,一个放grounding的VG格式,然后在datasets_mixed_odvg.json写上就行?因为目前只想做目标检测任务,所以第一次只准备了COCO转换成odvg格式的数据(就是里面没有grounding这个键),然后训练时候报错KeyError: 'grounding'找不到这个键。那这意思是数据集里面必须还要有grounding那部分吗?

@HMY391
Copy link
Author

HMY391 commented May 14, 2024

问题解决了!之前误以为一个类就不需要label_map了,后来看代码发现如果没有这个,他会认为你的数据是VG格式,所以才会出现KeyError: 'grounding'这个问题

@HMY391 HMY391 closed this as completed May 14, 2024
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

1 participant