Commit 136174c9 authored by Yuxin Wu's avatar Yuxin Wu Committed by GitHub

bug fix in DQN.py

parent 6452b444
...@@ -172,7 +172,7 @@ def get_config(): ...@@ -172,7 +172,7 @@ def get_config():
) )
def update_target_param(): def update_target_param():
vars = tf.trainable_variables() vars = tf.global_variables()
ops = [] ops = []
G = tf.get_default_graph() G = tf.get_default_graph()
for v in vars: for v in vars:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment