waymo-research / waymo-open-dataset

Waymo Open Dataset
https://www.waymo.com/open
Other
2.69k stars 611 forks source link

Code for writing to tfrecord #198

Open ChaturvediShilpa opened 4 years ago

ChaturvediShilpa commented 4 years ago

Hi,

Can anyone point me how the tfrecord was written from raw pcd and images data? Is there any script or code available in Github codebase?

Thanks, Shilpa

peisun1115 commented 4 years ago

You can follow this. https://www.tensorflow.org/tutorials/load_data/tfrecord

ChaturvediShilpa commented 4 years ago

Thanks for the reply. I guess you are not populating the standard example protocol buffer of TensorFlow. Have you used your own proto files for serialization of tfrecord instead of default tfrecord proto such as Example and Sequence Example?

If so how can we decode tfrecord back?

peisun1115 commented 4 years ago

tf record has nothing to do with tf example or tf sequence example. What is written to tf record is just bytes. You can decode/encode your proto to those bytes.

ChaturvediShilpa commented 4 years ago

Thanks. Can you please point me to some tutorial on how to use your protocol buffer in Tensorflow ?

ChaturvediShilpa commented 4 years ago

Hi team,

I have extracted all the metadata from data and want to write back tfrecord with my compressed data. Can someone please point me how to write your proto buffer message into tfrecord ?