simoninithomas / Deep_reinforcement_learning_Course

Implementations from the free course Deep Reinforcement Learning with Tensorflow and PyTorch
http://www.simoninithomas.com/deep-rl-course
3.77k stars 1.22k forks source link

error in the last line #21

Closed MustafaAlahmid closed 5 years ago

MustafaAlahmid commented 5 years ago

print ("Score over time: " + str(sum(reward/total_test_episode))) TypeError: 'int' object is not iterable

btyu commented 5 years ago

it should be print ("Score over time: " + str(sum(reward)/total_test_episode)) you see, the bracket is wrong.