Created
June 24, 2018 09:13
-
-
Save simoninithomas/44b86b7a2a8f3696bacf1d4110830a23 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Get Q values for next_state | |
| Qs_next_state = sess.run(TargetNetwork.output, feed_dict = {TargetNetwork.inputs_: next_states_mb}) | |
| ... | |
| if tau > max_tau: | |
| # Update the parameters of our TargetNetwork with DQN_weights | |
| update_target = update_target_graph() | |
| sess.run(update_target) | |
| tau = 0 | |
| print("Model updated") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment