Detectron.pytorch
Detectron.pytorch copied to clipboard
Adding support for Pascal Voc and custom data
Hi @roytseng-tw ,
Thanks for writing this amazing repo.
I have added (explicit) support for Pascal VOC 2007 and 2012 data set, along with a custom data set. I have also added a basic script to convert XML annotations to COCO json format. You can take a look at the current changes here.
Currently, I am benchmarking the results for VOC 2007 for various settings. I will add them to BENCHMARK.md once they are done.
If you think that these minor additions would add to this repo, I will be happy to open a pull request. If you think that there is something missing/wrong, I can add/fix them.
Thanks, Aditya
System information
- Operating system: Ubuntu 16.04 LTS
- CUDA version: 9
- cuDNN version: 7
- GPU models (for all devices if they are not all the same): 4x1080Ti
- python version: 3.6
- pytorch version: 0.4
Hi @adityaarun1, It's nice to have VOC dataset support. I'll go check it out.
@adityaarun1 Do you train res101-C4 or res101-FPN on voc07 trainval? I can only get Mean AP about 0.72 on voc 07 test.
@philokey I haven't tested it completely yet. With res101-C4 I was getting 0.751 mAP which looked reasonable. I have to run proper benchmarks though for various settings.
Can you provide details for the particular setting for which you got 0.72 mAP?
@adityaarun1 My settings are pasted in this link. By the way, can you public your setting with 0.751 mAP?
@adityaarun1 Thanks for your work. And i'm confused of that how should i prepare the VOC2007. just put it in the root path or i need to transfer it to the coco format
Hi @Hsintao, data for VOC needs to be in COCO's JSON format. Read more about preparing data here.
P.S.: To answer the previous question, the setting for which I got 0.751 mAP can be found here.
@philokey You need to increase numbers of GPUs so as to increase batch_size
Hi @Hsintao, data for VOC needs to be in COCO's JSON format. Read more about preparing data here.
P.S.: To answer the previous question, the setting for which I got 0.751 mAP can be found here.
Could you please tell us which step you pick as the final model?
@szrlee I used 60,000th iteration as my final model.