Datasets:
Modalities:
3D
Size:
10K<n<100K
Dataset Preview
Full Screen Viewer
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError Exception: DatasetGenerationCastError Message: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 6 new columns ({'moment_coefficient', 'id', 'drag_coefficient', 'rear_lift_coefficient', 'front_lift_coefficient', 'lift_coefficient'}) and 9 missing columns ({'status_code', 'submission_time', 'Drag', 'current_time', 'Rear Lift', 'Moment', 'task_id', 'Lift', 'Front Lift'}). This happened while the json dataset builder was generating data using hf://datasets/rvalerio/windtunnel/data/train/1n8qi4jeny5rgajbwma2bdscy/simulation_metadata.json (at revision e191f3796beb21508755c2b788adc2b89c324c19) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations) Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table pa_table = table_cast(pa_table, self._schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema raise CastError( datasets.table.CastError: Couldn't cast id: string object_file: string wind_speed: int64 rotate_angle: int64 num_iterations: int64 resolution: int64 drag_coefficient: double moment_coefficient: double lift_coefficient: double front_lift_coefficient: double rear_lift_coefficient: double input_mesh_path: string openfoam_mesh_path: string pressure_field_mesh_path: string streamlines_mesh_path: string to {'task_id': Value(dtype='string', id=None), 'object_file': Value(dtype='string', id=None), 'wind_speed': Value(dtype='int64', id=None), 'rotate_angle': Value(dtype='int64', id=None), 'num_iterations': Value(dtype='int64', id=None), 'resolution': Value(dtype='int64', id=None), 'status_code': Value(dtype='int64', id=None), 'submission_time': Value(dtype='timestamp[s]', id=None), 'current_time': Value(dtype='timestamp[s]', id=None), 'Moment': Value(dtype='float64', id=None), 'Drag': Value(dtype='float64', id=None), 'Lift': Value(dtype='float64', id=None), 'Front Lift': Value(dtype='float64', id=None), 'Rear Lift': Value(dtype='float64', id=None), 'input_mesh_path': Value(dtype='string', id=None), 'openfoam_mesh_path': Value(dtype='string', id=None), 'pressure_field_mesh_path': Value(dtype='string', id=None), 'streamlines_mesh_path': Value(dtype='string', id=None)} because column names don't match During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1396, in compute_config_parquet_and_info_response parquet_operations = convert_to_parquet(builder) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1045, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1029, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1124, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1884, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2015, in _prepare_split_single raise DatasetGenerationCastError.from_cast_error( datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 6 new columns ({'moment_coefficient', 'id', 'drag_coefficient', 'rear_lift_coefficient', 'front_lift_coefficient', 'lift_coefficient'}) and 9 missing columns ({'status_code', 'submission_time', 'Drag', 'current_time', 'Rear Lift', 'Moment', 'task_id', 'Lift', 'Front Lift'}). This happened while the json dataset builder was generating data using hf://datasets/rvalerio/windtunnel/data/train/1n8qi4jeny5rgajbwma2bdscy/simulation_metadata.json (at revision e191f3796beb21508755c2b788adc2b89c324c19) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
task_id
string | object_file
string | wind_speed
int64 | rotate_angle
int64 | num_iterations
int64 | resolution
int64 | status_code
int64 | submission_time
timestamp[us] | current_time
timestamp[us] | Moment
float64 | Drag
float64 | Lift
float64 | Front Lift
float64 | Rear Lift
float64 | input_mesh_path
string | openfoam_mesh_path
string | pressure_field_mesh_path
string | streamlines_mesh_path
string | id
string | drag_coefficient
float64 | moment_coefficient
float64 | lift_coefficient
float64 | front_lift_coefficient
float64 | rear_lift_coefficient
float64 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kcnn2x2kinv6kvq9s2kbhs16i | image_1.obj | 44 | 304 | 300 | 5 | 202 | 2024-06-20T15:53:41 | 2024-06-20T15:53:46 | 0.443258 | 0.901876 | 0.454257 | 0.670386 | -0.216129 | data/train/1/input_mesh.obj | data/train/1/openfoam_mesh.obj | data/train/1/pressure_field_mesh.vtk | data/train/1/streamlines_mesh.ply | null | null | null | null | null | null |
null | object_1.obj | 30 | 141 | 300 | 5 | null | null | null | null | null | null | null | null | data/train/1n8qi4jeny5rgajbwma2bdscy/input_mesh.obj | data/train/1n8qi4jeny5rgajbwma2bdscy/openfoam_mesh.obj | data/train/1n8qi4jeny5rgajbwma2bdscy/pressure_field_mesh.vtk | data/train/1n8qi4jeny5rgajbwma2bdscy/streamlines_mesh.ply | 1n8qi4jeny5rgajbwma2bdscy | 0.770978 | 0.306514 | 0.265635 | 0.439331 | -0.173696 |
kcnn2x2kinv6kvq9s2kbhs16i | image_1.obj | 44 | 304 | 300 | 5 | 202 | 2024-06-20T15:53:41 | 2024-06-20T15:53:46 | 0.443258 | 0.901876 | 0.454257 | 0.670386 | -0.216129 | data/train/2/input_mesh.obj | data/train/2/openfoam_mesh.obj | data/train/2/pressure_field_mesh.vtk | data/train/2/streamlines_mesh.ply | null | null | null | null | null | null |
null | object_1.obj | 30 | 87 | 300 | 5 | null | null | null | null | null | null | null | null | data/train/74qh6azngzpqjrd6eyykyj6y1/input_mesh.obj | data/train/74qh6azngzpqjrd6eyykyj6y1/openfoam_mesh.obj | data/train/74qh6azngzpqjrd6eyykyj6y1/pressure_field_mesh.vtk | data/train/74qh6azngzpqjrd6eyykyj6y1/streamlines_mesh.ply | 74qh6azngzpqjrd6eyykyj6y1 | 0.801657 | -0.072998 | -0.335454 | -0.240725 | -0.09473 |
null | object_1.obj | 30 | 304 | 300 | 5 | null | null | null | null | null | null | null | null | data/train/g4j4hmz3w76dbgd4gfemfnxpz/input_mesh.obj | data/train/g4j4hmz3w76dbgd4gfemfnxpz/openfoam_mesh.obj | data/train/g4j4hmz3w76dbgd4gfemfnxpz/pressure_field_mesh.vtk | data/train/g4j4hmz3w76dbgd4gfemfnxpz/streamlines_mesh.ply | g4j4hmz3w76dbgd4gfemfnxpz | 0.910322 | 0.447978 | 0.463323 | 0.679639 | -0.216316 |
null | object_1.obj | 30 | 0 | 300 | 5 | null | null | null | null | null | null | null | null | data/train/iw6m29st8wmc97bz1ybcq7n23/input_mesh.obj | data/train/iw6m29st8wmc97bz1ybcq7n23/openfoam_mesh.obj | data/train/iw6m29st8wmc97bz1ybcq7n23/pressure_field_mesh.vtk | data/train/iw6m29st8wmc97bz1ybcq7n23/streamlines_mesh.ply | iw6m29st8wmc97bz1ybcq7n23 | 0.416259 | 0.179608 | 0.160528 | 0.259872 | -0.099344 |
Wind Tunnel Dataset
Overview
This repository contains a dataset for wind tunnel simulations, organized into three main subsets: training, validation, and test. Each subset includes simulation files in various formats necessary for analysis and model training.
File Descriptions
- metadata.json: Includes metadata information of the simulation.
- input_mesh.obj: OBJ file with the input mesh.
- openfoam_mesh.obj: OBJ file with the OpenFOAM mesh.
- pressure_field_mesh.vtk: VTK file with the pressure field data.
- streamlines_mesh.ply: PLY file with the streamlines.
Usage
To use the dataset, clone the repository and navigate to the data
directory. Each subset can be used for training, validating, or testing your models.
Downloading the Dataset
You can download the dataset from the Hugging Face Hub using the following code:
from huggingface_hub import snapshot_download
dataset_name = "rvalerio/windtunnel"
# Download the entire dataset
snapshot_download(repo_id=dataset_name)
# Download to a specific directory
snapshot_download(repo_id=dataset_name, local_dir="windtunnel_dataset")
# Download only specific files
snapshot_download(allow_patterns=["*/input_mesh.obj"], repo_id=dataset_name)
snapshot_download(ignore_patterns=["*/input_mesh.obj"], repo_id=dataset_name)
- Downloads last month
- 32