PJLab-ADG / LimSim

LimSim & LimSim++: Integrated traffic and autonomous driving simulators with (M)LLM support
https://pjlab-adg.github.io/LimSim/
GNU General Public License v3.0
344 stars 27 forks source link

ModuleNotFoundError: No module named 'carla' #27

Closed wang123yuan closed 2 weeks ago

wang123yuan commented 3 months ago

Traceback (most recent call last): File "ExampleVLMAgentCloseLoop.py", line 225, in <module> model.start() File "/home/v2t/LimSim/simModel/Model.py", line 177, in start from sumo_integration.run_synchronization import getSynchronization File "/home/v2t/LimSim/sumo_integration/run_synchronization.py", line 39, in <module> import carla # pylint: disable=import-error ModuleNotFoundError: No module named 'carla'

When I run ExampleVLMAgentCloseLoop.py,What can I do if I get the above error?

Fdarco commented 2 months ago

You should install carla package before you run this code.

wang123yuan commented 2 months ago

When I run ExampleVLMAgentCloseLoop.py and ExampleLLMAgentCloseLoop.py, the screen can be displayed normally, but the displayed screen is very stuttering, and it is not as smooth as in your video. Is this a PC performance issue or does the OpenAI account need to be upgraded, and is there anything I can do to make it a little smoother?

wang123yuan commented 2 months ago

You should install carla package before you run this code.您应该在运行此代码之前安装 carla 包。 The screen is displayed normally, but it is very stuck. ... 屏幕截图 2024-04-08 224618

Fdarco commented 2 months ago

LLM inference is slow and the program waits for LLM making an answer before running, so lagging is normal.

wang123yuan commented 2 months ago

LLM inference is slow and the program waits for LLM making an answer before running, so lagging is normal.

Ok, thanks for your reply. Does your demo video look smooth because it speeds up LLM inference?

Fdarco commented 2 months ago

Yes, it is a replay video, you can run the ExampleReplay.py to view the result.

github-actions[bot] commented 3 weeks ago

Stale issue message, no activity