JunweiLiang / Multiverse

Dataset, code and model for the CVPR'20 paper "The Garden of Forking Paths: Towards Multi-Future Trajectory Prediction". And for the ECCV'20 SimAug paper.
https://next.cs.cmu.edu/multiverse/
Apache License 2.0
250 stars 61 forks source link

Can't start an observer client with a PTZ camera to play around #18

Closed isaryo closed 3 years ago

isaryo commented 3 years ago

I tried to it.

Then I received the following error message.

Traceback (most recent call last):
  File "code/spectator.py", line 21, in <module>
    from utils import anchor_cameras
  File "/home/use/Multiverse/forking_paths_dataset/code/utils.py", line 77, in <module>
    sun_azimuth_angle=20.0)
Boost.Python.ArgumentError: Python argument types in
    WeatherParameters.__init__(WeatherParameters)
did not match C++ signature:
    __init__(_object*, float cloudiness=0.0, float precipitation=0.0, float precipitation_deposits=0.0, float wind_intensity=0.0, float sun_azimuth_angle=0.0, float sun_altitude_angle=0.0, float fog_density=0.0, float fog_distance=0.0, float fog_falloff=0.0, float wetness=0.0)
    __init__(_object*)

Do you have any solutions?

JunweiLiang commented 3 years ago

This may be because you have installed a different carla python environment. Try uninstalling carla and run again. This line in spectator.py imports the carla 0.9.6 library from the *.egg file in the repo.