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)