You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Traceback (most recent call last):
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/avi_scripts/generate_forecasting_scenario_visualizations.py", line 136, in <module>
run_generate_scenario_visualizations()
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/avi_scripts/generate_forecasting_scenario_visualizations.py", line 126, in run_generate_scenario_visualizations
generate_scenario_visualizations(
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/avi_scripts/generate_forecasting_scenario_visualizations.py", line 79, in generate_scenario_visualizations
Parallel(n_jobs=1)(
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/site-packages/joblib/parallel.py", line 1863, in __call__
return output if self.return_generator else list(output)
^^^^^^^^^^^^
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/site-packages/joblib/parallel.py", line 1792, in _get_sequential_output
res = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/avi_scripts/generate_forecasting_scenario_visualizations.py", line 72, in generate_scenario_visualization
visualize_scenario(scenario, static_map, viz_save_path)
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/site-packages/av2/datasets/motion_forecasting/viz/scenario_visualization.py", line 67, in visualize_scenario
cur_plot_bounds = _plot_actor_tracks(ax, scenario, timestep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/site-packages/av2/datasets/motion_forecasting/viz/scenario_visualization.py", line 172, in _plot_actor_tracks
_plot_actor_bounding_box(
File "/home/bluesk/Documents/mazen_thesis/mazen_thesis/mzth/lib/python3.11/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
Hi @SalamanderXing, thanks for raising the issue. We are going to go ahead and mark this as resolved now, since #235 has been merged (thanks for your PR in #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
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
The text was updated successfully, but these errors were encountered: