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

voc_eval.py 211行出现keyerror: File "voc_eval.py", line 211, in voc_eval R = class_recs[image_ids[d]] KeyError: '000000117121' #140

Open
yangguoqing666 opened this issue Apr 4, 2020 · 3 comments

Comments

@yangguoqing666
Copy link

我用自己的数据集训练模型没问题,在执行eval_ssd.py也没报错,但是执行voc_eval.py出现keyerror问题。路径为main文件下的test.txt,但报错图片名称却在main文件下的其他txt文件中。删除了cache文件后重新执行评估,还是出现类似问题,但是是其他图片名称。数据已转化为tfrecord格式,路径all_images_file = 'ImageSets/Main/test.txt' 麻烦问一下有没有可能是做数据集时txt文件出错

@yangguoqing666
Copy link
Author

自制数据集类似VOC格式 模型可测试 不可评估

@MSTK2014
Copy link

我也是遇到这个错误,怎么解决的?

@maziyi234
Copy link

我也是遇到这个错误,怎么解决的?

老哥 这个问题 最后 怎么解决的

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

3 participants