diff --git a/fluid/neural_machine_translation/rnn_search/_ce.py b/fluid/neural_machine_translation/rnn_search/_ce.py index 32b13c66a2bbb5bed7e71c7924dea9da4e4182fe..e948336e82141c4a2072a02f73b51cb7b4396ca0 100644 --- a/fluid/neural_machine_translation/rnn_search/_ce.py +++ b/fluid/neural_machine_translation/rnn_search/_ce.py @@ -7,9 +7,9 @@ from kpi import CostKpi, DurationKpi, AccKpi #### NOTE kpi.py should shared in models in some way!!!! -train_cost_kpi = CostKpi('train_cost', 0.02, actived=True) -test_cost_kpi = CostKpi('test_cost', 0.005, actived=True) -train_duration_kpi = DurationKpi('train_duration', 0.06, actived=True) +train_cost_kpi = CostKpi('train_cost', 0.02, 0, actived=True) +test_cost_kpi = CostKpi('test_cost', 0.005, 0, actived=True) +train_duration_kpi = DurationKpi('train_duration', 0.06, 0, actived=True) tracking_kpis = [ train_cost_kpi,