kennethyu2017 / ddpg

reinforcement learning ddpg code. follow deepmind papers.
60 stars 26 forks source link

run eval_mode #3

Open xianghui0824 opened 6 years ago

xianghui0824 commented 6 years ago

hi, when I trying to run the gym_torcs_eval_low_dim.py, I got the problem as shown in the picture, do you know how to solve it?

ysssghtz commented 4 years ago

File "/home/leapone10/MyFiles/ddpg_vehicle/gym_torcs/gym_torcs.py", line 270, in agent_to_torcs torcs_action.update({'accel': u[1]}) IndexError: index 1 is out of bounds for axis 0 with size 1

I got this error in eval mode and I don't know how to solve it. Can you help me.Thank you .