DeepRL-Agents icon indicating copy to clipboard operation
DeepRL-Agents copied to clipboard

DQN python3

Open ivan-v-kush opened this issue 8 years ago • 3 comments
trafficstars

see dqn.zip below

  1. corrected code from Deep-Recurrent-Q-Network.ipynb

zip now is a class, so need to convert to list: episodeBuffer = list(zip(bufferArray))

  1. corrected helper.py

dqn.zip

ivan-v-kush avatar Apr 23 '17 11:04 ivan-v-kush

what was wrong?

IbrahimSobh avatar Apr 25 '17 20:04 IbrahimSobh

nothing, simply converted to Python3

ivan-v-kush avatar Apr 26 '17 20:04 ivan-v-kush

I'm getting this error on Python 3

AttributeError: 'zip' object has no attribute 'append'

I changed to your helper.py but it still shows up. Do you know how to solve it?

EDIT: Nevermind, I hadn't re-imported the file

josealb avatar Nov 01 '17 11:11 josealb