Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Dose this system can support pascal voc format in faster rcnn? #6

Closed
JohnnyGambler opened this issue Jan 23, 2018 · 8 comments
Closed

Comments

@JohnnyGambler
Copy link

I have try pascal voc data in lib/datasets/data/ , it can't work

@JohnnyGambler JohnnyGambler changed the title Dose this system can support and pascal voc format in faster rcnn? Dose this system can support pascal voc format in faster rcnn? Jan 23, 2018
@zhangxiaoqiang7
Copy link

@JohnnyGambler Maybe you can convert the pascal voc format to the COCO API json format according to FAQ.md. I have tried doing it with cocoapi and it works.

@rbgirshick
Copy link
Contributor

@JohnnyGambler: please use the PASCAL VOC annotations that have been converted to the COCO API json format. They are available for download https://storage.googleapis.com/coco-dataset/external/PASCAL_VOC.zip via http://cocodataset.org/#external. We'll update the dataset installation instructions with this information.

@ir413
Copy link
Contributor

ir413 commented Jan 23, 2018

Hi @JohnnyGambler, Detectron supports the PASCAL VOC dataset. However, as @zhangxiaoqiang7 suggests, we expect PASCAL VOC annotations in COCO json format (which are available at http://cocodataset.org/#external). We will update the data/README.md, to clarify the expected lib/datasets/data directory structure and content for PASCAL VOC. Thanks @zhangxiaoqiang7 for helping out!

@ir413
Copy link
Contributor

ir413 commented Jan 24, 2018

Please see 286b9f4 for the updated dataset installation instructions.

@ir413 ir413 closed this as completed Jan 24, 2018
@truetqy
Copy link

truetqy commented Jan 26, 2018

You can use cocoapi/MatlabAPI(https://github.com/cocodataset/cocoapi/), CocoUtils.convertPascalGt( dataDir, year, split, annFile ) to convert any Pascal VOC annotations to COCO json format.

@panovr
Copy link

panovr commented Jan 28, 2018

@jwnsu May you share the conversion script?
Thanks!

@zhangtao22
Copy link

@zhangxiaoqiang7 我的cocountils不工作啊,你的PASreadrecord用的哪个,我在github上找的一个人的VOCxml2struct解析有问题,能把你工作的代码给我一份嘛?我邮箱5927484@qq.com,谢谢

@hezhu1996
Copy link

@JohnnyGambler: please use the PASCAL VOC annotations that have been converted to the COCO API json format. They are available for download https://storage.googleapis.com/coco-dataset/external/PASCAL_VOC.zip via http://cocodataset.org/#external. We'll update the dataset installation instructions with this information.

Hi, the link to have pascal voc dataset in COCO format is not available right now, is there any alternative website we can use? (Access denied)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants