mAP
mAP copied to clipboard
Wrong format error
I am having issues with my generated ground-truth files. I keep getting the following error:
Error: ... /mAP/input/detection-results/image_0.txt in the wrong format.
Expected: <class_name> <confidence> <left> <top> <right> <bottom>
Received: person 216.3265 86.2424 222.644 105.2326
This is an example of my text files:
person 170.8 91.0 177.8 112.0
person 165.9 91.875 172.9 112.4375
Which I believe is the same format as your example input/ground-truth
files you have provided. I also changed the scripts/extra/class_list
to accommodate the classes that I am working with.
Any advice would be greatly appreciated.
Sorry, that was my mistake. The issue was with the detection-results
, where I forgot to add the scores
. Problem solved.
Hi @17sarf I have wrong format error which i put below screenshot.. can you help me? Help is appreciated thank
@lrscse sorry for the late reply. Did you manage to fix your issue? It looks likes you text file does not contain the data in the correct format. Have you opened your text file and confirmed that it does indeed have the format that is expected? I.e. class name, left, right, top, bottom?