Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the format of TXT format, #1

Open
kkwong95 opened this issue Apr 30, 2019 · 5 comments
Open

the format of TXT format, #1

kkwong95 opened this issue Apr 30, 2019 · 5 comments

Comments

@kkwong95
Copy link

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

@wangzhe0623
Copy link
Owner

@kkwong95 You can check 'sample' folder for reference

@kkwong95
Copy link
Author

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 ?

@wangzhe0623
Copy link
Owner

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

@dreamhighchina
Copy link

是xyxy格式还是xywh格式?

@wangzhe0623
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants