Object-Detection-Evaluation-Tool icon indicating copy to clipboard operation
Object-Detection-Evaluation-Tool copied to clipboard

the format of TXT format,

Open kkwong95 opened this issue 5 years ago • 5 comments

@wangzhe0623 can you provide more information about the format of ground truth txt file and prediction txt file. For ground truth txt file, I guess it is For prediction txt file, is it ?

kkwong95 avatar Apr 30 '19 14:04 kkwong95

@kkwong95 You can check 'sample' folder for reference

wangzhe0623 avatar Apr 30 '19 14:04 wangzhe0623

Yeah, I checked the 'sample' folder before I raise up this issue. I tried with your code with your sample txt file and It work. However, when I try to use mine, it has an error as below:

precision, recall, fppi, fppw, ap = self.computeAp(label) ValueError: not enough values to unpack (expected 5, got 3)

My txt file's class name different from yours. My classes are 'car', 'motorbike', 'bus' and 'truck'. Is it the reason, my txt file cant run in your code ?

kkwong95 avatar Apr 30 '19 14:04 kkwong95

@kkwong95 Classes' name must be integer, like "0, 1, 2, 3", and it should be counted from "1".

wangzhe0623 avatar May 08 '19 02:05 wangzhe0623

是xyxy格式还是xywh格式?

dreamhighchina avatar Oct 11 '19 07:10 dreamhighchina

@dreamhighchina xyxy,具体你看看代码吧。

wangzhe0623 avatar Oct 11 '19 07:10 wangzhe0623