waymo-open-dataset
waymo-open-dataset copied to clipboard
Error in waymo package when ploting clouds with maps
In waymo motion dataset v1.2:
I first install waymo_open_dataset package in tutorial.ipynb:
I try to plot point clouds with maps and follow the instruction in tutorial_maps.ipynb and I got the error message:
Traceback (most recent call last):
File "test.py", line 7, in <module>
from waymo_open_dataset.utils import plot_maps
File "/opt/conda/envs/waymo/lib/python3.8/site-packages/waymo_open_dataset/utils/plot_maps.py", line 52, in <module>
class MapPoints:
File "/opt/conda/envs/waymo/lib/python3.8/site-packages/waymo_open_dataset/utils/plot_maps.py", line 55, in MapPoints
x: list[float] = dataclasses.field(default_factory=list)
TypeError: 'type' object is not subscriptable
The error message is from waymo package. Is there any bugs in waymo-open-dataset-tf-2-11-0==1.5.1?
Hi. Thanks for bringing this up, are you running this in colab?
I just tested the code and it works correctly from this link in colab.
I had the same error. You need to use a Python version >3.8