gym_gazebo_kinetic
gym_gazebo_kinetic copied to clipboard
learning stop in the middle of training
Hi @zhaolongkzz, i got this following error
EP: 912 - [alpha: 0.2 - gamma: 0.8 - epsilon: 0.25] - Reward: 185 Time: 0:52:56
EP: 913 - [alpha: 0.2 - gamma: 0.8 - epsilon: 0.25] - Reward: 4312 Time: 0:53:42
Traceback (most recent call last):
File "circuit2_turtlebot_lidar_qlearn.py", line 49, in
do you know how to solve this error? this error always occurred around 1000 episde
The ending episode is earlier than the max steps, so the monitor function of the gym
gets wrong.
Best to use while True
and if done: break
instead of giving a range for loops.