Open SalamanderXing opened 10 months ago
Hi @SalamanderXing, thanks for raising the issue. We are going to go ahead and mark this as resolved now, since https://github.com/argoverse/av2-api/pull/235 has been merged (thanks for your PR in https://github.com/argoverse/av2-api/pull/238), due to the now required angle
positional argument in the matplotlib call.
Hi, it seems that this issue still exists when I install av2 through conda directly.
My python version is 3.10.13, when I run the script generate_forecasting_scenario_visualizations.py
, the terminal will feedback the following message:
File "/home/demo/anaconda3/envs/DenseTNT/lib/python3.10/site-packages/av2/datasets/motion_forecasting/viz/scenario_visualization.py", line 246, in _plot_actor_bounding_box
vehicle_bounding_box = Rectangle(
TypeError: Rectangle.__init__() takes 4 positional arguments but 5 were given
I also come up with this issue, it can be solved by adding ''angle='' in function
vehicle_bounding_box = Rectangle(
(pivot_x, pivot_y), bbox_length, bbox_width, angle=np.degrees(heading), color=color, zorder=_BOUNDING_BOX_ZORDER
)
located in
.../python3.9/site-packages/av2/datasets/motion_forecasting/viz/scenario_visualization.py
Hi, I downloaded the dataset and tried to run the script
generate_forecasting_scenario_visualizations.py
This is how I'm running the script from the terminal:This is the issue I got:
This is the output of
pip freeze
:My python version is 3.11.6 and I'm running on x86_64 Linux 6.6.3-arch1-1