1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

bug-fix for clipped_ppo not logging several signals + small cleanup

This commit is contained in:
Gal Leibovich
2018-10-02 14:22:37 +03:00
parent 73cc6e39d0
commit 72ea933384
2 changed files with 6 additions and 4 deletions

View File

@@ -61,8 +61,6 @@ class Head(object):
self.regularizations = []
self.loss_weight = tf.Variable([float(w) for w in force_list(loss_weight)],
trainable=False, collections=[tf.GraphKeys.LOCAL_VARIABLES])
self.loss_weight_placeholder = tf.placeholder("float")
self.set_loss_weight = tf.assign(self.loss_weight, self.loss_weight_placeholder)
self.target = []
self.importance_weight = []
self.input = []