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

Any examples of the format of the .txt or results generator? #3

Closed
ywangeq opened this issue Jan 17, 2018 · 15 comments
Closed

Any examples of the format of the .txt or results generator? #3

ywangeq opened this issue Jan 17, 2018 · 15 comments

Comments

@ywangeq
Copy link

ywangeq commented Jan 17, 2018

No description provided.

@cguindel
Copy link
Owner

I cannot help you if you do not provide further details about your problem. Anyway, the expected .txt format is obviously the one used by the KITTI dataset. You can find a detailed description as a part of the object development kit which is available for download from the KITTI website.

@ywangeq
Copy link
Author

ywangeq commented Jan 18, 2018

Now I detect the 3D bboxs with 8 points in xyz, and the format of kitti need 16 parameters in one row, even I transfer the points to h w l x y z r and score, the other parameters still doesn't know, or I just copy them from labels?

@cguindel
Copy link
Owner

If I remember correctly, the only required fields are type, bbox and score. If you don't have any of the other values, you can just fill them using the default values that you can find in the matlab/writeLabels.m script from the devkit (they are basically -1, -10 or -1000, depending on the particular field).

In case you only have the 3D coordinates, you will probably need to project the points to the image by using the projection matrices to obtain the bbox values. Information about this procedure can be found in the readme.txt from the devkit. The equation is:

x = P2 * R0_rect * Tr_velo_to_cam * y

with the P2, R0_rect and Tr_velo_to_cam matrices available from the calibration files.

@ywangeq
Copy link
Author

ywangeq commented Jan 20, 2018

Thanks. Now I have got all result as the text files which followed the kitti data format, however, I still can not run the code.
I create the results, list, folder in the build file, and create the second level folder 'data' under the result and put the results in the folder. But the code still cannot detect just show all zero results in the terminal and finished

@cguindel
Copy link
Owner

Thanks for the additional information. Let's try to identify the problem. First of all, about the zeros that you are getting in the terminal: are they under the GT STATS or DET STATS header?

@cguindel
Copy link
Owner

Closed due to inactivity

@jkstyle2
Copy link

jkstyle2 commented Apr 1, 2019

Hi, @ywangeq , @cguindel How can we get the field score in KITTI's format? Could you share the idea?

@ywangeq
Copy link
Author

ywangeq commented Apr 2, 2019 via email

@jkstyle2
Copy link

jkstyle2 commented Apr 2, 2019

@ywangeq Thanks for the reply, I followed all the elements in kitti's format, except the 16th element score. Could you tell me how to get the value score?

@ywangeq
Copy link
Author

ywangeq commented Apr 2, 2019 via email

@jkstyle2
Copy link

jkstyle2 commented Apr 2, 2019

Well, 2D Detection has a confidence score as you mentioned, but when I regress the 3D information such as H, W, L, x, y, z and yaw angle, I don't really have any confidence score of them.
Is this still fine to use the 2D detection score when I try 3D evaluation?

@ywangeq
Copy link
Author

ywangeq commented Apr 2, 2019 via email

@jkstyle2
Copy link

jkstyle2 commented Apr 2, 2019

Thanks for the quick reply!
So, what you mean is that the score should be still filled for "3D Box regression with any value", but it doesn't actually affect evaluating 3D metrics. Is that right?

Thank you very much, I'll keep trying and share the opinions.

@ywangeq
Copy link
Author

ywangeq commented Apr 2, 2019 via email

@K-Young96
Copy link

@ywangeq Hello, can you share how to get the coordinate data of validation and test results?That's the format of 16 parameters data.

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

4 participants