From 479213e6650e05f6b1a11f7e5e5828222638a7f3 Mon Sep 17 00:00:00 2001 From: Newnius Date: Thu, 30 Apr 2020 00:28:15 +0800 Subject: [PATCH] add files --- .idea/workspace.xml | 2 +- serve.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ae6007a..30077e3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -187,7 +187,7 @@ - + diff --git a/serve.py b/serve.py index 65f272f..e78c8c2 100644 --- a/serve.py +++ b/serve.py @@ -72,9 +72,10 @@ class Data: self.data_num = self.data.shape[0] self.train_num = int(self.data_num * self.config.train_data_rate) + print(self.data) self.mean = np.mean(self.data, axis=0) print(1) - print(self.data) + self.std = np.std(self.data, axis=0) self.norm_data = (self.data - self.mean) / self.std print(2)