ShanHaoYu / Deep-Q-Network-Breakout

This is an implementation of Deep Q Learning (DQN) playing Breakout from OpenAI's gym with Keras.
31 stars 14 forks source link

dueling network failed. I have no idea what is wrong #1

Open CaesarXInsanium opened 5 years ago

CaesarXInsanium commented 5 years ago

(venv_deep-q-network-breakout) (base) w-mbas-9293:Deep-Q-Network-Breakout jesusramos$ python main.py --train_dqn --dueling True /Users/rams/AIs/venv_deep-q-network-breakout/lib/python3.5/site-packages/gym/logger.py:30: UserWarning: WARN: gym.spaces.Box autodetected dtype as <class 'numpy.uint8'>. Please provide explicit dtype. warnings.warn(colorize('%s: %s'%('WARN', msg % args), 'yellow')) Using TensorFlow backend. 2019-02-07 14:45:28.417123: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA Traceback (most recent call last): File "main.py", line 39, in run(args) File "main.py", line 28, in run agent = Agent_DQN(env, args) File "/Users/jesusramos/AIs/Deep-Q-Network-Breakout/agent_dir/agent_dqn.py", line 91, in init self.q_network = self.build_network() File "/Users/rams/AIs/Deep-Q-Network-Breakout/agent_dir/agent_dqn.py", line 170, in build_network output_shape = self.num_actions) TypeError: 'module' object is not callable