Update app.py
Browse files
app.py
CHANGED
@@ -1159,8 +1159,8 @@ class Network(object):
|
|
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 |
|
1166 |
f = numpy.linspace(0.05, 2.0, 64)
|
|
|
1159 |
|
1160 |
def analysis_from_geometry(self, geometry):
|
1161 |
# Get the outputs
|
1162 |
+
print(numpy.array([geometry.flatten().tolist()]).shape)
|
1163 |
+
predicted_output = self.network.predict(numpy.array([geometry.flatten().tolist()]))
|
1164 |
predicted_output = predicted_output.reshape((3, self.F))
|
1165 |
|
1166 |
f = numpy.linspace(0.05, 2.0, 64)
|