Closed kharitonov-ivan closed 1 year ago
The number of roadgraph samples has increased to 30000. We will update the tutorial shortly. As a workaround for now, you can change the 20000 values in the roadgraph field definitions to 30000.
Thank you for the quick answer. This information exists in updates of the dataset, I hadn't noticed it.
Now it works:
roadgraph_features = {
"roadgraph_samples/dir": tf.io.FixedLenFeature(
[30000, 3], tf.float32, default_value=None
),
"roadgraph_samples/id": tf.io.FixedLenFeature(
[30000, 1], tf.int64, default_value=None
),
"roadgraph_samples/type": tf.io.FixedLenFeature(
[30000, 1], tf.int64, default_value=None
),
"roadgraph_samples/valid": tf.io.FixedLenFeature(
[30000, 1], tf.int64, default_value=None
),
"roadgraph_samples/xyz": tf.io.FixedLenFeature(
[30000, 3], tf.float32, default_value=None
),
}
I believe the thread can be closed now. Thanks.
Hello!
I attempted to parse the tf_example scenario from
gcs://waymo_open_dataset_motion_v_1_2_0/uncompressed/tf_example
using the provided code. However, it only works for state features and traffic lights. When I tried to access roadmap_features, I encountered an error. I suspect the format for roadgraph_features has been updated. If that's the case, could you please provide an updated description?I use this feature description:
And get this error: