-
-
Save awjuliani/25fcbab01a8ed98792af51db2c445f72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add to network | |
keep_per = tf.placeholder(shape=None,dtype=tf.float32) | |
hidden = slim.dropout(hidden,keep_per) | |
keep = 0.5 | |
Q_values = sess.run(Q_out,feed_dict={inputs:[state],keep_per:keep}) | |
action = #Insert your favorite action-selection strategy with the sampled Q-values. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment