Open prograguo opened 3 months ago
文字bug是: Fatal Python error: Segmentation fault
Thread 0x00007f86dc7ff640 (most recent call first): File "/home/jss/anaconda3/envs/lmdrive1/lib/python3.7/threading.py", line 300 in wait File "/home/jss/anaconda3/envs/lmdrive1/lib/python3.7/threading.py", line 552 in wait File "/home/jss/anaconda3/envs/lmdrive1/lib/python3.7/threading.py", line 1156 in run File "/home/jss/anaconda3/envs/lmdrive1/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/home/jss/anaconda3/envs/lmdrive1/lib/python3.7/threading.py", line 885 in _bootstrap
Current thread 0x00007f893e42e740 (most recent call first):
File "leaderboard/team_code/lmdriver_agent.py", line 84 in init
File "leaderboard/team_code/lmdriver_agent.py", line 186 in setup
File "/home/jss/Documents/LMDrive/leaderboard/leaderboard/autoagents/autonomous_agent.py", line 46 in init
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 280 in _load_and_run_scenario
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 426 in run
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 494 in main
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 507 in
Hi! Sorry for the late reply, I have been very busy recently. The error you're experiencing seems to originate from the GUI. You can try to comment on the code related to the GUI or change the version of the pygame. The GUI is not the necessary part for running the project.
This problem is caused by ~\LMDrive\leaderboard\team_code\lmdriver_agent.py
self._display = pygame.display.set_mode(
(self._width, self._height), pygame.HWSURFACE | pygame.DOUBLEBUF
)
You probably need to download
sudo apt-get install libsdl2-dev
Ubuntu上运行就会出现pygame的崩溃,和LMDrive没关系。我是先把这行代码注释掉,等能够全部运行了在出来pygame的问题。
@prograguo 你好我想问一下vision_decoder的权重是如何获取的,谢谢
This problem is caused by ~\LMDrive\leaderboard\team_code\lmdriver_agent.py
self._display = pygame.display.set_mode( (self._width, self._height), pygame.HWSURFACE | pygame.DOUBLEBUF )
You probably need to download
sudo apt-get install libsdl2-dev
Ubuntu上运行就会出现pygame的崩溃,和LMDrive没关系。我是先把这行代码注释掉,等能够全部运行了在出来pygame的问题。
hello,请问保持 self._display 不注释,这个 issue 有解决吗?
代码和显示图如下![Screenshot from 2024-03-04 14-59-20](https://github.com/opendilab/LMDrive/assets/53160799/982af4c2-5bb6-4207-bd8f-bad12b5bc2db)