mAP icon indicating copy to clipboard operation
mAP copied to clipboard

Wrong format error

Open 17sarf opened this issue 5 years ago • 3 comments

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.

17sarf avatar Oct 15 '19 13:10 17sarf

Sorry, that was my mistake. The issue was with the detection-results, where I forgot to add the scores. Problem solved.

17sarf avatar Oct 15 '19 16:10 17sarf

Hi @17sarf I have wrong format error which i put below screenshot.. can you help me? Help is appreciated thank er

ghost avatar Aug 26 '20 15:08 ghost

@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?

17sarf avatar Sep 02 '20 10:09 17sarf