-
Notifications
You must be signed in to change notification settings - Fork 625
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
How to get detection boxes from detection_3d_vehicle_detection_train.bin? #142
Comments
It is the same format as our submission proto. You can read it with: f = open("you_file_path") |
I quickly followed the snippet. It said waymo_open_dataset doesn't have Submission attribute. Do I have to use create_prediction_file_example.py ??? If not, can you please explain bit more? |
it is waymo_open_dataset.protos.Submission. |
I get the 959522292 output. However, if I print inference_results I get empty list. I didn't understand what the pretrained object detection binary file exactly does. Do I have to import each frame(dataset = tf.data.TFRecordDataset(FILENAME, compression_type='') Or do you think it's the problem of compile?? |
@droneRL2020 I am sorry. It is actually of proto waymo_open_dataset.protos.Objects. I've just tried it on my own and it worked. |
@peisun1115 I am also trying to get the detections, and I ran the code you wrote above but in every case, it tells me: |
Here is a code snippet to read boxes and other attributes
|
to solve my problem, I saw issue #35 then I ran the following commands: then I tried the code provided by @bilalsattar and it worked. |
@bilalsattar What's your meaning for rotation_y? |
Actually it is rotation along z-axis not along the y-axis (I have changed it). This is the heading direction of the vehicle or how much the bounding box is rotated along z. |
@peisun1115 can we call it yaw of the box? |
yes, it is yaw. |
Hi, I'm doing 3D tracking and I wanted to get prediction_boxes form this file
detection_3d_vehicle_detection_train.bin
How can I get position and orientation, size of the boxes from the file?
The text was updated successfully, but these errors were encountered: