young-how / DQN-based-UAV-3D_path_planer

RLGF is a general training framework suitable for UAV deep reinforcement learning tasks. And integrates multiple mainstream deep reinforcement learning algorithms(SAC, DQN, DDQN, PPO, Dueling DQN, DDPG).
MIT License
342 stars 39 forks source link

缺少训练的文件 #23

Open shangguanyiyu opened 1 month ago

shangguanyiyu commented 1 month ago

作者您好,缺少训练的文件呀,请问您可以补充一下嘛,感激不尽

young-how commented 1 month ago

运行simulator.py即可开始训练,若报错单步调试排查,可能是参数配置有问题

Hheehongci commented 2 weeks ago

(2, 'No such file or directory') ("'NoneType' object has no attribute 'name'",) [Errno 2] No such file or directory: 'logs/score_11_20_2024(00_50_00).csv' None Iteration 0: 0%| | 0/50 [00:00<?, ?it/s] Traceback (most recent call last): File "C:\Users\何必\PycharmProjects\DQN_test\DQN-based-UAV-3D_path_planer-main\simulator.py", line 254, in sim.StartAndTrain() File "C:\Users\何必\PycharmProjects\DQN_test\DQN-based-UAV-3D_path_planer-main\simulator.py", line 142, in StartAndTrain info=self.env.run_eposide(eps_rate) #计算机随机生成场景进行训练 AttributeError: 'NoneType' object has no attribute 'run_eposide'

作者大大,这是怎么回事啊

JQWCSU commented 6 days ago

作者大大,我也是这个问题,按照要求配置好对应版本的包后,还需要修改什么东西吗,直接运行simulator.py 也是254行和142行报错,和楼上一样,求解答求解答 感激不尽~