Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,8 @@ def load_data():
|
|
| 20 |
|
| 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 |
geometry = numpy.reshape(data['geometry'], (5000, 32*32*32))
|
| 25 |
curves = numpy.reshape(data['curves'], (5000, 3*64))
|
| 26 |
# curves = load_dataset("cmudrc/wave-energy", data_files="curves.zip", split='train').to_pandas().drop(labels="index", axis=1)
|
|
|
|
| 20 |
|
| 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)
|