waymo-open-dataset icon indicating copy to clipboard operation
waymo-open-dataset copied to clipboard

Convert Self Dataset To Waymo Format

Open FanZhang91 opened this issue 1 year ago • 1 comments

If we follow Waymo's sensors installation plan to obtain our own perception data. How to save the data to waymo tf_record format? Is there any guidance to do this work?

FanZhang91 avatar Dec 26 '23 09:12 FanZhang91

I'm not sure I fully understand the question, but I think the general process would be to use a tf.io.TFRecordWriter object. You can open a file for writing with this object and then create your Frame protocol buffer objects for each frame in the sequence. For each frame you can use the SerializeToString() method of the Frame object to convert it to a binary string and then write that to the file using the tf.ioTFRecordWriter.write() method.

scott-ettinger avatar Dec 27 '23 21:12 scott-ettinger