opendilab / PPOxFamily

PPO x Family DRL Tutorial Course(决策智能入门级公开课:8节课帮你盘清算法理论,理顺代码逻辑,玩转决策AI应用实践 )
https://opendilab.github.io/PPOxFamily/
Apache License 2.0
1.85k stars 168 forks source link

Chapter7 Application Demo #79

Open PaParaZz1 opened 1 year ago

PaParaZz1 commented 1 year ago

在本 issue 中,我们会更新所有和课程第七讲相关的应用 demo 素材及训练日志(持续更新中)

rokey0001 commented 9 months ago

您好,我在跑demo时老遇到这样的问题,不知道有没有小伙伴和我有一样的问题。 Traceback (most recent call last): File "", line 1, in File "E:\download\anaconda\envs\DILAB\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "E:\download\anaconda\envs\DILAB\lib\multiprocessing\spawn.py", line 126, in _main self = reduction.pickle.load(from_parent) File "E:\download\anaconda\envs\DILAB\lib\site-packages\ding\utils\compression_helper.py", line 24, in setstate self.data = cloudpickle.loads(data) TypeError: _generator_ctor() takes from 0 to 1 positional arguments but 2 were given

[10-20 22:34:24] WARNING subprocess reset set seed failed, ignore and continue... subprocess_env_manager.py:263 subprocess exception traceback: Traceback (most recent call last): File "E:\download\anaconda\envs\DILAB\lib\multiprocessing\connection.py", line 312, in _recv_bytes nread, err = ov.GetOverlappedResult(True) BrokenPipeError: [WinError 109] 管道已结束。

Traceback (most recent call last): File "E:\download\anaconda\envs\DILAB\lib\site-packages\ding\envs\env_manager\subprocess_env_manager.py", line 259, in reset ret = self._pipe_parents.recv() File "E:\download\anaconda\envs\DILAB\lib\multiprocessing\connection.py", line 250, in recv buf = self._recv_bytes() File "E:\download\anaconda\envs\DILAB\lib\multiprocessing\connection.py", line 321, in _recv_bytes raise EOFError EOFError

wandb: Waiting for W&B process to finish... (failed 1). Press Ctrl-C to abort syncing. [10-20 22:34:26] ERROR Env 2 reset has exceeded max retries(5) subprocess_env_manager.py:317 [10-20 22:34:26] ERROR Env 1 reset has exceeded max retries(5) subprocess_env_manager.py:317 [10-20 22:34:26] ERROR Env 3 reset has exceeded max retries(5) subprocess_env_manager.py:317 wandb: View run dutiful-pond-1 at: https://wandb.ai/anony-mouse-788424711663011732/bipedalwalker_demo/runs/uomu1uw0?apiKey=dc8282c6be97b578e2fa87aac8b882089ab2adaf wandb: Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s) wandb: Find logs at: .\wandb\run-20231020_223406-uomu1uw0\logs