Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
- name: Base_2_2/Zone
|
|
@@ -75,3 +82,54 @@ configs:
|
|
| 75 |
- split: OOD
|
| 76 |
path: data/OOD-*
|
| 77 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- graph-ml
|
| 5 |
+
pretty_name: 2D quasistatic non-linear structural mechanics solutions
|
| 6 |
+
tags:
|
| 7 |
+
- physics learning
|
| 8 |
+
- geometry learning
|
| 9 |
dataset_info:
|
| 10 |
features:
|
| 11 |
- name: Base_2_2/Zone
|
|
|
|
| 82 |
- split: OOD
|
| 83 |
path: data/OOD-*
|
| 84 |
---
|
| 85 |
+

|
| 86 |
+

|
| 87 |
+
data_production:
|
| 88 |
+
physics: 2D quasistatic non-linear structural mechanics, small deformations, plane
|
| 89 |
+
strain
|
| 90 |
+
type: simulation
|
| 91 |
+
legal:
|
| 92 |
+
license: CC-BY-SA
|
| 93 |
+
owner: Safran
|
| 94 |
+
plaid:
|
| 95 |
+
version: 0.1.10.dev114+gcbd3fd46f.d20251014
|
| 96 |
+
|
| 97 |
+
Example of commands:
|
| 98 |
+
```python
|
| 99 |
+
from datasets import load_dataset
|
| 100 |
+
from plaid.bridges import huggingface_bridge
|
| 101 |
+
|
| 102 |
+
repo_id = "chanel/dataset"
|
| 103 |
+
|
| 104 |
+
# Load the dataset
|
| 105 |
+
hf_datasetdict = load_dataset(repo_id)
|
| 106 |
+
|
| 107 |
+
# Load addition required data
|
| 108 |
+
flat_cst, key_mappings = huggingface_bridge.load_tree_struct_from_hub(repo_id)
|
| 109 |
+
pb_def = huggingface_bridge.load_problem_definition_from_hub(repo_id, pb_def_names[0])
|
| 110 |
+
infos = huggingface_bridge.load_infos_from_hub(repo_id)
|
| 111 |
+
|
| 112 |
+
# Efficient reconstruct plaid samples
|
| 113 |
+
for split_name, hf_dataset in hf_datasetdict.items():
|
| 114 |
+
for i in range(len(hf_dataset)):
|
| 115 |
+
sample = huggingface_bridge.to_plaid_sample(
|
| 116 |
+
hf_datasetdict[split_names[0]],
|
| 117 |
+
i,
|
| 118 |
+
flat_cst[split_names[0]],
|
| 119 |
+
key_mappings["cgns_types"],
|
| 120 |
+
)
|
| 121 |
+
|
| 122 |
+
# Extract input and output features from samples:
|
| 123 |
+
for t in sample.get_all_mesh_times():
|
| 124 |
+
for path in pb_def.get_in_features_identifiers():
|
| 125 |
+
sample.get_feature_by_path(path=path, time=t)
|
| 126 |
+
for path in pb_def.get_out_features_identifiers():
|
| 127 |
+
sample.get_feature_by_path(path=path, time=t)
|
| 128 |
+
```
|
| 129 |
+
This dataset was generated in [PLAID](https://plaid-lib.readthedocs.io/), we refer to this documentation for additional details on how to data data from samples.
|
| 130 |
+
|
| 131 |
+
### Dataset Sources
|
| 132 |
+
|
| 133 |
+
- **Papers:**
|
| 134 |
+
- [arxiv](https://arxiv.org/pdf/2305.12871)
|
| 135 |
+
- [arxiv](https://arxiv.org/abs/2505.02974)
|