Update app.py
Browse files
app.py
CHANGED
|
@@ -1143,6 +1143,7 @@ class Network(object):
|
|
| 1143 |
other_data_input = data_input.reshape((self.G, self.G, self.G), order='F')
|
| 1144 |
|
| 1145 |
# Get the outputs
|
|
|
|
| 1146 |
predicted_output = self.network.predict(data_input)
|
| 1147 |
true_output = self.new_curves[idx].reshape((3, self.F))
|
| 1148 |
predicted_output = predicted_output.reshape((3, self.F))
|
|
@@ -1158,6 +1159,7 @@ class Network(object):
|
|
| 1158 |
|
| 1159 |
def analysis_from_geometry(self, geometry):
|
| 1160 |
# Get the outputs
|
|
|
|
| 1161 |
predicted_output = self.network.predict(geometry.flatten())
|
| 1162 |
predicted_output = predicted_output.reshape((3, self.F))
|
| 1163 |
|
|
|
|
| 1143 |
other_data_input = data_input.reshape((self.G, self.G, self.G), order='F')
|
| 1144 |
|
| 1145 |
# Get the outputs
|
| 1146 |
+
print(data_input.shape)
|
| 1147 |
predicted_output = self.network.predict(data_input)
|
| 1148 |
true_output = self.new_curves[idx].reshape((3, self.F))
|
| 1149 |
predicted_output = predicted_output.reshape((3, self.F))
|
|
|
|
| 1159 |
|
| 1160 |
def analysis_from_geometry(self, geometry):
|
| 1161 |
# Get the outputs
|
| 1162 |
+
print(geometry.flatten().shape)
|
| 1163 |
predicted_output = self.network.predict(geometry.flatten())
|
| 1164 |
predicted_output = predicted_output.reshape((3, self.F))
|
| 1165 |
|