lingvo.tasks.car.waymo.export_to_submission_format module

Read Waymo Decoder’s outputs and convert to submission format.

Example:

python export_to_submission_format.py

–decoder_path=/tmp/decoder_out_000060600 –output_dir=/tmp/test_decoder_output

preds.bin and gts.bin will be found in /tmp/test_decoder_output/ dir.

lingvo.tasks.car.waymo.export_to_submission_format.convert_detections(table_path)[source]

Convert detections in table_path to metric format.

Parameters

table_path – Path to TFRecord file of decoder outputs.

Returns

metric_pb2.Objects() of predictions and groundtruths.

Return type

(preds, gts)

lingvo.tasks.car.waymo.export_to_submission_format.main(argv)[source]