-
Notifications
You must be signed in to change notification settings - Fork 85
Description
Thanks for your great code to implement SSD, here are my questions:
how can I evaluate the model on VOC test 2007 and calculate mAP?
I can't compute the mAP as
Line 147 in e9c1ee5
| compute_stats = False |
and in
Line 149 in e9c1ee5
| if args.data_source: |
even if I add the args.data_source in parser, it shows:
Traceback (most recent call last): File "infer.py", line 286, in <module> sys.exit(main()) File "infer.py", line 155, in main source.load_test_data(args.data_dir) File "/cephfs/group/teg-qboss-teg-qboss-ocr-shixi/jamiecai/workspace/detection/ssd-tensorflow-master_ljanyst/source_pascal_voc.py", line 196, in load_test_data annot = self.__build_annotation_list(root, 'test') File "/cephfs/group/teg-qboss-teg-qboss-ocr-shixi/jamiecai/workspace/detection/ssd-tensorflow-master_ljanyst/source_pascal_voc.py", line 81, in __build_annotation_list with open(root + '/ImageSets/Main/' + dataset_type + '.txt') as f: FileNotFoundError: [Errno 2] No such file or directory: 'pascal-voc/test/VOCdevkit/VOC2012/ImageSets/Main/test.txt'
would you please update infer.py?
Thank you very much :D