fix array() to zeros(0)

This commit is contained in:
René Knaebel 2017-08-03 08:00:20 +02:00
parent 787f43b328
commit 452f9e0456

View File

@ -190,9 +190,9 @@ def main_test():
c_pred, s_pred = pred c_pred, s_pred = pred
elif args.model_output == "client": elif args.model_output == "client":
c_pred = pred c_pred = pred
s_pred = np.array() s_pred = np.zeros(0)
else: else:
c_pred = np.array() c_pred = np.zeros(0)
s_pred = pred s_pred = pred
dataset.save_predictions(args.future_prediction, c_pred, s_pred) dataset.save_predictions(args.future_prediction, c_pred, s_pred)