Skip to content

Instantly share code, notes, and snippets.

@awjuliani
Last active November 13, 2016 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awjuliani/62774567a96339eefd5da7384f65a7ae to your computer and use it in GitHub Desktop.
Save awjuliani/62774567a96339eefd5da7384f65a7ae to your computer and use it in GitHub Desktop.
#Use this for action selection.
#Q_out referrs to activation from final layer of Q-Network.
Q_values = sess.run(Q_out, feed_dict={inputs:[state]})
action = np.argmax(Q_values)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment