From 01037a6b79e92a911a92ab17a621826314c6e92d Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Tue, 28 Mar 2017 18:51:24 +0800 Subject: [PATCH] fix python stype problem --- python/paddle/v2/plot_curve.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/v2/plot_curve.py b/python/paddle/v2/plot_curve.py index 9d24a87442b..178506bbebd 100644 --- a/python/paddle/v2/plot_curve.py +++ b/python/paddle/v2/plot_curve.py @@ -6,6 +6,7 @@ class PlotCost(object): """ append train and test cost in event_handle and then call plot. """ + def __init__(self): self.train_costs = ([], []) self.test_costs = ([], []) -- GitLab