Open FelixCaae opened 6 years ago
@FelixCaae Hi~, I meet the same error, do you solve this?
@FelixCaae @YinRui1991
If you use Python3 then try to run
reval_voc_py3.py --year 2007 --classes data\voc.names --image_set test --voc_dir E:\VOC2007_2012\VOCtrainval_11-May-2012\VOCdevkit results
@AlexeyAB Thanks. I have found the reason. I generated annots.pkl with my dataset (Not PascalVOC) in annotations_cache long time ago. There is no error when I deleted annots.pkl of my dataset or replaced it with annots.pkl of PascalVOC.
@AlexeyAB I have tried it, it doesn't work.Some statements are written in python2 style which are not supported by python3, but I have bypassed this method with directly using ./darknet map xxx.
I have the following questions:
python3 reval_voc_py3.py --year 2007 --classes /home/autumn/darknet-master/build/darknet/x64/data/obj.names --image_set test --voc_dir /home/autumn/darknet-master/build/darknet/x64/data/VOCdevkit/ voc_out
Evaluating detections
VOC07 metric? Yes
devkit_path= /home/autumn/darknet-master/build/darknet/x64/data/VOCdevkit/ , year = 2007
Traceback (most recent call last):
File "reval_voc_py3.py", line 104, in
My obj.data classes= 4 train = /home/autumn/darknet-master/build/darknet/x64/data/train.txt valid = /home/autumn/darknet-master/build/darknet/x64/data/test.txt
names = /home/autumn/darknet-master/build/darknet/x64/data/obj.names backup = backup/
How to solve, thank you!
I'm doing mAP test on jetson tx2. And I use pjreddie
s fork. These are what I run.And I
m SURE I have difficult.txt 2007_.txt and 2012_*.txtThis is how it went wrong.
My voc.data
Part of my yolov2-voc.cfg
Anyone can help? Thank you very much!