From 8ddb807db287238f926b6a4d0a49aaacfb8c2964 Mon Sep 17 00:00:00 2001 From: gyunt Date: Fri, 22 Mar 2019 05:29:32 +0900 Subject: [PATCH] add initial_state variable to help test. --- baselines/ppo2/model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/baselines/ppo2/model.py b/baselines/ppo2/model.py index bbaa4d8..37b1d2d 100644 --- a/baselines/ppo2/model.py +++ b/baselines/ppo2/model.py @@ -32,6 +32,7 @@ class Model(object): microbatch_size=None): self.sess = sess = get_session() self.name = name + self.initial_state = None with tf.variable_scope(name, reuse=tf.AUTO_REUSE): with tf.name_scope('act_model'):