Commit c84b6c24 authored by Yuxin Wu's avatar Yuxin Wu

fix add_moving_summary in hed (fix #805)

parent f30766aa
......@@ -115,7 +115,7 @@ class Model(ModelDesc):
add_param_summary(('.*/W', ['histogram'])) # monitor W
total_cost = tf.add_n(costs, name='cost')
add_moving_summary(costs + [wrong, total_cost])
add_moving_summary(*(costs + [wrong, total_cost]))
return total_cost
def optimizer(self):
......
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