My environment is 2080 ti GPU, i9 CPU, 64G Rom, NVIDIA-SMI 470.161.03, Driver Version: 470.161.03, CUDA Version: 11.4.
After starting CARLA 0.9.11, I run "python3 dqn_train.py dqn_example/dqn_config.yaml --name dqn" and get the issues as following:
(pid=raylet) Traceback (most recent call last):
(pid=raylet) File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/new_dashboard/agent.py", line 21, in <module>
(pid=raylet) import ray.new_dashboard.utils as dashboard_utils
(pid=raylet) File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/new_dashboard/utils.py", line 25, in <module>
(pid=raylet) from aiohttp.frozenlist import FrozenList
(pid=raylet) ModuleNotFoundError: No module named 'aiohttp.frozenlist'
....
2023-03-08 12:03:21,910 ERROR trial_runner.py:607 -- Trial DQN_CarlaEnv_126bd_00000: Error processing event.
Traceback (most recent call last):
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/tune/trial_runner.py", line 519, in _process_trial
result = self.trial_executor.fetch_result(trial)
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/tune/ray_trial_executor.py", line 497, in fetch_result
result = ray.get(trial_future[0], timeout=DEFAULT_GET_TIMEOUT)
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/worker.py", line 1379, in get
raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(IndexError): ray::CustomDQNTrainer.train() (pid=169367, ip=10.27.32.124)
File "python/ray/_raylet.pyx", line 422, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 456, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 459, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 463, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 415, in ray._raylet.execute_task.function_executor
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/rllib/agents/trainer_template.py", line 106, in __init__
Trainer.__init__(self, config, env, logger_creator)
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/rllib/agents/trainer.py", line 465, in __init__
super().__init__(config, logger_creator)
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/tune/trainable.py", line 96, in __init__
self.setup(copy.deepcopy(self.config))
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/rllib/agents/trainer.py", line 629, in setup
self._init(self.config, self.env_creator)
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/rllib/agents/trainer_template.py", line 133, in _init
self.workers = self._make_workers(
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/rllib/agents/trainer.py", line 700, in _make_workers
return WorkerSet(
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/rllib/evaluation/worker_set.py", line 79, in __init__
remote_spaces = ray.get(self.remote_workers(
ray.exceptions.RayTaskError(IndexError): ray::RolloutWorker.foreach_policy() (pid=169366, ip=10.27.32.124)
File "python/ray/_raylet.pyx", line 422, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 456, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 459, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 463, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 415, in ray._raylet.execute_task.function_executor
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/rllib/evaluation/rollout_worker.py", line 372, in __init__
self.env = _validate_env(env_creator(env_context))
File "/home/xdzhang/.local/lib/python3.8/site-packages/ray/rllib/agents/trainer.py", line 1193, in <lambda>
register_env(name, lambda config: env_object(config))
File "/home/xdzhang/rllib-integration/rllib_integration/carla_env.py", line 33, in __init__
self.reset()
File "/home/xdzhang/rllib-integration/rllib_integration/carla_env.py", line 37, in reset
self.hero = self.core.reset_hero(self.experiment.config["hero"])
File "/home/xdzhang/rllib-integration/rllib_integration/carla_core.py", line 202, in reset_hero
self.hero_blueprints = self.world.get_blueprint_library().find(hero_config['blueprint'])
IndexError: blueprint 'vehicle.lincoln.mkz_2017' not found
Result for DQN_CarlaEnv_126bd_00000:
{}
My environment is 2080 ti GPU, i9 CPU, 64G Rom, NVIDIA-SMI 470.161.03, Driver Version: 470.161.03, CUDA Version: 11.4.
After starting CARLA 0.9.11, I run "python3 dqn_train.py dqn_example/dqn_config.yaml --name dqn" and get the issues as following:
could you give me some help?
Thanks.