Update app.py
Browse files
app.py
CHANGED
@@ -29,14 +29,14 @@ def load_data():
|
|
29 |
F = 64
|
30 |
G = 32
|
31 |
|
32 |
-
flattened_curves = curves.values / 1000000
|
33 |
-
curvey_curves = [c.reshape([
|
34 |
|
35 |
-
flattened_geometry = geometry.values
|
36 |
-
round_geometry = [g.reshape([
|
37 |
|
38 |
# Return good bits to user
|
39 |
-
return curvey_curves, round_geometry, S, N, D, F, G,
|
40 |
|
41 |
# Disable eager execution because its bad
|
42 |
from tensorflow.python.framework.ops import disable_eager_execution
|
|
|
29 |
F = 64
|
30 |
G = 32
|
31 |
|
32 |
+
# flattened_curves = curves.values / 1000000
|
33 |
+
curvey_curves = [c.reshape([D, F])/1000000 for c in curves.values]
|
34 |
|
35 |
+
# flattened_geometry = geometry.values
|
36 |
+
round_geometry = [g.reshape([G, G, G]) for g in geometry.values]
|
37 |
|
38 |
# Return good bits to user
|
39 |
+
return curvey_curves, round_geometry, S, N, D, F, G, curves.values/1000000, geometry.values
|
40 |
|
41 |
# Disable eager execution because its bad
|
42 |
from tensorflow.python.framework.ops import disable_eager_execution
|