mAP
mAP copied to clipboard
Error: File ground-truth/1.txt in the wrong format.
after running python main.py, i get this error.
#####################################
Error: File ground-truth/1.txt in the wrong format.
Expected: <class_name>
If you have a <class_name> with spaces between words you should remove them by running the script "remove_space.py" or "rename_class.py" in the "extra/" folder. ######################################################## I couldnot find out what is wrong with my ground truth files . iam attaching one of gt file here, can you check and reach out back here. 1.txt
Regards, V Manikanta Raju
Hello, so the problem is that you have an empty line in the end as you can see in the image. I will make my code robust to this so that it won't happen again!
Could you please tell me how to solve this problem? I have been looking for a long time without finding a solution.