Skip to content

Commit 100f23b

Browse files
committed
add info for 5_Deep_Q_Network
1 parent 1f0aae9 commit 100f23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contents/5_Deep_Q_Network/RL_brain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def learn(self):
276276

277277
q_target[batch_index, eval_act_index] = reward + self.gamma * np.max(q_next, axis=1)
278278

279-
print 'np.max(q_next, axis=1): %s\n' % len(np.max(q_next, axis=1)), np.max(q_next, axis=1)
279+
print 'np.max(q_next, axis=1): %s\n' % len(np.max(q_next, axis=1)) , np.max(q_next, axis=1)
280280
print 'q_target[batch_index, eval_act_index]: %s\n' % len(q_target[batch_index, eval_act_index]), q_target[batch_index, eval_act_index]
281281

282282

0 commit comments

Comments
 (0)