From 452f9e045646828da7151acbf9588cbacae65230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Knaebel?= Date: Thu, 3 Aug 2017 08:00:20 +0200 Subject: [PATCH] fix array() to zeros(0) --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 9581f27..d280d9e 100644 --- a/main.py +++ b/main.py @@ -190,9 +190,9 @@ def main_test(): c_pred, s_pred = pred elif args.model_output == "client": c_pred = pred - s_pred = np.array() + s_pred = np.zeros(0) else: - c_pred = np.array() + c_pred = np.zeros(0) s_pred = pred dataset.save_predictions(args.future_prediction, c_pred, s_pred)