Update app.py
Browse files
app.py
CHANGED
|
@@ -21,9 +21,10 @@ def load_data():
|
|
| 21 |
data = load_dataset("cmudrc/wave-energy", data_files=["data.zip"], split='train')
|
| 22 |
curvey_curves = [numpy.array(x)/1000000 for x in data['curves']]
|
| 23 |
# round_geometry = [numpy.array(x) for x in data['geometry']]
|
| 24 |
-
round_geometry = numpy.array(data['geometry'])
|
|
|
|
| 25 |
geometry = numpy.reshape(data['geometry'], (5000, 32*32*32))
|
| 26 |
-
curves = numpy.reshape(data['curves'], (5000, 3*64))
|
| 27 |
# curves = load_dataset("cmudrc/wave-energy", data_files="curves.zip", split='train').to_pandas().drop(labels="index", axis=1)
|
| 28 |
# geometry = load_dataset("cmudrc/wave-energy", data_files="geometry.zip", split='train').to_pandas().drop(labels="index", axis=1)
|
| 29 |
|
|
|
|
| 21 |
data = load_dataset("cmudrc/wave-energy", data_files=["data.zip"], split='train')
|
| 22 |
curvey_curves = [numpy.array(x)/1000000 for x in data['curves']]
|
| 23 |
# round_geometry = [numpy.array(x) for x in data['geometry']]
|
| 24 |
+
# round_geometry = numpy.array(data['geometry'])
|
| 25 |
+
round_geometry = None
|
| 26 |
geometry = numpy.reshape(data['geometry'], (5000, 32*32*32))
|
| 27 |
+
curves = numpy.reshape(data['curves'], (5000, 3*64))/1000000
|
| 28 |
# curves = load_dataset("cmudrc/wave-energy", data_files="curves.zip", split='train').to_pandas().drop(labels="index", axis=1)
|
| 29 |
# geometry = load_dataset("cmudrc/wave-energy", data_files="geometry.zip", split='train').to_pandas().drop(labels="index", axis=1)
|
| 30 |
|