Datasets:
Modalities:
3D
Size:
10K<n<100K
commit files to HF hub
Browse files- windtunnel_dataset.py +14 -8
windtunnel_dataset.py
CHANGED
@@ -7,14 +7,20 @@ class WindtunnelDataset(datasets.GeneratorBasedBuilder):
|
|
7 |
|
8 |
def _info(self):
|
9 |
return datasets.DatasetInfo(
|
10 |
-
features=datasets.Features(
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
)
|
19 |
|
20 |
def _split_generators(self, dl_manager):
|
|
|
7 |
|
8 |
def _info(self):
|
9 |
return datasets.DatasetInfo(
|
10 |
+
features=datasets.Features(
|
11 |
+
{
|
12 |
+
"coeff": datasets.Value("dict"), # JSON file as a dictionary
|
13 |
+
# 'input': datasets.Value('dict'), # JSON file as a dictionary
|
14 |
+
"input_mesh": datasets.Value("binary"), # OBJ mesh file as binary
|
15 |
+
"openfoam_mesh": datasets.Value(
|
16 |
+
"binary"
|
17 |
+
), # OBJ mesh file as binary
|
18 |
+
"pressure_field_mesh": datasets.Value(
|
19 |
+
"binary"
|
20 |
+
), # VTK file as binary
|
21 |
+
"streamlines_mesh": datasets.Value("binary"), # PLY file as binary
|
22 |
+
}
|
23 |
+
)
|
24 |
)
|
25 |
|
26 |
def _split_generators(self, dl_manager):
|