opendilab / DI-drive

Decision Intelligence Platform for Autonomous Driving simulation.
https://opendilab.github.io/DI-drive/
Apache License 2.0
558 stars 60 forks source link

hi, i have another error, run simple_rl_train.py #30

Open hankerbit opened 6 months ago

hankerbit commented 6 months ago

before i run it, i config
collector_env_num=2, evaluator_env_num=1, dict(carla_host='localhost', carla_ports=[9000, 9006, 2]), and start three carla servers with port-num 9000 9002 9004

then I get following error:

assert self._closed, "please first close the env manager"

how can i fix it? thx

zqiilmc commented 6 months ago

before i run it, i config collector_env_num=2, evaluator_env_num=1, dict(carla_host='localhost', carla_ports=[9000, 9006, 2]), and start three carla servers with port-num 9000 9002 9004

then I get following error:

assert self._closed, "please first close the env manager"

how can i fix it? thx

Have you solved the problem?

leishi23 commented 3 months ago

same problem "please first close the env manager"

collector_env_num=1,
evaluator_env_num=1,
dict(carla_host='localhost', carla_ports=[9000, 90010, 4]),

and start carla servers with port-num 9000 9004

PaParaZz1 commented 1 day ago

You can try to move older version of DI-engine, like 0.4.0