You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Cached scene graphs and teacher fields for a hyperelastic surrogate study

This is the data behind https://github.com/kmnif/pinn-gnn-surrogate (currently private). Paths mirror the package's own data/ tree, so a download into the repository root puts every file exactly where the code looks for it, with no path options and no configuration edits.

What is here

path files bytes what it is
data/graphs/fine_39304/ 176 1,485,369,630 88 configs x (one .pt scene graph + one .meta.json sidecar), 39,304 nodes each, encoded at stride (3,3,3)
data/graphs/coarse_1728/ 176 66,169,502 the same 88 configs at 1,728 nodes, encoded at stride (9,9,9)
data/raw/<config_id>/ 269 4,320,073,946 all 89 configs: config.json, points0.npy, u_vals0.npy; the baseline additionally carries fem_points.npy and fem_u.npy
SHA256SUMS 1 69,891 one sha256 per file above

Total 621 payload files, 5,871,613,078 B. Largest single file 24,000,128 B.

The two cached graphs for baseline_e10000_nu030_t1515 are not in this dataset. They ship inside the code package so that a plain git clone can run the tests, the gates, inference and plotting without downloading anything. The 88 configs here plus those 2 graphs cover all 89 rows of configs/sweep_manifest.csv in the code package.

The tensors in one cached graph

HeteroData with node types point, face, body, support, load and 13 edge types.

point    x (N,13), pos (N,3), pos_unit (N,3), y (N,3), grid (N,3), lattice_key (N,3)
face     x (6,18), area (6,), normal (6,3), centroid (6,3)
body     x (1,7), global_attr (1,8)
support  x (1,11)
load     x (1,13)

point.pos is the point cloud, point.y is the teacher displacement field. Across the sweep the geometry is the same object: pos, pos_unit, grid, lattice_key, x and every face tensor hash identically from config to config, and only point.y, body.x, body.global_attr and load.x change. y_fem (the FEM reference field) exists only on the baseline graph, which lives in the code package, so no file in this dataset carries a FEM field.

The raw tier

Each config folder holds config.json (the physics the encoder parses), points0.npy and u_vals0.npy, both shape (1000000, 3), float64, 24,000,128 B. The point cloud is a 100 x 100 x 100 lattice over the domain x in [0,2], y and z in [0,1], and it is byte identical for all 89 configs; u_vals0.npy is what differs from config to config. config.json carries E, nu, material_model, the domain bounds, the two boundary condition records and the split.

This tier is why the sweep can be re-derived: the encoder reads config.json plus the two arrays and rebuilds any config's cached graph.

Reading the numbers honestly

  • Units. E, traction and density are given in one internal consistent unit system and nothing is rescaled. The mm labels used by the code mean 1e-3 of that internal length unit, not millimetres of a stated physical bar. Ratios, percentages and comparisons across configs are unit agnostic.
  • Teacher field. u_vals0.npy is the pointwise median over 10 independent replica fields trained with different seeds, evaluated on the shared 100^3 lattice. Replica fields whose max|u| fell below 0.02 were discarded as degenerate; across the whole sweep 0 of 890 replicas were discarded.
  • FEM coverage. A finite element reference solution exists for the baseline config only, 1 of 89. Every statement comparing the surrogate to FEM in the code package is an n=1 observation about that one config, and the package never presents it as a ranking.

Splits

Each .meta.json sidecar records the split of its config, copied from configs/sweep_manifest.csv in the code package (89 rows: 62 train, 8 val, 11 test, 5 test_extrap, 2 test_ray, 1 val_ray). The manifest is what the code reads, and the sidecar copies now agree with it on all 176 files.

Fetch and verify

These paths are meant to sit inside a clone of the code package, so fetch into a staging directory and copy the two trees in. Downloading straight into the repo root (--local-dir .) would also drop this card there as README.md, overwriting the package's README.

cd <the pinn-gnn-surrogate clone>
hf download kmnif/pinn-gnn-surrogate-dataset --repo-type dataset --local-dir .hf_data
cp -R .hf_data/data . && cp .hf_data/SHA256SUMS .
sha256sum -c SHA256SUMS

sha256sum -c should report every listed file OK. After that, eval_surrogate.py, train_surrogate.py and scripts/evidence/affine_reference.py find everything they need without any path option, because the layout here mirrors the package's data/ tree exactly.

The tiers are separable and you rarely need all 5.87 GB:

# 1.49 GB: the fine cached graphs, everything eval_surrogate.py and a retrain at (3,3,3) needs
hf download kmnif/pinn-gnn-surrogate-dataset --repo-type dataset \
    --include 'data/graphs/fine_39304/*' --local-dir .hf_data

# 4.32 GB: the raw teacher fields, only if you want to re-encode from the 1,000,000 point records
#          or read the fields directly instead of using the graphs
hf download kmnif/pinn-gnn-surrogate-dataset --repo-type dataset \
    --include 'data/raw/*' --local-dir .hf_data

If you would rather not install the Hugging Face client, each file is also reachable as https://huggingface.co/datasets/kmnif/pinn-gnn-surrogate-dataset/resolve/main/<path>, and the whole repository clones with git clone once git lfs install has been run (this dataset does not need LFS at these file sizes, but cloning it that way is also fine).

Licence

MIT, the same licence as the code package, and it covers these data records.

Downloads last month
18