awjuliani / DeepRL-Agents

A set of Deep Reinforcement Learning Agents implemented in Tensorflow.
MIT License
2.24k stars 826 forks source link

DQN python3 #33

Open ivan-v-kush opened 7 years ago

ivan-v-kush commented 7 years ago

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

IbrahimSobh commented 7 years ago

what was wrong?

ivan-v-kush commented 7 years ago

nothing, simply converted to Python3

josealb commented 6 years ago

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