waymo-open-dataset
waymo-open-dataset copied to clipboard
unable to run motion tutorial for any .tf record file of motion dataset
Hello
I checked the availability of features in my .tf file. all features were available. However, this part of the code from the motion tutorial does not run and has the following error:
Create Dataset.
dataset = tf.data.TFRecordDataset(FILENAME, compression_type='') data = next(dataset.as_numpy_iterator()) parsed = tf.io.parse_single_example(data, features_description)
Error.
InvalidArgumentError Traceback (most recent call last)
3 frames /usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/ops.py in raise_from_not_ok_status(e, name) 7213 def raise_from_not_ok_status(e, name): 7214 e.message += (" name: " + name if name is not None else "") -> 7215 raise core._status_to_exception(e) from None # pylint: disable=protected-access 7216 7217
InvalidArgumentError: {{function_node _wrapped__IteratorGetNext_output_types_20_device/job:localhost/replica:0/task:0/device:CPU:0}} Feature: roadgraph_samples/dir (data type: string) is required but could not be found. [[{{node ParseSingleExample/ParseExample/ParseExampleV2}}]] [Op:IteratorGetNext]
roadgraph_samples/dir was among the available features of .tf file and also I tried .tf files from all the versions of motion dataset.
You can check #343