opendilab / LMDrive

[CVPR 2024] LMDrive: Closed-Loop End-to-End Driving with Large Language Models
Apache License 2.0
526 stars 48 forks source link

CARLA 0.9.10.1 - broken link?! #30

Open rbrusnicki opened 3 months ago

rbrusnicki commented 3 months ago

During setup, we are instructed to "Download and setup CARLA 0.9.10.1", however, that doesn't work. Checking carla releases, I found this:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

NoSuchBucket The specified bucket does not exist carla-releases CMB3TJFPWA2B54Q4 UcYvb/qC9/dmT7512dEp/qgq3piqF+TZqYrjsRSyiEgv7UDlmSSvssjWL3CC7u89eg+QAGLM7xw=

I'll proceed installing carla 0.9.15, hoping that there is no big reason to use the older version instead. Is there? It would be nice if you could update the instruction, if not.

Thanks! Great work, btw.

rbrusnicki commented 3 months ago

Just found out that the links on setup_carla.sh are not updated. Correct ones:

wget https://carla-releases.s3.us-east-005.backblazeb2.com/Linux/CARLA_0.9.10.1.tar.gz wget https://carla-releases.s3.us-east-005.backblazeb2.com/Linux/AdditionalMaps_0.9.10.1.tar.gz

deepcs233 commented 3 months ago

Hi! Sorry for the late reply, I have been very busy recently. Thanks for your kind help and I will update the related links.

ghost commented 3 months ago

No worries. On the same note, the command "pip install carla" installs carla 0.9.15 instead of the 0.9.10.1. Maybe an update on how to install from the egg file would be better. Best regards.

deepcs233 commented 3 months ago

Hi, 0.9.10.1 is the version of the Carla simulator, and 0.9.15 is the Carla Python API version. They are not the same.

Best regards.

timbrist commented 3 months ago

Hi guys, how did you run the CARLA 0.9.10.1 with python=3.8?

Here is what I have tried. if python=3.8, and use carla-0.9.10-py3.7-win-amd64.egg ----ImportError: DLL load failed while importing libcarla: The specified module could not be found. if python=3.8, and use Client API version = 0.9.15, Simulator API version = 0.9.10.1 ----RuntimeError: rpc::rpc_error during call in function get_sensor_token if python=3.7, ----ImportError: cannot import name 'cached_property' from 'functools'. which means the python version is too old.

does anyone also face the same problem?

timbrist commented 3 months ago

Hi guys, how did you run the CARLA 0.9.10.1 with python=3.8?

Here is what I have tried.

if python=3.8, and use carla-0.9.10-py3.7-win-amd64.egg

----ImportError: DLL load failed while importing libcarla: The specified module could not be found.

if python=3.8, and use Client API version = 0.9.15, Simulator API version = 0.9.10.1

----RuntimeError: rpc::rpc_error during call in function get_sensor_token

if python=3.7,

----ImportError: cannot import name 'cached_property' from 'functools'. which means the python version is too old.

does anyone also face the same problem?

If you have such problems, it is likely that you are using windows with anaconda.

The problem seems to be CARLA0.9.10.1 which they didn't maintain the python code on windows with python 3.8 and carla-0.9.10-py3.7-win-amd64.egg.

The solution: to run the evaluation of LMDrive better to install linux.