trained weights
Browse filesFiles changed (24)
- Fracture-Bench-weights/MD5SUMS.txtAdded+16
- Fracture-Bench-weights/README.txtAdded+72
- Fracture-Bench-weights/deeponet/d1_11.npyAdded+3
- Fracture-Bench-weights/deeponet/d1_22.npyAdded+3
- Fracture-Bench-weights/deeponet/d1_44.npyAdded+3
- Fracture-Bench-weights/deeponet/d1_norm.jsonAdded+1
- Fracture-Bench-weights/deeponet/d2.npyAdded+3
- Fracture-Bench-weights/deeponet/d2_norm.jsonAdded+1
- Fracture-Bench-weights/fno/d1_11.pklAdded+3
- Fracture-Bench-weights/fno/d1_22.pklAdded+3
- Fracture-Bench-weights/fno/d1_44.pklAdded+3
- Fracture-Bench-weights/fno/d1_norm.jsonAdded+25
- Fracture-Bench-weights/fno/d2.pklAdded+3
- Fracture-Bench-weights/fno/d2_norm.jsonAdded+7
- Fracture-Bench-weights/latent_deeponet/d1_11.npyAdded+3
- Fracture-Bench-weights/latent_deeponet/d1_22.npyAdded+3
- Fracture-Bench-weights/latent_deeponet/d1_44.npyAdded+3
- Fracture-Bench-weights/latent_deeponet/d1_ae_11.pklAdded+3
- Fracture-Bench-weights/latent_deeponet/d1_ae_22.pklAdded+3
- Fracture-Bench-weights/latent_deeponet/d1_ae_44.pklAdded+3
- Fracture-Bench-weights/latent_deeponet/d1_norm.jsonAdded+1
- Fracture-Bench-weights/latent_deeponet/d2.npyAdded+3
- Fracture-Bench-weights/latent_deeponet/d2_ae.pklAdded+3
- Fracture-Bench-weights/latent_deeponet/d2_norm.jsonAdded+1
1234567891011121314151621c97d98225ff563c9b9c31628223885 deeponet/d1_11.npycd18662a9409700a359cb9a2f99d7a8a deeponet/d1_22.npy0e31d2fd73cdd3ad08b8fe0da31d79ed deeponet/d1_44.npyf0ef972d5749198c0a00869db9e30325 deeponet/d2.npyfb497ad180f915611d4090737b90f70e fno/d1_11.pkl2d267af9bb42ab6f1a7971c3a7ac187d fno/d1_22.pkl279e97ec201b924a34aa42956d01b44f fno/d1_44.pkl88c9e0311dc1a61dbf010397bf44fdd6 fno/d2.pkl175910671c04e29632611071e1fcd90b latent_deeponet/d1_11.npy0633a0ce7a6375b5940e919819b3e85a latent_deeponet/d1_22.npy3f52e94d947b44ff9e6cfa9d8f0d0b6c latent_deeponet/d1_44.npy4239d42efc357a536484aaf518ae1587 latent_deeponet/d1_ae_11.pkl0650fee7d88c2cb6f7ad98b27d95819c latent_deeponet/d1_ae_22.pkl6c95efb6f109625840ad4b9f7ecea00b latent_deeponet/d1_ae_44.pklb849b2e02599a22224c2fa127d406c81 latent_deeponet/d2.npyc7890159a0db95a3797c967e8b958907 latent_deeponet/d2_ae.pkl123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172FRACTURE-BENCH: TRAINED MODEL WEIGHTS=====================================
Trained weights for the Fracture-Bench surrogate models: FNO, DeepONet andLatent DeepONet, written in JAX/Flax. UNet and cDDPM will be added later.
Datasets: Dataset 1 https://doi.org/10.7281/T1XFF19O Dataset 2 https://doi.org/10.7281/T1RZFI3I Code: https://github.com/Centrum-IntelliPhysics/fracture_bench (the networks are defined in each train.py) Website: https://fracture-bench.github.io
Dataset 1: AT2 phase field, perforated hyperelastic plate, 128 x 128 grid. The model predicts the vector phase field over 11, 22 or 44 load steps from u(x,0).Dataset 2: PF-CZM, plate with two circular inclusions, 128 x 256 grid. The model predicts the phase field at the final load step from d(x,0) and E(x).
FILES (4.7 GB in total)-----
fno/ d1_11.pkl, d1_22.pkl, d1_44.pkl Dataset 1, 11 / 22 / 44 load steps, width 64 1.2 GB each d2.pkl Dataset 2, modes (32, 48), width 64 144 MB d1_norm.json, d2_norm.json input/output normalization constants
deeponet/ d1_11.npy Dataset 1, 11 steps, p = 2048 12 MB d1_22.npy, d1_44.npy Dataset 1, 22 / 44 steps, p = 4096 20 MB each d2.npy Dataset 2, p = 2048 23 MB d1_norm.json, d2_norm.json normalization constants
latent_deeponet/ d1_ae_11.pkl, d1_ae_22.pkl, d1_ae_44.pkl Dataset 1 autoencoders (latent dimension 256) 131 MB each d1_11.npy, d1_22.npy, d1_44.npy Dataset 1 latent operators 54 / 104 / 204 MB d2_ae.pkl Dataset 2 autoencoder (latent dimension 1024) 261 MB d2.npy Dataset 2 latent operator, p = 1024 16 MB d1_norm.json, d2_norm.json normalization constants
MD5SUMS.txt checksums; check a download with md5sum -c MD5SUMS.txt (on macOS: md5 <file>)
WHERE THE WEIGHTS COME FROM---------------------------
Most files are from the training runs reported in the paper. Two exceptions: * fno/d1_11.pkl and fno/d1_22.pkl are re-runs that also trained the spectral weights. The paper's 11- and 22-step FNO runs did not save their weights. * deeponet/d1_44.npy is from a supplementary run. In the paper, the 44-step DeepONet did not reach the error threshold.
LOADING (needs numpy, jax and flax installed)-------
import numpy as np, pickle
# FNO, DeepONet and Latent DeepONet operators params = np.load("fno/d2.pkl", allow_pickle=True).item()["params"] params = np.load("deeponet/d2.npy", allow_pickle=True).item()["params"]
# Latent DeepONet autoencoders (Flax parameter tree) with open("latent_deeponet/d2_ae.pkl", "rb") as f: ae = pickle.load(f)
The networks themselves are defined in the training scripts of the coderepository. The normalization constants in the *_norm.json files must beapplied to the inputs exactly as in training.123version https://git-lfs.github.com/spec/v1oid sha256:fb97eb647266f96519c74a50030da705c8c72fac5dd5fdad5b52696e7cc9cb72size 12074110123version https://git-lfs.github.com/spec/v1oid sha256:53dbf512a477078a256d0f1eb67f499a8daf9424f8f07a972754d95a0774abb7size 20479102123version https://git-lfs.github.com/spec/v1oid sha256:0fb0abd5df95456c4b6c380f0b489e6d358cdf6a538f75f0accfd2a1662812b1size 204791021{"disp_min": [-1.861304321341959, -1.861304321341959], "disp_max": [1.8613043213419591, 1.861304321341959]}123version https://git-lfs.github.com/spec/v1oid sha256:49dae2054d0dccf99ada80c3f39ed97af1a8da250544315c6b3cf1f497724f98size 242919901{"e_min": -388916.875, "e_max": 4385931.0, "p": 2048}123version https://git-lfs.github.com/spec/v1oid sha256:c7ad1829675daab92361cc2b1e3e260edc15b708d0d12c1340d1ab6b0f51c95esize 1258427218123version https://git-lfs.github.com/spec/v1oid sha256:080a33297760a8c1a22a012ab7563d7eec055f95e1fdb30d840513dd16d359a3size 1258427218123version https://git-lfs.github.com/spec/v1oid sha256:07fc57107c7a935bc49ee091b48abe12dccf3fc80c7c20cba8ac8282828da3aesize 125842721812345678910111213141516171819202122232425{ "11": { "y_min": -0.9999848980964712, "y_max": 0.999990715804169 }, "22": { "y_min": -0.9999908813289604, "y_max": 0.9999945717606457 }, "44": { "y_min": -0.9999909909428546, "y_max": 0.9999985228321961 }, "x_all_min": -1.861304321341959, "x_all_max": 1.8613043213419591, "disp_min": -1.861304321341959, "disp_max": 1.8613043213419591, "modes": [ 6, 40, 40 ], "width": 64, "n_blocks": 4}123version https://git-lfs.github.com/spec/v1oid sha256:6e33720dab68134803889541426e14919afb8dc3aee93eff467ea4fa93cdfafdsize 1511137901234567{ "_comment": "RangeNormalizer (train.py) constants fitted on the Dataset-2 FNO training set: maps the 4-channel input [phase, E_norm, grid_x, grid_y] to [-1,1]. grid_y in [0,2] dominates the global range so a=1, b=-1 (x -> x-1). modes/width are the FNO2d hyperparameters.", "a": 1.0, "b": -1.0, "modes": [32, 48], "width": 64}123version https://git-lfs.github.com/spec/v1oid sha256:03c1f40862076a5249078302454bf09c441cfa43b69ffee252e75981f18ae5a0size 56193391123version https://git-lfs.github.com/spec/v1oid sha256:e877d503ed0e9abbed241419c55c4dfddc3d5e43d512e623ec067ae8b089ed89size 108724591123version https://git-lfs.github.com/spec/v1oid sha256:5f21df52f70372c2877806fcf4472c914658b307ca255c90876d22cfadfc08f9size 213786991123version https://git-lfs.github.com/spec/v1oid sha256:b47fa036204159602d6bb20785f21c12656bfb683a0288b57aa8e69caf25c886size 137443586123version https://git-lfs.github.com/spec/v1oid sha256:fc17858895029bc31c9ec3a192cd456d58a1d6086dfd720052875952e59f1fb4size 137443586123version https://git-lfs.github.com/spec/v1oid sha256:da70d1b1ea32b4b75b20eeee2294595c0570b379d19f1fee31000032ada63981size 1374435861{"disp_min": [-1.861304321341959, -1.861304321341959], "disp_max": [1.8613043213419591, 1.861304321341959]}123version https://git-lfs.github.com/spec/v1oid sha256:5686119fa433c008680fdc4b1f070f3685eb330089b9c8173939351132bec104size 16407388123version https://git-lfs.github.com/spec/v1oid sha256:935664129c3f37b0e0aac25a5934188891373261edae746fdd22a0d58f04ca93size 2733027861{"e_min": -388916.875, "e_max": 4385931.0, "p": 1024}Fracture-Bench-weights/MD5SUMS.txtAdded+16
Fracture-Bench-weights/README.txtAdded+72
Fracture-Bench-weights/deeponet/d1_11.npyAdded+3
Fracture-Bench-weights/deeponet/d1_22.npyAdded+3
Fracture-Bench-weights/deeponet/d1_44.npyAdded+3
Fracture-Bench-weights/deeponet/d1_norm.jsonAdded+1
Fracture-Bench-weights/deeponet/d2.npyAdded+3
Fracture-Bench-weights/deeponet/d2_norm.jsonAdded+1
Fracture-Bench-weights/fno/d1_11.pklAdded+3
Fracture-Bench-weights/fno/d1_22.pklAdded+3
Fracture-Bench-weights/fno/d1_44.pklAdded+3
Fracture-Bench-weights/fno/d1_norm.jsonAdded+25
Fracture-Bench-weights/fno/d2.pklAdded+3
Fracture-Bench-weights/fno/d2_norm.jsonAdded+7
Fracture-Bench-weights/latent_deeponet/d1_11.npyAdded+3
Fracture-Bench-weights/latent_deeponet/d1_22.npyAdded+3
Fracture-Bench-weights/latent_deeponet/d1_44.npyAdded+3
Fracture-Bench-weights/latent_deeponet/d1_ae_11.pklAdded+3
Fracture-Bench-weights/latent_deeponet/d1_ae_22.pklAdded+3
Fracture-Bench-weights/latent_deeponet/d1_ae_44.pklAdded+3
Fracture-Bench-weights/latent_deeponet/d1_norm.jsonAdded+1
Fracture-Bench-weights/latent_deeponet/d2.npyAdded+3
Fracture-Bench-weights/latent_deeponet/d2_ae.pklAdded+3
Fracture-Bench-weights/latent_deeponet/d2_norm.jsonAdded+1