Add conditional DENIM v2 protocol
Browse filesAdd strict role assignment, training code, metrics and validation for using all 2,660 trajectories without duplicating data files.
- CONDITIONAL_V2_SHA256SUMS +13 -0
- README.md +9 -0
- conditional_v2/README.md +3 -0
- conditional_v2/SHA256SUMS +11 -0
- conditional_v2/artifacts/t2_denim_conditional_v2/model_metrics.json +1761 -0
- conditional_v2/artifacts/t2_denim_conditional_v2/physical_runtime_validation.json +16 -0
- conditional_v2/artifacts/t2_denim_conditional_v2/refined_metrics.json +728 -0
- conditional_v2/docs/T2_CONDITIONAL_DENIM_V2.md +78 -0
- conditional_v2/src/infer_t2_denim_conditional_v2.py +58 -0
- conditional_v2/src/refine_t2_denim_conditional_v2.py +80 -0
- conditional_v2/src/t2_denim_conditional.py +328 -0
- conditional_v2/src/train_t2_denim_conditional_v2.py +507 -0
- conditional_v2/src/validate_t2_denim_conditional_v2.py +80 -0
- conditional_v2/tests/test_t2_denim_conditional.py +68 -0
CONDITIONAL_V2_SHA256SUMS
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2542f04ab4fda646bce842d1d072f5cc19c6d3d31e9a661479ed138112d37483 README.md
|
| 2 |
+
84173c7a9e5fce83601b40d178f37cdb7030b46117839fb3b3fec4e62a269d7e conditional_v2/README.md
|
| 3 |
+
28725b2db1a303c86d0d9c9268ceea2bf6faaddfe2df167457fd3bd8e8e794de conditional_v2/SHA256SUMS
|
| 4 |
+
f2ba3f8d4af49eaec284e6ab776cc65eb80ac81139b800889765881dc14bfc0b conditional_v2/artifacts/t2_denim_conditional_v2/model_metrics.json
|
| 5 |
+
85c96f7d4954839fe99b8f741e6eaab19b0b6b47b87e19d3c3172853d0f3dba5 conditional_v2/artifacts/t2_denim_conditional_v2/physical_runtime_validation.json
|
| 6 |
+
4c9fa10a3235892714d50d92e174663dbbac9e4162c964d739ffee28721b1873 conditional_v2/artifacts/t2_denim_conditional_v2/refined_metrics.json
|
| 7 |
+
f7ef24867baa630310c9c391a7d4df3fc048fb501ea240a728a4cb6ade0ff7ae conditional_v2/docs/T2_CONDITIONAL_DENIM_V2.md
|
| 8 |
+
08f70f7cb3bebd63859cd0b2626775dda85cc738b8dad2fc77c5d8a80033a7b3 conditional_v2/src/infer_t2_denim_conditional_v2.py
|
| 9 |
+
2d6b4b705f81250a447c7e59ded54815204cc923ccfbb4d87488844c47b10691 conditional_v2/src/refine_t2_denim_conditional_v2.py
|
| 10 |
+
85b288ee63a862dc9698e501c9f691ec4b8ab772dde7f20109ab9222a1c6d874 conditional_v2/src/t2_denim_conditional.py
|
| 11 |
+
40bd1d10cf1ea285bb7b88990ace757ba128e88e4dcf84d208dca8c2df1b5c4c conditional_v2/src/train_t2_denim_conditional_v2.py
|
| 12 |
+
47f5c2635a6702926b26fee2b28aacc94e333686f9a4bf672f6b58a41191a9d1 conditional_v2/src/validate_t2_denim_conditional_v2.py
|
| 13 |
+
a940f94318c4143acbc9a360efdd84370e616bf1b0fd842d8c3c5d505f8eefc8 conditional_v2/tests/test_t2_denim_conditional.py
|
README.md
CHANGED
|
@@ -44,6 +44,15 @@ Start with `DENIM_START_HERE.md` for the incomplete-physics study,
|
|
| 44 |
`T2_V2_START_HERE.md` for the multiaxial benchmark, or `START_HERE.md` for the
|
| 45 |
original v1 release.
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
## DENIM incomplete-physics closure
|
| 48 |
|
| 49 |

|
|
|
|
| 44 |
`T2_V2_START_HERE.md` for the multiaxial benchmark, or `START_HERE.md` for the
|
| 45 |
original v1 release.
|
| 46 |
|
| 47 |
+
|
| 48 |
+
## Material-conditioned DENIM v2 protocol
|
| 49 |
+
|
| 50 |
+
All 2,660 trajectories now have a frozen role in the conditional study: 1,484
|
| 51 |
+
train, 407 validation and 769 test. The release adds no duplicate data. Shared
|
| 52 |
+
known-material pretraining plus incomplete-material replay reduces long-history
|
| 53 |
+
RMSE from 10.906 to 4.263 MPa. Reproduction code, exact accounting and complete
|
| 54 |
+
metrics are in `conditional_v2/`.
|
| 55 |
+
|
| 56 |
## DENIM incomplete-physics closure
|
| 57 |
|
| 58 |

|
conditional_v2/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Conditional DENIM v2 protocol
|
| 2 |
+
|
| 3 |
+
This release adds no duplicate trajectory files. It supplies the frozen 2,660-trajectory role assignment, training code, metrics and validation for material-conditioned DENIM v2. See `docs/T2_CONDITIONAL_DENIM_V2.md`.
|
conditional_v2/SHA256SUMS
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
84173c7a9e5fce83601b40d178f37cdb7030b46117839fb3b3fec4e62a269d7e README.md
|
| 2 |
+
f2ba3f8d4af49eaec284e6ab776cc65eb80ac81139b800889765881dc14bfc0b artifacts/t2_denim_conditional_v2/model_metrics.json
|
| 3 |
+
85c96f7d4954839fe99b8f741e6eaab19b0b6b47b87e19d3c3172853d0f3dba5 artifacts/t2_denim_conditional_v2/physical_runtime_validation.json
|
| 4 |
+
4c9fa10a3235892714d50d92e174663dbbac9e4162c964d739ffee28721b1873 artifacts/t2_denim_conditional_v2/refined_metrics.json
|
| 5 |
+
f7ef24867baa630310c9c391a7d4df3fc048fb501ea240a728a4cb6ade0ff7ae docs/T2_CONDITIONAL_DENIM_V2.md
|
| 6 |
+
08f70f7cb3bebd63859cd0b2626775dda85cc738b8dad2fc77c5d8a80033a7b3 src/infer_t2_denim_conditional_v2.py
|
| 7 |
+
2d6b4b705f81250a447c7e59ded54815204cc923ccfbb4d87488844c47b10691 src/refine_t2_denim_conditional_v2.py
|
| 8 |
+
85b288ee63a862dc9698e501c9f691ec4b8ab772dde7f20109ab9222a1c6d874 src/t2_denim_conditional.py
|
| 9 |
+
40bd1d10cf1ea285bb7b88990ace757ba128e88e4dcf84d208dca8c2df1b5c4c src/train_t2_denim_conditional_v2.py
|
| 10 |
+
47f5c2635a6702926b26fee2b28aacc94e333686f9a4bf672f6b58a41191a9d1 src/validate_t2_denim_conditional_v2.py
|
| 11 |
+
a940f94318c4143acbc9a360efdd84370e616bf1b0fd842d8c3c5d505f8eefc8 tests/test_t2_denim_conditional.py
|
conditional_v2/artifacts/t2_denim_conditional_v2/model_metrics.json
ADDED
|
@@ -0,0 +1,1761 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "material-conditioned DENIM v2",
|
| 3 |
+
"scope": "three synthetic material families; shared conditional closure with strict frozen holdouts",
|
| 4 |
+
"parameter_count": 8477,
|
| 5 |
+
"accounting": {
|
| 6 |
+
"total": 2660,
|
| 7 |
+
"by_source": {
|
| 8 |
+
"basic_memory_v1": 1008,
|
| 9 |
+
"multiaxial_ood_v2": 1024,
|
| 10 |
+
"denim_closure_v1": 128,
|
| 11 |
+
"denim_boundary_v1": 500
|
| 12 |
+
},
|
| 13 |
+
"by_role": {
|
| 14 |
+
"validation": 407,
|
| 15 |
+
"train": 1484,
|
| 16 |
+
"test": 769
|
| 17 |
+
},
|
| 18 |
+
"training": 1484,
|
| 19 |
+
"validation": 407,
|
| 20 |
+
"test": 769,
|
| 21 |
+
"known_training": 1154,
|
| 22 |
+
"hidden_training": 330,
|
| 23 |
+
"transition_counts": {
|
| 24 |
+
"known_train": 135620,
|
| 25 |
+
"known_validation": 55386,
|
| 26 |
+
"hidden_train": 61349,
|
| 27 |
+
"hidden_validation": 15379
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"training": {
|
| 31 |
+
"known_family_pretraining": {
|
| 32 |
+
"steps": 1800,
|
| 33 |
+
"seconds": 25.14602024992928,
|
| 34 |
+
"best_validation_loss": 0.002103793667629361,
|
| 35 |
+
"history": [
|
| 36 |
+
{
|
| 37 |
+
"step": 0,
|
| 38 |
+
"training_loss": 4.225010395050049,
|
| 39 |
+
"validation_loss": 4.2023210525512695,
|
| 40 |
+
"parts": [
|
| 41 |
+
{
|
| 42 |
+
"memory": 0.000236757259699516,
|
| 43 |
+
"memory_increment": 0.09470289200544357,
|
| 44 |
+
"isotropic": 4.217197418212891
|
| 45 |
+
}
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"step": 50,
|
| 50 |
+
"training_loss": 0.02777775004506111,
|
| 51 |
+
"validation_loss": 0.046682778745889664,
|
| 52 |
+
"parts": [
|
| 53 |
+
{
|
| 54 |
+
"memory": 3.275627750554122e-05,
|
| 55 |
+
"memory_increment": 0.013102511875331402,
|
| 56 |
+
"isotropic": 0.026696793735027313
|
| 57 |
+
}
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"step": 100,
|
| 62 |
+
"training_loss": 0.026106934994459152,
|
| 63 |
+
"validation_loss": 0.04225051775574684,
|
| 64 |
+
"parts": [
|
| 65 |
+
{
|
| 66 |
+
"memory": 1.2636851351999212e-05,
|
| 67 |
+
"memory_increment": 0.005054740235209465,
|
| 68 |
+
"isotropic": 0.02568991854786873
|
| 69 |
+
}
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"step": 150,
|
| 74 |
+
"training_loss": 0.022024886682629585,
|
| 75 |
+
"validation_loss": 0.03559167683124542,
|
| 76 |
+
"parts": [
|
| 77 |
+
{
|
| 78 |
+
"memory": 8.537155736121349e-06,
|
| 79 |
+
"memory_increment": 0.0034148618578910828,
|
| 80 |
+
"isotropic": 0.021743159741163254
|
| 81 |
+
}
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"step": 200,
|
| 86 |
+
"training_loss": 0.019495587795972824,
|
| 87 |
+
"validation_loss": 0.02933492138981819,
|
| 88 |
+
"parts": [
|
| 89 |
+
{
|
| 90 |
+
"memory": 7.5793700489157345e-06,
|
| 91 |
+
"memory_increment": 0.003031748114153743,
|
| 92 |
+
"isotropic": 0.019245468080043793
|
| 93 |
+
}
|
| 94 |
+
]
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"step": 250,
|
| 98 |
+
"training_loss": 0.014888825826346874,
|
| 99 |
+
"validation_loss": 0.023129398003220558,
|
| 100 |
+
"parts": [
|
| 101 |
+
{
|
| 102 |
+
"memory": 6.8353824644873384e-06,
|
| 103 |
+
"memory_increment": 0.0027341528329998255,
|
| 104 |
+
"isotropic": 0.01466325856745243
|
| 105 |
+
}
|
| 106 |
+
]
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"step": 300,
|
| 110 |
+
"training_loss": 0.01104697585105896,
|
| 111 |
+
"validation_loss": 0.017307845875620842,
|
| 112 |
+
"parts": [
|
| 113 |
+
{
|
| 114 |
+
"memory": 5.384745691117132e-06,
|
| 115 |
+
"memory_increment": 0.002153898123651743,
|
| 116 |
+
"isotropic": 0.010869279503822327
|
| 117 |
+
}
|
| 118 |
+
]
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"step": 350,
|
| 122 |
+
"training_loss": 0.008766897022724152,
|
| 123 |
+
"validation_loss": 0.012158677913248539,
|
| 124 |
+
"parts": [
|
| 125 |
+
{
|
| 126 |
+
"memory": 4.840525889449054e-06,
|
| 127 |
+
"memory_increment": 0.0019362103193998337,
|
| 128 |
+
"isotropic": 0.008607159368693829
|
| 129 |
+
}
|
| 130 |
+
]
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"step": 400,
|
| 134 |
+
"training_loss": 0.006325954105705023,
|
| 135 |
+
"validation_loss": 0.008200027048587799,
|
| 136 |
+
"parts": [
|
| 137 |
+
{
|
| 138 |
+
"memory": 3.4305921872146428e-06,
|
| 139 |
+
"memory_increment": 0.0013722367584705353,
|
| 140 |
+
"isotropic": 0.0062127443961799145
|
| 141 |
+
}
|
| 142 |
+
]
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"step": 450,
|
| 146 |
+
"training_loss": 0.004337414167821407,
|
| 147 |
+
"validation_loss": 0.005583609454333782,
|
| 148 |
+
"parts": [
|
| 149 |
+
{
|
| 150 |
+
"memory": 2.4336079604836414e-06,
|
| 151 |
+
"memory_increment": 0.0009734432096593082,
|
| 152 |
+
"isotropic": 0.00425710529088974
|
| 153 |
+
}
|
| 154 |
+
]
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"step": 500,
|
| 158 |
+
"training_loss": 0.0037835175171494484,
|
| 159 |
+
"validation_loss": 0.004116374999284744,
|
| 160 |
+
"parts": [
|
| 161 |
+
{
|
| 162 |
+
"memory": 1.7120088386946009e-06,
|
| 163 |
+
"memory_increment": 0.0006848035263828933,
|
| 164 |
+
"isotropic": 0.003727021161466837
|
| 165 |
+
}
|
| 166 |
+
]
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"step": 550,
|
| 170 |
+
"training_loss": 0.0034374408423900604,
|
| 171 |
+
"validation_loss": 0.00335360667668283,
|
| 172 |
+
"parts": [
|
| 173 |
+
{
|
| 174 |
+
"memory": 1.4519622482112027e-06,
|
| 175 |
+
"memory_increment": 0.0005807848647236824,
|
| 176 |
+
"isotropic": 0.0033895261585712433
|
| 177 |
+
}
|
| 178 |
+
]
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"step": 600,
|
| 182 |
+
"training_loss": 0.002911341842263937,
|
| 183 |
+
"validation_loss": 0.0029969695024192333,
|
| 184 |
+
"parts": [
|
| 185 |
+
{
|
| 186 |
+
"memory": 1.2201841173009598e-06,
|
| 187 |
+
"memory_increment": 0.00048807371058501303,
|
| 188 |
+
"isotropic": 0.002871075877919793
|
| 189 |
+
}
|
| 190 |
+
]
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"step": 650,
|
| 194 |
+
"training_loss": 0.0027297709602862597,
|
| 195 |
+
"validation_loss": 0.0028112134896218777,
|
| 196 |
+
"parts": [
|
| 197 |
+
{
|
| 198 |
+
"memory": 1.1063272040701122e-06,
|
| 199 |
+
"memory_increment": 0.00044253087253309786,
|
| 200 |
+
"isotropic": 0.0026932621840387583
|
| 201 |
+
}
|
| 202 |
+
]
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"step": 700,
|
| 206 |
+
"training_loss": 0.0024971195962280035,
|
| 207 |
+
"validation_loss": 0.002694690367206931,
|
| 208 |
+
"parts": [
|
| 209 |
+
{
|
| 210 |
+
"memory": 1.0513482493479387e-06,
|
| 211 |
+
"memory_increment": 0.000420539261540398,
|
| 212 |
+
"isotropic": 0.002462425036355853
|
| 213 |
+
}
|
| 214 |
+
]
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"step": 750,
|
| 218 |
+
"training_loss": 0.002678285352885723,
|
| 219 |
+
"validation_loss": 0.0026132799685001373,
|
| 220 |
+
"parts": [
|
| 221 |
+
{
|
| 222 |
+
"memory": 1.0217896715403185e-06,
|
| 223 |
+
"memory_increment": 0.00040871583041734993,
|
| 224 |
+
"isotropic": 0.0026445663534104824
|
| 225 |
+
}
|
| 226 |
+
]
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"step": 800,
|
| 230 |
+
"training_loss": 0.002414199523627758,
|
| 231 |
+
"validation_loss": 0.00255440641194582,
|
| 232 |
+
"parts": [
|
| 233 |
+
{
|
| 234 |
+
"memory": 9.276888590648014e-07,
|
| 235 |
+
"memory_increment": 0.00037107555544935167,
|
| 236 |
+
"isotropic": 0.002383585786446929
|
| 237 |
+
}
|
| 238 |
+
]
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"step": 850,
|
| 242 |
+
"training_loss": 0.0026486117858439684,
|
| 243 |
+
"validation_loss": 0.002496701432392001,
|
| 244 |
+
"parts": [
|
| 245 |
+
{
|
| 246 |
+
"memory": 9.283982649321842e-07,
|
| 247 |
+
"memory_increment": 0.0003713592595886439,
|
| 248 |
+
"isotropic": 0.0026179745327681303
|
| 249 |
+
}
|
| 250 |
+
]
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"step": 900,
|
| 254 |
+
"training_loss": 0.002390088979154825,
|
| 255 |
+
"validation_loss": 0.002445582766085863,
|
| 256 |
+
"parts": [
|
| 257 |
+
{
|
| 258 |
+
"memory": 8.842687293508789e-07,
|
| 259 |
+
"memory_increment": 0.0003537074662744999,
|
| 260 |
+
"isotropic": 0.002360908081755042
|
| 261 |
+
}
|
| 262 |
+
]
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"step": 950,
|
| 266 |
+
"training_loss": 0.002240279456600547,
|
| 267 |
+
"validation_loss": 0.00238756719045341,
|
| 268 |
+
"parts": [
|
| 269 |
+
{
|
| 270 |
+
"memory": 8.642455213703215e-07,
|
| 271 |
+
"memory_increment": 0.0003456982085481286,
|
| 272 |
+
"isotropic": 0.0022117593325674534
|
| 273 |
+
}
|
| 274 |
+
]
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"step": 1000,
|
| 278 |
+
"training_loss": 0.0021301978267729282,
|
| 279 |
+
"validation_loss": 0.002347326371818781,
|
| 280 |
+
"parts": [
|
| 281 |
+
{
|
| 282 |
+
"memory": 7.982089300639927e-07,
|
| 283 |
+
"memory_increment": 0.00031928354292176664,
|
| 284 |
+
"isotropic": 0.002103856997564435
|
| 285 |
+
}
|
| 286 |
+
]
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"step": 1050,
|
| 290 |
+
"training_loss": 0.0023472632747143507,
|
| 291 |
+
"validation_loss": 0.0023127805907279253,
|
| 292 |
+
"parts": [
|
| 293 |
+
{
|
| 294 |
+
"memory": 7.872872629377525e-07,
|
| 295 |
+
"memory_increment": 0.00031491488334722817,
|
| 296 |
+
"isotropic": 0.0023212828673422337
|
| 297 |
+
}
|
| 298 |
+
]
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"step": 1100,
|
| 302 |
+
"training_loss": 0.0021100472658872604,
|
| 303 |
+
"validation_loss": 0.0022802299354225397,
|
| 304 |
+
"parts": [
|
| 305 |
+
{
|
| 306 |
+
"memory": 7.986157584127795e-07,
|
| 307 |
+
"memory_increment": 0.0003194462915416807,
|
| 308 |
+
"isotropic": 0.0020836929325014353
|
| 309 |
+
}
|
| 310 |
+
]
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"step": 1150,
|
| 314 |
+
"training_loss": 0.002431905595585704,
|
| 315 |
+
"validation_loss": 0.0022481908090412617,
|
| 316 |
+
"parts": [
|
| 317 |
+
{
|
| 318 |
+
"memory": 7.613999173372576e-07,
|
| 319 |
+
"memory_increment": 0.00030455997330136597,
|
| 320 |
+
"isotropic": 0.002406779443845153
|
| 321 |
+
}
|
| 322 |
+
]
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"step": 1200,
|
| 326 |
+
"training_loss": 0.002036560093984008,
|
| 327 |
+
"validation_loss": 0.0022161754313856363,
|
| 328 |
+
"parts": [
|
| 329 |
+
{
|
| 330 |
+
"memory": 7.16162958269706e-07,
|
| 331 |
+
"memory_increment": 0.00028646519058384,
|
| 332 |
+
"isotropic": 0.002012926619499922
|
| 333 |
+
}
|
| 334 |
+
]
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"step": 1250,
|
| 338 |
+
"training_loss": 0.002029558178037405,
|
| 339 |
+
"validation_loss": 0.0021957196295261383,
|
| 340 |
+
"parts": [
|
| 341 |
+
{
|
| 342 |
+
"memory": 7.488112601095054e-07,
|
| 343 |
+
"memory_increment": 0.0002995244867634028,
|
| 344 |
+
"isotropic": 0.0020048473961651325
|
| 345 |
+
}
|
| 346 |
+
]
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"step": 1300,
|
| 350 |
+
"training_loss": 0.002206856617704034,
|
| 351 |
+
"validation_loss": 0.0021706465631723404,
|
| 352 |
+
"parts": [
|
| 353 |
+
{
|
| 354 |
+
"memory": 7.776864663355809e-07,
|
| 355 |
+
"memory_increment": 0.00031107457471080124,
|
| 356 |
+
"isotropic": 0.002181192860007286
|
| 357 |
+
}
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"step": 1350,
|
| 362 |
+
"training_loss": 0.002176531357690692,
|
| 363 |
+
"validation_loss": 0.0021603142376989126,
|
| 364 |
+
"parts": [
|
| 365 |
+
{
|
| 366 |
+
"memory": 8.052656994550489e-07,
|
| 367 |
+
"memory_increment": 0.00032210626523010433,
|
| 368 |
+
"isotropic": 0.002149957697838545
|
| 369 |
+
}
|
| 370 |
+
]
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"step": 1400,
|
| 374 |
+
"training_loss": 0.0018960174638777971,
|
| 375 |
+
"validation_loss": 0.002141742268577218,
|
| 376 |
+
"parts": [
|
| 377 |
+
{
|
| 378 |
+
"memory": 7.04355443303939e-07,
|
| 379 |
+
"memory_increment": 0.00028174216276966035,
|
| 380 |
+
"isotropic": 0.0018727737478911877
|
| 381 |
+
}
|
| 382 |
+
]
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"step": 1450,
|
| 386 |
+
"training_loss": 0.002017018385231495,
|
| 387 |
+
"validation_loss": 0.0021376931108534336,
|
| 388 |
+
"parts": [
|
| 389 |
+
{
|
| 390 |
+
"memory": 6.527288860525005e-07,
|
| 391 |
+
"memory_increment": 0.00026109153986908495,
|
| 392 |
+
"isotropic": 0.001995478291064501
|
| 393 |
+
}
|
| 394 |
+
]
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"step": 1500,
|
| 398 |
+
"training_loss": 0.0022017306182533503,
|
| 399 |
+
"validation_loss": 0.002124976832419634,
|
| 400 |
+
"parts": [
|
| 401 |
+
{
|
| 402 |
+
"memory": 7.202597203104233e-07,
|
| 403 |
+
"memory_increment": 0.00028810385265387595,
|
| 404 |
+
"isotropic": 0.002177962101995945
|
| 405 |
+
}
|
| 406 |
+
]
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"step": 1550,
|
| 410 |
+
"training_loss": 0.0019684627186506987,
|
| 411 |
+
"validation_loss": 0.002117736730724573,
|
| 412 |
+
"parts": [
|
| 413 |
+
{
|
| 414 |
+
"memory": 7.163034752011299e-07,
|
| 415 |
+
"memory_increment": 0.0002865214191842824,
|
| 416 |
+
"isotropic": 0.0019448245875537395
|
| 417 |
+
}
|
| 418 |
+
]
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"step": 1600,
|
| 422 |
+
"training_loss": 0.0018888444174081087,
|
| 423 |
+
"validation_loss": 0.002114812610670924,
|
| 424 |
+
"parts": [
|
| 425 |
+
{
|
| 426 |
+
"memory": 7.032132884887687e-07,
|
| 427 |
+
"memory_increment": 0.00028128534904681146,
|
| 428 |
+
"isotropic": 0.0018656384199857712
|
| 429 |
+
}
|
| 430 |
+
]
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"step": 1650,
|
| 434 |
+
"training_loss": 0.0020980762783437967,
|
| 435 |
+
"validation_loss": 0.0021101408638060093,
|
| 436 |
+
"parts": [
|
| 437 |
+
{
|
| 438 |
+
"memory": 7.745496191091661e-07,
|
| 439 |
+
"memory_increment": 0.0003098198212683201,
|
| 440 |
+
"isotropic": 0.002072516130283475
|
| 441 |
+
}
|
| 442 |
+
]
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"step": 1700,
|
| 446 |
+
"training_loss": 0.0021070376969873905,
|
| 447 |
+
"validation_loss": 0.002107056323438883,
|
| 448 |
+
"parts": [
|
| 449 |
+
{
|
| 450 |
+
"memory": 7.216332846837759e-07,
|
| 451 |
+
"memory_increment": 0.0002886533329728991,
|
| 452 |
+
"isotropic": 0.0020832237787544727
|
| 453 |
+
}
|
| 454 |
+
]
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"step": 1750,
|
| 458 |
+
"training_loss": 0.0021576490253210068,
|
| 459 |
+
"validation_loss": 0.002104842336848378,
|
| 460 |
+
"parts": [
|
| 461 |
+
{
|
| 462 |
+
"memory": 7.674814810343378e-07,
|
| 463 |
+
"memory_increment": 0.0003069925878662616,
|
| 464 |
+
"isotropic": 0.002132322173565626
|
| 465 |
+
}
|
| 466 |
+
]
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"step": 1799,
|
| 470 |
+
"training_loss": 0.001918884925544262,
|
| 471 |
+
"validation_loss": 0.002103793667629361,
|
| 472 |
+
"parts": [
|
| 473 |
+
{
|
| 474 |
+
"memory": 7.188541530922521e-07,
|
| 475 |
+
"memory_increment": 0.0002875416539609432,
|
| 476 |
+
"isotropic": 0.0018951627425849438
|
| 477 |
+
}
|
| 478 |
+
]
|
| 479 |
+
}
|
| 480 |
+
]
|
| 481 |
+
},
|
| 482 |
+
"mixed_replay_transfer": {
|
| 483 |
+
"steps": 1800,
|
| 484 |
+
"seconds": 50.02973812492564,
|
| 485 |
+
"best_validation_loss": 6.160779548736173e-05,
|
| 486 |
+
"history": [
|
| 487 |
+
{
|
| 488 |
+
"step": 0,
|
| 489 |
+
"training_loss": 0.006545893847942352,
|
| 490 |
+
"validation_loss": 0.003815495176240802,
|
| 491 |
+
"parts": [
|
| 492 |
+
{
|
| 493 |
+
"memory": 7.275377242876857e-07,
|
| 494 |
+
"memory_increment": 0.00029101507971063256,
|
| 495 |
+
"isotropic": 0.002014537574723363
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"memory": 1.2750079804391135e-05,
|
| 499 |
+
"memory_increment": 0.005100031848996878,
|
| 500 |
+
"isotropic": 0.010632488876581192
|
| 501 |
+
}
|
| 502 |
+
]
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"step": 50,
|
| 506 |
+
"training_loss": 0.003670369042083621,
|
| 507 |
+
"validation_loss": 0.003733859513886273,
|
| 508 |
+
"parts": [
|
| 509 |
+
{
|
| 510 |
+
"memory": 3.3216940664715366e-06,
|
| 511 |
+
"memory_increment": 0.0013286774046719074,
|
| 512 |
+
"isotropic": 0.0016087869880720973
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"memory": 6.509424679279618e-07,
|
| 516 |
+
"memory_increment": 0.00026037698262371123,
|
| 517 |
+
"isotropic": 0.00560085428878665
|
| 518 |
+
}
|
| 519 |
+
]
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"step": 100,
|
| 523 |
+
"training_loss": 0.0018856871174648404,
|
| 524 |
+
"validation_loss": 0.002369391091633588,
|
| 525 |
+
"parts": [
|
| 526 |
+
{
|
| 527 |
+
"memory": 1.1174762448717956e-06,
|
| 528 |
+
"memory_increment": 0.0004469905106816441,
|
| 529 |
+
"isotropic": 0.0030428317841142416
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"memory": 2.7133822300129395e-07,
|
| 533 |
+
"memory_increment": 0.00010853529238374904,
|
| 534 |
+
"isotropic": 0.000682711717672646
|
| 535 |
+
}
|
| 536 |
+
]
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"step": 150,
|
| 540 |
+
"training_loss": 0.000559841631911695,
|
| 541 |
+
"validation_loss": 0.0008392769523197785,
|
| 542 |
+
"parts": [
|
| 543 |
+
{
|
| 544 |
+
"memory": 8.997163263302355e-07,
|
| 545 |
+
"memory_increment": 0.00035988647141493857,
|
| 546 |
+
"isotropic": 0.0009648081031627953
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"memory": 2.5709914197591388e-08,
|
| 550 |
+
"memory_increment": 1.02839649116504e-05,
|
| 551 |
+
"isotropic": 0.00012433614756446332
|
| 552 |
+
}
|
| 553 |
+
]
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"step": 200,
|
| 557 |
+
"training_loss": 0.00027361258980818093,
|
| 558 |
+
"validation_loss": 0.0004641592358893831,
|
| 559 |
+
"parts": [
|
| 560 |
+
{
|
| 561 |
+
"memory": 7.276498763530981e-07,
|
| 562 |
+
"memory_increment": 0.00029105995781719685,
|
| 563 |
+
"isotropic": 0.0004944257671013474
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"memory": 1.7359482740175736e-08,
|
| 567 |
+
"memory_increment": 6.94379332344397e-06,
|
| 568 |
+
"isotropic": 2.8214104531798512e-05
|
| 569 |
+
}
|
| 570 |
+
]
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"step": 250,
|
| 574 |
+
"training_loss": 0.00017583680164534599,
|
| 575 |
+
"validation_loss": 0.00036741856865774025,
|
| 576 |
+
"parts": [
|
| 577 |
+
{
|
| 578 |
+
"memory": 7.024609658401459e-07,
|
| 579 |
+
"memory_increment": 0.0002809843572322279,
|
| 580 |
+
"isotropic": 0.00031129876151680946
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"memory": 1.0127341631971376e-08,
|
| 584 |
+
"memory_increment": 4.0509371501684655e-06,
|
| 585 |
+
"isotropic": 1.685942515905481e-05
|
| 586 |
+
}
|
| 587 |
+
]
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"step": 300,
|
| 591 |
+
"training_loss": 0.0001664421579334885,
|
| 592 |
+
"validation_loss": 0.00030564095914087375,
|
| 593 |
+
"parts": [
|
| 594 |
+
{
|
| 595 |
+
"memory": 7.336275302805007e-07,
|
| 596 |
+
"memory_increment": 0.0002934509830083698,
|
| 597 |
+
"isotropic": 0.00029348465614020824
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"memory": 8.55655102327546e-09,
|
| 601 |
+
"memory_increment": 3.422620466153603e-06,
|
| 602 |
+
"isotropic": 1.4907578588463366e-05
|
| 603 |
+
}
|
| 604 |
+
]
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"step": 350,
|
| 608 |
+
"training_loss": 0.00011523719877004623,
|
| 609 |
+
"validation_loss": 0.0002577913564891787,
|
| 610 |
+
"parts": [
|
| 611 |
+
{
|
| 612 |
+
"memory": 6.854202183603775e-07,
|
| 613 |
+
"memory_increment": 0.00027416806551627815,
|
| 614 |
+
"isotropic": 0.00019301247084513307
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"memory": 7.174422389510937e-09,
|
| 618 |
+
"memory_increment": 2.869768877644674e-06,
|
| 619 |
+
"isotropic": 1.4606305740016978e-05
|
| 620 |
+
}
|
| 621 |
+
]
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"step": 400,
|
| 625 |
+
"training_loss": 0.00011516287486301735,
|
| 626 |
+
"validation_loss": 0.00020932222196279326,
|
| 627 |
+
"parts": [
|
| 628 |
+
{
|
| 629 |
+
"memory": 6.564043246726214e-07,
|
| 630 |
+
"memory_increment": 0.00026256171986460686,
|
| 631 |
+
"isotropic": 0.00019031301781069487
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"memory": 6.39444586170157e-09,
|
| 635 |
+
"memory_increment": 2.557778543632594e-06,
|
| 636 |
+
"isotropic": 1.814037750591524e-05
|
| 637 |
+
}
|
| 638 |
+
]
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"step": 450,
|
| 642 |
+
"training_loss": 9.122227493207902e-05,
|
| 643 |
+
"validation_loss": 0.00017706073958834168,
|
| 644 |
+
"parts": [
|
| 645 |
+
{
|
| 646 |
+
"memory": 5.885177074560488e-07,
|
| 647 |
+
"memory_increment": 0.00023540704569313675,
|
| 648 |
+
"isotropic": 0.00014778468175791204
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"memory": 7.953478764477495e-09,
|
| 652 |
+
"memory_increment": 3.1813913210498868e-06,
|
| 653 |
+
"isotropic": 1.4976330021454487e-05
|
| 654 |
+
}
|
| 655 |
+
]
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"step": 500,
|
| 659 |
+
"training_loss": 7.475566235370934e-05,
|
| 660 |
+
"validation_loss": 0.00015007785805210005,
|
| 661 |
+
"parts": [
|
| 662 |
+
{
|
| 663 |
+
"memory": 5.172495889382844e-07,
|
| 664 |
+
"memory_increment": 0.00020689982920885086,
|
| 665 |
+
"isotropic": 0.00011740269110305235
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"memory": 1.2206434973904834e-08,
|
| 669 |
+
"memory_increment": 4.882574557996122e-06,
|
| 670 |
+
"isotropic": 1.4636584637628403e-05
|
| 671 |
+
}
|
| 672 |
+
]
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"step": 550,
|
| 676 |
+
"training_loss": 7.446567178703845e-05,
|
| 677 |
+
"validation_loss": 0.00013029641013417859,
|
| 678 |
+
"parts": [
|
| 679 |
+
{
|
| 680 |
+
"memory": 4.900651333628048e-07,
|
| 681 |
+
"memory_increment": 0.00019602604152169079,
|
| 682 |
+
"isotropic": 0.00011800325592048466
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"memory": 9.085818319931604e-09,
|
| 686 |
+
"memory_increment": 3.6343271858640946e-06,
|
| 687 |
+
"isotropic": 1.4456096323556267e-05
|
| 688 |
+
}
|
| 689 |
+
]
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"step": 600,
|
| 693 |
+
"training_loss": 6.617439794354141e-05,
|
| 694 |
+
"validation_loss": 0.00011610129604378017,
|
| 695 |
+
"parts": [
|
| 696 |
+
{
|
| 697 |
+
"memory": 4.336741028510005e-07,
|
| 698 |
+
"memory_increment": 0.00017346964159514755,
|
| 699 |
+
"isotropic": 0.00010357535211369395
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"memory": 1.1032459390492022e-08,
|
| 703 |
+
"memory_increment": 4.412984253576724e-06,
|
| 704 |
+
"isotropic": 1.4098121027927846e-05
|
| 705 |
+
}
|
| 706 |
+
]
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"step": 650,
|
| 710 |
+
"training_loss": 6.687781569780782e-05,
|
| 711 |
+
"validation_loss": 0.0001082285025404417,
|
| 712 |
+
"parts": [
|
| 713 |
+
{
|
| 714 |
+
"memory": 3.752394661660219e-07,
|
| 715 |
+
"memory_increment": 0.0001500957878306508,
|
| 716 |
+
"isotropic": 0.00010540032235439867
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"memory": 6.583319223096851e-09,
|
| 720 |
+
"memory_increment": 2.6333279947721167e-06,
|
| 721 |
+
"isotropic": 1.5755156709928997e-05
|
| 722 |
+
}
|
| 723 |
+
]
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"step": 700,
|
| 727 |
+
"training_loss": 5.8656136388890445e-05,
|
| 728 |
+
"validation_loss": 0.00010089201123264502,
|
| 729 |
+
"parts": [
|
| 730 |
+
{
|
| 731 |
+
"memory": 3.589783261759294e-07,
|
| 732 |
+
"memory_increment": 0.0001435913291061297,
|
| 733 |
+
"isotropic": 9.10693415789865e-05
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"memory": 6.079604819575479e-09,
|
| 737 |
+
"memory_increment": 2.4318421765201492e-06,
|
| 738 |
+
"isotropic": 1.4196019037626684e-05
|
| 739 |
+
}
|
| 740 |
+
]
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"step": 750,
|
| 744 |
+
"training_loss": 5.039776806370355e-05,
|
| 745 |
+
"validation_loss": 9.080099243874429e-05,
|
| 746 |
+
"parts": [
|
| 747 |
+
{
|
| 748 |
+
"memory": 3.400801062980463e-07,
|
| 749 |
+
"memory_increment": 0.00013603204570244998,
|
| 750 |
+
"isotropic": 7.548701978521422e-05
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"memory": 7.864541906599243e-09,
|
| 754 |
+
"memory_increment": 3.145816663163714e-06,
|
| 755 |
+
"isotropic": 1.3826344002154656e-05
|
| 756 |
+
}
|
| 757 |
+
]
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"step": 800,
|
| 761 |
+
"training_loss": 4.819795140065253e-05,
|
| 762 |
+
"validation_loss": 8.580904841437587e-05,
|
| 763 |
+
"parts": [
|
| 764 |
+
{
|
| 765 |
+
"memory": 2.6455884949427855e-07,
|
| 766 |
+
"memory_increment": 0.00010582352842902765,
|
| 767 |
+
"isotropic": 7.395756983896717e-05
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"memory": 5.765150135061958e-09,
|
| 771 |
+
"memory_increment": 2.306059968759655e-06,
|
| 772 |
+
"isotropic": 1.3517639672500081e-05
|
| 773 |
+
}
|
| 774 |
+
]
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"step": 850,
|
| 778 |
+
"training_loss": 4.782037285622209e-05,
|
| 779 |
+
"validation_loss": 7.814131777195144e-05,
|
| 780 |
+
"parts": [
|
| 781 |
+
{
|
| 782 |
+
"memory": 3.234473524571513e-07,
|
| 783 |
+
"memory_increment": 0.00012937892461195588,
|
| 784 |
+
"isotropic": 7.089127757353708e-05
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"memory": 6.03230310147751e-09,
|
| 788 |
+
"memory_increment": 2.4129212761181407e-06,
|
| 789 |
+
"isotropic": 1.3876637240173295e-05
|
| 790 |
+
}
|
| 791 |
+
]
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"step": 900,
|
| 795 |
+
"training_loss": 5.934491127845831e-05,
|
| 796 |
+
"validation_loss": 8.075325467871153e-05,
|
| 797 |
+
"parts": [
|
| 798 |
+
{
|
| 799 |
+
"memory": 2.777813108423288e-07,
|
| 800 |
+
"memory_increment": 0.00011111251660622656,
|
| 801 |
+
"isotropic": 9.61145997280255e-05
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"memory": 8.39145908315686e-09,
|
| 805 |
+
"memory_increment": 3.356583647473599e-06,
|
| 806 |
+
"isotropic": 1.3131524610798806e-05
|
| 807 |
+
}
|
| 808 |
+
]
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"step": 950,
|
| 812 |
+
"training_loss": 5.07050208398141e-05,
|
| 813 |
+
"validation_loss": 7.336991711781593e-05,
|
| 814 |
+
"parts": [
|
| 815 |
+
{
|
| 816 |
+
"memory": 3.0131226935736777e-07,
|
| 817 |
+
"memory_increment": 0.00012052489910274744,
|
| 818 |
+
"isotropic": 7.769394142087549e-05
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"memory": 5.4461040122077975e-09,
|
| 822 |
+
"memory_increment": 2.1784417185699567e-06,
|
| 823 |
+
"isotropic": 1.3593078620033339e-05
|
| 824 |
+
}
|
| 825 |
+
]
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"step": 1000,
|
| 829 |
+
"training_loss": 4.498830094235018e-05,
|
| 830 |
+
"validation_loss": 7.57806205911038e-05,
|
| 831 |
+
"parts": [
|
| 832 |
+
{
|
| 833 |
+
"memory": 2.82899890180488e-07,
|
| 834 |
+
"memory_increment": 0.00011315996380290017,
|
| 835 |
+
"isotropic": 6.767357990611345e-05
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"memory": 7.496495868508646e-09,
|
| 839 |
+
"memory_increment": 2.9985978926561074e-06,
|
| 840 |
+
"isotropic": 1.2719941878458485e-05
|
| 841 |
+
}
|
| 842 |
+
]
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"step": 1050,
|
| 846 |
+
"training_loss": 4.8288959078490734e-05,
|
| 847 |
+
"validation_loss": 7.426475940519595e-05,
|
| 848 |
+
"parts": [
|
| 849 |
+
{
|
| 850 |
+
"memory": 2.9307878435247403e-07,
|
| 851 |
+
"memory_increment": 0.00011723150964826345,
|
| 852 |
+
"isotropic": 7.44291246519424e-05
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"memory": 6.139166952578989e-09,
|
| 856 |
+
"memory_increment": 2.4556666176067665e-06,
|
| 857 |
+
"isotropic": 1.2274599612283055e-05
|
| 858 |
+
}
|
| 859 |
+
]
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"step": 1100,
|
| 863 |
+
"training_loss": 4.184485806035809e-05,
|
| 864 |
+
"validation_loss": 7.127653225325048e-05,
|
| 865 |
+
"parts": [
|
| 866 |
+
{
|
| 867 |
+
"memory": 2.612330547435704e-07,
|
| 868 |
+
"memory_increment": 0.0001044932214426808,
|
| 869 |
+
"isotropic": 6.196618778631091e-05
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"memory": 5.002579683832664e-09,
|
| 873 |
+
"memory_increment": 2.001031816689647e-06,
|
| 874 |
+
"isotropic": 1.2937747669639066e-05
|
| 875 |
+
}
|
| 876 |
+
]
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"step": 1150,
|
| 880 |
+
"training_loss": 4.524519317783415e-05,
|
| 881 |
+
"validation_loss": 6.844787048976286e-05,
|
| 882 |
+
"parts": [
|
| 883 |
+
{
|
| 884 |
+
"memory": 2.3318166597618983e-07,
|
| 885 |
+
"memory_increment": 9.327267616754398e-05,
|
| 886 |
+
"isotropic": 7.014151196926832e-05
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"memory": 5.022595672699026e-09,
|
| 890 |
+
"memory_increment": 2.0090383259230293e-06,
|
| 891 |
+
"isotropic": 1.2488130778365303e-05
|
| 892 |
+
}
|
| 893 |
+
]
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"step": 1200,
|
| 897 |
+
"training_loss": 4.170767351752147e-05,
|
| 898 |
+
"validation_loss": 6.784230072298669e-05,
|
| 899 |
+
"parts": [
|
| 900 |
+
{
|
| 901 |
+
"memory": 2.253542703556377e-07,
|
| 902 |
+
"memory_increment": 9.01417006389238e-05,
|
| 903 |
+
"isotropic": 6.351722549879923e-05
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"memory": 4.771462780439606e-09,
|
| 907 |
+
"memory_increment": 1.9085850908595603e-06,
|
| 908 |
+
"isotropic": 1.2303971743676811e-05
|
| 909 |
+
}
|
| 910 |
+
]
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"step": 1250,
|
| 914 |
+
"training_loss": 4.643041029339656e-05,
|
| 915 |
+
"validation_loss": 6.792984049752704e-05,
|
| 916 |
+
"parts": [
|
| 917 |
+
{
|
| 918 |
+
"memory": 2.54997019055736e-07,
|
| 919 |
+
"memory_increment": 0.00010199881944572553,
|
| 920 |
+
"isotropic": 7.153432670747861e-05
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"memory": 4.736773195901378e-09,
|
| 924 |
+
"memory_increment": 1.8947093849419616e-06,
|
| 925 |
+
"isotropic": 1.2755283023579977e-05
|
| 926 |
+
}
|
| 927 |
+
]
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"step": 1300,
|
| 931 |
+
"training_loss": 4.20425676566083e-05,
|
| 932 |
+
"validation_loss": 6.700846051899134e-05,
|
| 933 |
+
"parts": [
|
| 934 |
+
{
|
| 935 |
+
"memory": 2.2474314675946516e-07,
|
| 936 |
+
"memory_increment": 8.989725756691769e-05,
|
| 937 |
+
"isotropic": 6.429435597965494e-05
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"memory": 6.150134623794656e-09,
|
| 941 |
+
"memory_increment": 2.4600537926744437e-06,
|
| 942 |
+
"isotropic": 1.2171300113550387e-05
|
| 943 |
+
}
|
| 944 |
+
]
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"step": 1350,
|
| 948 |
+
"training_loss": 4.343300679465756e-05,
|
| 949 |
+
"validation_loss": 6.416420683308388e-05,
|
| 950 |
+
"parts": [
|
| 951 |
+
{
|
| 952 |
+
"memory": 3.037349358692154e-07,
|
| 953 |
+
"memory_increment": 0.0001214939693454653,
|
| 954 |
+
"isotropic": 6.458836287492886e-05
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"memory": 4.354863580857682e-09,
|
| 958 |
+
"memory_increment": 1.7419453115508077e-06,
|
| 959 |
+
"isotropic": 1.2110694115108345e-05
|
| 960 |
+
}
|
| 961 |
+
]
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"step": 1400,
|
| 965 |
+
"training_loss": 4.4927823182661086e-05,
|
| 966 |
+
"validation_loss": 6.386462473528809e-05,
|
| 967 |
+
"parts": [
|
| 968 |
+
{
|
| 969 |
+
"memory": 2.2695826373819727e-07,
|
| 970 |
+
"memory_increment": 9.078329458134249e-05,
|
| 971 |
+
"isotropic": 6.991878035478294e-05
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"memory": 4.696678157500855e-09,
|
| 975 |
+
"memory_increment": 1.87867124168406e-06,
|
| 976 |
+
"isotropic": 1.2292251994949766e-05
|
| 977 |
+
}
|
| 978 |
+
]
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"step": 1450,
|
| 982 |
+
"training_loss": 3.9944749005371705e-05,
|
| 983 |
+
"validation_loss": 6.309601212706184e-05,
|
| 984 |
+
"parts": [
|
| 985 |
+
{
|
| 986 |
+
"memory": 2.3430008866398566e-07,
|
| 987 |
+
"memory_increment": 9.372003842145205e-05,
|
| 988 |
+
"isotropic": 5.999761197017506e-05
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"memory": 4.497542782644359e-09,
|
| 992 |
+
"memory_increment": 1.7990172409554361e-06,
|
| 993 |
+
"isotropic": 1.2011563740088604e-05
|
| 994 |
+
}
|
| 995 |
+
]
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"step": 1500,
|
| 999 |
+
"training_loss": 3.8237030821619555e-05,
|
| 1000 |
+
"validation_loss": 6.352998843794921e-05,
|
| 1001 |
+
"parts": [
|
| 1002 |
+
{
|
| 1003 |
+
"memory": 2.3817766248157568e-07,
|
| 1004 |
+
"memory_increment": 9.527106158202514e-05,
|
| 1005 |
+
"isotropic": 5.676700675394386e-05
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"memory": 4.642750184302713e-09,
|
| 1009 |
+
"memory_increment": 1.8571003010947607e-06,
|
| 1010 |
+
"isotropic": 1.1693980923155323e-05
|
| 1011 |
+
}
|
| 1012 |
+
]
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"step": 1550,
|
| 1016 |
+
"training_loss": 4.096412885701284e-05,
|
| 1017 |
+
"validation_loss": 6.218396720214514e-05,
|
| 1018 |
+
"parts": [
|
| 1019 |
+
{
|
| 1020 |
+
"memory": 2.89428896849131e-07,
|
| 1021 |
+
"memory_increment": 0.00011577155237318948,
|
| 1022 |
+
"isotropic": 5.9732810768764466e-05
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"memory": 4.4682111344229725e-09,
|
| 1026 |
+
"memory_increment": 1.7872844182420522e-06,
|
| 1027 |
+
"isotropic": 1.2496842828113586e-05
|
| 1028 |
+
}
|
| 1029 |
+
]
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"step": 1600,
|
| 1033 |
+
"training_loss": 4.124959377804771e-05,
|
| 1034 |
+
"validation_loss": 6.253435185499256e-05,
|
| 1035 |
+
"parts": [
|
| 1036 |
+
{
|
| 1037 |
+
"memory": 2.3666071058414673e-07,
|
| 1038 |
+
"memory_increment": 9.466429037274793e-05,
|
| 1039 |
+
"isotropic": 6.281367677729577e-05
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"memory": 4.544055798305635e-09,
|
| 1043 |
+
"memory_increment": 1.8176224330090918e-06,
|
| 1044 |
+
"isotropic": 1.1725755939551163e-05
|
| 1045 |
+
}
|
| 1046 |
+
]
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"step": 1650,
|
| 1050 |
+
"training_loss": 4.0313414501724765e-05,
|
| 1051 |
+
"validation_loss": 6.165193508422817e-05,
|
| 1052 |
+
"parts": [
|
| 1053 |
+
{
|
| 1054 |
+
"memory": 2.2701762247834267e-07,
|
| 1055 |
+
"memory_increment": 9.080705785891041e-05,
|
| 1056 |
+
"isotropic": 6.126718653831631e-05
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"memory": 4.447815005192979e-09,
|
| 1060 |
+
"memory_increment": 1.7791259097066359e-06,
|
| 1061 |
+
"isotropic": 1.1721284863597248e-05
|
| 1062 |
+
}
|
| 1063 |
+
]
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"step": 1700,
|
| 1067 |
+
"training_loss": 4.147783693042584e-05,
|
| 1068 |
+
"validation_loss": 6.179737420097808e-05,
|
| 1069 |
+
"parts": [
|
| 1070 |
+
{
|
| 1071 |
+
"memory": 2.519715280868695e-07,
|
| 1072 |
+
"memory_increment": 0.00010078862396767363,
|
| 1073 |
+
"isotropic": 6.235406908672303e-05
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"memory": 4.805983166988881e-09,
|
| 1077 |
+
"memory_increment": 1.9223932667955523e-06,
|
| 1078 |
+
"isotropic": 1.2127950867579784e-05
|
| 1079 |
+
}
|
| 1080 |
+
]
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"step": 1750,
|
| 1084 |
+
"training_loss": 4.220262781018391e-05,
|
| 1085 |
+
"validation_loss": 6.180903437780216e-05,
|
| 1086 |
+
"parts": [
|
| 1087 |
+
{
|
| 1088 |
+
"memory": 1.9935880857246957e-07,
|
| 1089 |
+
"memory_increment": 7.974352774908766e-05,
|
| 1090 |
+
"isotropic": 6.601509812753648e-05
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"memory": 4.46297709899568e-09,
|
| 1094 |
+
"memory_increment": 1.785190761438571e-06,
|
| 1095 |
+
"isotropic": 1.1664034900604747e-05
|
| 1096 |
+
}
|
| 1097 |
+
]
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"step": 1799,
|
| 1101 |
+
"training_loss": 3.896626367350109e-05,
|
| 1102 |
+
"validation_loss": 6.160779548736173e-05,
|
| 1103 |
+
"parts": [
|
| 1104 |
+
{
|
| 1105 |
+
"memory": 2.6386720719528967e-07,
|
| 1106 |
+
"memory_increment": 0.00010554687469266355,
|
| 1107 |
+
"isotropic": 5.74350415263325e-05
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"memory": 4.9965245274563586e-09,
|
| 1111 |
+
"memory_increment": 1.9986098322988255e-06,
|
| 1112 |
+
"isotropic": 1.1624979379121214e-05
|
| 1113 |
+
}
|
| 1114 |
+
]
|
| 1115 |
+
}
|
| 1116 |
+
]
|
| 1117 |
+
},
|
| 1118 |
+
"hidden_only_scratch": {
|
| 1119 |
+
"steps": 1800,
|
| 1120 |
+
"seconds": 25.704119832953438,
|
| 1121 |
+
"best_validation_loss": 2.293513171025552e-05,
|
| 1122 |
+
"history": [
|
| 1123 |
+
{
|
| 1124 |
+
"step": 0,
|
| 1125 |
+
"training_loss": 4.732668399810791,
|
| 1126 |
+
"validation_loss": 3.2405853271484375,
|
| 1127 |
+
"parts": [
|
| 1128 |
+
{
|
| 1129 |
+
"memory": 5.1223232730990276e-05,
|
| 1130 |
+
"memory_increment": 0.020489292219281197,
|
| 1131 |
+
"isotropic": 4.730978012084961
|
| 1132 |
+
}
|
| 1133 |
+
]
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"step": 50,
|
| 1137 |
+
"training_loss": 0.006909834686666727,
|
| 1138 |
+
"validation_loss": 0.003675746498629451,
|
| 1139 |
+
"parts": [
|
| 1140 |
+
{
|
| 1141 |
+
"memory": 2.2344145236274926e-06,
|
| 1142 |
+
"memory_increment": 0.0008937657694332302,
|
| 1143 |
+
"isotropic": 0.006836099084466696
|
| 1144 |
+
}
|
| 1145 |
+
]
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"step": 100,
|
| 1149 |
+
"training_loss": 0.00881621427834034,
|
| 1150 |
+
"validation_loss": 0.010298730805516243,
|
| 1151 |
+
"parts": [
|
| 1152 |
+
{
|
| 1153 |
+
"memory": 4.939273434700908e-09,
|
| 1154 |
+
"memory_increment": 1.975709210455534e-06,
|
| 1155 |
+
"isotropic": 0.008816051296889782
|
| 1156 |
+
}
|
| 1157 |
+
]
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"step": 150,
|
| 1161 |
+
"training_loss": 0.005194312892854214,
|
| 1162 |
+
"validation_loss": 0.00481385737657547,
|
| 1163 |
+
"parts": [
|
| 1164 |
+
{
|
| 1165 |
+
"memory": 2.755304873147679e-10,
|
| 1166 |
+
"memory_increment": 1.1021219137319349e-07,
|
| 1167 |
+
"isotropic": 0.0051943035796284676
|
| 1168 |
+
}
|
| 1169 |
+
]
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"step": 200,
|
| 1173 |
+
"training_loss": 0.0049345302395522594,
|
| 1174 |
+
"validation_loss": 0.004461184609681368,
|
| 1175 |
+
"parts": [
|
| 1176 |
+
{
|
| 1177 |
+
"memory": 1.678465838539367e-10,
|
| 1178 |
+
"memory_increment": 6.713863598406533e-08,
|
| 1179 |
+
"isotropic": 0.004934524651616812
|
| 1180 |
+
}
|
| 1181 |
+
]
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"step": 250,
|
| 1185 |
+
"training_loss": 0.004877340979874134,
|
| 1186 |
+
"validation_loss": 0.004344725515693426,
|
| 1187 |
+
"parts": [
|
| 1188 |
+
{
|
| 1189 |
+
"memory": 1.5428580635301614e-10,
|
| 1190 |
+
"memory_increment": 6.17143243175633e-08,
|
| 1191 |
+
"isotropic": 0.004877335857599974
|
| 1192 |
+
}
|
| 1193 |
+
]
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"step": 300,
|
| 1197 |
+
"training_loss": 0.004643787629902363,
|
| 1198 |
+
"validation_loss": 0.004101240541785955,
|
| 1199 |
+
"parts": [
|
| 1200 |
+
{
|
| 1201 |
+
"memory": 1.3926020059340516e-10,
|
| 1202 |
+
"memory_increment": 5.5704088453012446e-08,
|
| 1203 |
+
"isotropic": 0.00464378297328949
|
| 1204 |
+
}
|
| 1205 |
+
]
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"step": 350,
|
| 1209 |
+
"training_loss": 0.004288701806217432,
|
| 1210 |
+
"validation_loss": 0.003873748704791069,
|
| 1211 |
+
"parts": [
|
| 1212 |
+
{
|
| 1213 |
+
"memory": 1.2238621227567137e-10,
|
| 1214 |
+
"memory_increment": 4.895447958119803e-08,
|
| 1215 |
+
"isotropic": 0.004288697615265846
|
| 1216 |
+
}
|
| 1217 |
+
]
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"step": 400,
|
| 1221 |
+
"training_loss": 0.0039852396585047245,
|
| 1222 |
+
"validation_loss": 0.003515031887218356,
|
| 1223 |
+
"parts": [
|
| 1224 |
+
{
|
| 1225 |
+
"memory": 1.0546372108954927e-10,
|
| 1226 |
+
"memory_increment": 4.2185490656265756e-08,
|
| 1227 |
+
"isotropic": 0.003985236398875713
|
| 1228 |
+
}
|
| 1229 |
+
]
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"step": 450,
|
| 1233 |
+
"training_loss": 0.0035545688588172197,
|
| 1234 |
+
"validation_loss": 0.0030763098038733006,
|
| 1235 |
+
"parts": [
|
| 1236 |
+
{
|
| 1237 |
+
"memory": 9.371187853490781e-11,
|
| 1238 |
+
"memory_increment": 3.748476018472502e-08,
|
| 1239 |
+
"isotropic": 0.0035545658320188522
|
| 1240 |
+
}
|
| 1241 |
+
]
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"step": 500,
|
| 1245 |
+
"training_loss": 0.0029117732774466276,
|
| 1246 |
+
"validation_loss": 0.0025257342495024204,
|
| 1247 |
+
"parts": [
|
| 1248 |
+
{
|
| 1249 |
+
"memory": 7.50612419442298e-11,
|
| 1250 |
+
"memory_increment": 3.002449489031278e-08,
|
| 1251 |
+
"isotropic": 0.0029117707163095474
|
| 1252 |
+
}
|
| 1253 |
+
]
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"step": 550,
|
| 1257 |
+
"training_loss": 0.00229408941231668,
|
| 1258 |
+
"validation_loss": 0.0019332115771248937,
|
| 1259 |
+
"parts": [
|
| 1260 |
+
{
|
| 1261 |
+
"memory": 5.997602414709036e-11,
|
| 1262 |
+
"memory_increment": 2.3990409658836143e-08,
|
| 1263 |
+
"isotropic": 0.002294087316840887
|
| 1264 |
+
}
|
| 1265 |
+
]
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"step": 600,
|
| 1269 |
+
"training_loss": 0.0017096464289352298,
|
| 1270 |
+
"validation_loss": 0.0013170384336262941,
|
| 1271 |
+
"parts": [
|
| 1272 |
+
{
|
| 1273 |
+
"memory": 5.3151812812179955e-11,
|
| 1274 |
+
"memory_increment": 2.1260726512650763e-08,
|
| 1275 |
+
"isotropic": 0.0017096446827054024
|
| 1276 |
+
}
|
| 1277 |
+
]
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"step": 650,
|
| 1281 |
+
"training_loss": 0.0010723861632868648,
|
| 1282 |
+
"validation_loss": 0.0008048504823818803,
|
| 1283 |
+
"parts": [
|
| 1284 |
+
{
|
| 1285 |
+
"memory": 4.322208910223502e-11,
|
| 1286 |
+
"memory_increment": 1.7288835252315948e-08,
|
| 1287 |
+
"isotropic": 0.0010723847663030028
|
| 1288 |
+
}
|
| 1289 |
+
]
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"step": 700,
|
| 1293 |
+
"training_loss": 0.0006985939107835293,
|
| 1294 |
+
"validation_loss": 0.0004461847129277885,
|
| 1295 |
+
"parts": [
|
| 1296 |
+
{
|
| 1297 |
+
"memory": 3.519823668640676e-11,
|
| 1298 |
+
"memory_increment": 1.4079295063140762e-08,
|
| 1299 |
+
"isotropic": 0.000698592746630311
|
| 1300 |
+
}
|
| 1301 |
+
]
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"step": 750,
|
| 1305 |
+
"training_loss": 0.0004523714305832982,
|
| 1306 |
+
"validation_loss": 0.00023355588200502098,
|
| 1307 |
+
"parts": [
|
| 1308 |
+
{
|
| 1309 |
+
"memory": 2.7474243366465423e-11,
|
| 1310 |
+
"memory_increment": 1.098969715229714e-08,
|
| 1311 |
+
"isotropic": 0.00045237052836455405
|
| 1312 |
+
}
|
| 1313 |
+
]
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"step": 800,
|
| 1317 |
+
"training_loss": 0.00025780670694075525,
|
| 1318 |
+
"validation_loss": 0.00012148380483267829,
|
| 1319 |
+
"parts": [
|
| 1320 |
+
{
|
| 1321 |
+
"memory": 2.546138473669135e-11,
|
| 1322 |
+
"memory_increment": 1.018455275669794e-08,
|
| 1323 |
+
"isotropic": 0.000257805862929672
|
| 1324 |
+
}
|
| 1325 |
+
]
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"step": 850,
|
| 1329 |
+
"training_loss": 0.00017130978812929243,
|
| 1330 |
+
"validation_loss": 6.880855653434992e-05,
|
| 1331 |
+
"parts": [
|
| 1332 |
+
{
|
| 1333 |
+
"memory": 2.07623640502419e-11,
|
| 1334 |
+
"memory_increment": 8.30494606418597e-09,
|
| 1335 |
+
"isotropic": 0.0001713091041892767
|
| 1336 |
+
}
|
| 1337 |
+
]
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"step": 900,
|
| 1341 |
+
"training_loss": 0.0001258852134924382,
|
| 1342 |
+
"validation_loss": 4.189306855550967e-05,
|
| 1343 |
+
"parts": [
|
| 1344 |
+
{
|
| 1345 |
+
"memory": 2.0567126127191138e-11,
|
| 1346 |
+
"memory_increment": 8.226850312098577e-09,
|
| 1347 |
+
"isotropic": 0.00012588452955242246
|
| 1348 |
+
}
|
| 1349 |
+
]
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"step": 950,
|
| 1353 |
+
"training_loss": 9.70708133536391e-05,
|
| 1354 |
+
"validation_loss": 3.122831913060509e-05,
|
| 1355 |
+
"parts": [
|
| 1356 |
+
{
|
| 1357 |
+
"memory": 1.9188964653360507e-11,
|
| 1358 |
+
"memory_increment": 7.67558727687856e-09,
|
| 1359 |
+
"isotropic": 9.707018034532666e-05
|
| 1360 |
+
}
|
| 1361 |
+
]
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"step": 1000,
|
| 1365 |
+
"training_loss": 7.699185516685247e-05,
|
| 1366 |
+
"validation_loss": 2.5597153580747545e-05,
|
| 1367 |
+
"parts": [
|
| 1368 |
+
{
|
| 1369 |
+
"memory": 1.7495409634915582e-11,
|
| 1370 |
+
"memory_increment": 6.998165158478287e-09,
|
| 1371 |
+
"isotropic": 7.699128036620095e-05
|
| 1372 |
+
}
|
| 1373 |
+
]
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"step": 1050,
|
| 1377 |
+
"training_loss": 6.58727076370269e-05,
|
| 1378 |
+
"validation_loss": 2.3897735445643775e-05,
|
| 1379 |
+
"parts": [
|
| 1380 |
+
{
|
| 1381 |
+
"memory": 1.570901915493028e-11,
|
| 1382 |
+
"memory_increment": 6.283608744439562e-09,
|
| 1383 |
+
"isotropic": 6.58721910440363e-05
|
| 1384 |
+
}
|
| 1385 |
+
]
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"step": 1100,
|
| 1389 |
+
"training_loss": 6.214585300767794e-05,
|
| 1390 |
+
"validation_loss": 2.322674663446378e-05,
|
| 1391 |
+
"parts": [
|
| 1392 |
+
{
|
| 1393 |
+
"memory": 1.595459875325389e-11,
|
| 1394 |
+
"memory_increment": 6.381839501301556e-09,
|
| 1395 |
+
"isotropic": 6.214532913872972e-05
|
| 1396 |
+
}
|
| 1397 |
+
]
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"step": 1150,
|
| 1401 |
+
"training_loss": 5.648308069794439e-05,
|
| 1402 |
+
"validation_loss": 2.293513171025552e-05,
|
| 1403 |
+
"parts": [
|
| 1404 |
+
{
|
| 1405 |
+
"memory": 1.626034897006523e-11,
|
| 1406 |
+
"memory_increment": 6.504139893337424e-09,
|
| 1407 |
+
"isotropic": 5.6482545915059745e-05
|
| 1408 |
+
}
|
| 1409 |
+
]
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"step": 1200,
|
| 1413 |
+
"training_loss": 5.466472794068977e-05,
|
| 1414 |
+
"validation_loss": 2.3020364096737467e-05,
|
| 1415 |
+
"parts": [
|
| 1416 |
+
{
|
| 1417 |
+
"memory": 1.613195688143776e-11,
|
| 1418 |
+
"memory_increment": 6.4527831966643134e-09,
|
| 1419 |
+
"isotropic": 5.466419679578394e-05
|
| 1420 |
+
}
|
| 1421 |
+
]
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"step": 1250,
|
| 1425 |
+
"training_loss": 5.075406079413369e-05,
|
| 1426 |
+
"validation_loss": 2.3211940060718916e-05,
|
| 1427 |
+
"parts": [
|
| 1428 |
+
{
|
| 1429 |
+
"memory": 1.5178185097664e-11,
|
| 1430 |
+
"memory_increment": 6.071275038266322e-09,
|
| 1431 |
+
"isotropic": 5.0753558753058314e-05
|
| 1432 |
+
}
|
| 1433 |
+
]
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"step": 1300,
|
| 1437 |
+
"training_loss": 5.417808279162273e-05,
|
| 1438 |
+
"validation_loss": 2.3392763978336006e-05,
|
| 1439 |
+
"parts": [
|
| 1440 |
+
{
|
| 1441 |
+
"memory": 1.6214599107833294e-11,
|
| 1442 |
+
"memory_increment": 6.485839421088713e-09,
|
| 1443 |
+
"isotropic": 5.4177548008738086e-05
|
| 1444 |
+
}
|
| 1445 |
+
]
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"step": 1350,
|
| 1449 |
+
"training_loss": 4.777199501404539e-05,
|
| 1450 |
+
"validation_loss": 2.335544013476465e-05,
|
| 1451 |
+
"parts": [
|
| 1452 |
+
{
|
| 1453 |
+
"memory": 1.446661540560612e-11,
|
| 1454 |
+
"memory_increment": 5.78664716144317e-09,
|
| 1455 |
+
"isotropic": 4.777151843882166e-05
|
| 1456 |
+
}
|
| 1457 |
+
]
|
| 1458 |
+
},
|
| 1459 |
+
{
|
| 1460 |
+
"step": 1400,
|
| 1461 |
+
"training_loss": 4.685507155954838e-05,
|
| 1462 |
+
"validation_loss": 2.3355551093118265e-05,
|
| 1463 |
+
"parts": [
|
| 1464 |
+
{
|
| 1465 |
+
"memory": 1.675454740224236e-11,
|
| 1466 |
+
"memory_increment": 6.701818211496402e-09,
|
| 1467 |
+
"isotropic": 4.68545185867697e-05
|
| 1468 |
+
}
|
| 1469 |
+
]
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"step": 1450,
|
| 1473 |
+
"training_loss": 4.642713975044899e-05,
|
| 1474 |
+
"validation_loss": 2.3317816157941706e-05,
|
| 1475 |
+
"parts": [
|
| 1476 |
+
{
|
| 1477 |
+
"memory": 1.5676697787125882e-11,
|
| 1478 |
+
"memory_increment": 6.270679531183987e-09,
|
| 1479 |
+
"isotropic": 4.642662315745838e-05
|
| 1480 |
+
}
|
| 1481 |
+
]
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"step": 1500,
|
| 1485 |
+
"training_loss": 4.794316919287667e-05,
|
| 1486 |
+
"validation_loss": 2.3291719116969034e-05,
|
| 1487 |
+
"parts": [
|
| 1488 |
+
{
|
| 1489 |
+
"memory": 1.5862778104946962e-11,
|
| 1490 |
+
"memory_increment": 6.3451115472901165e-09,
|
| 1491 |
+
"isotropic": 4.7942645323928446e-05
|
| 1492 |
+
}
|
| 1493 |
+
]
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"step": 1550,
|
| 1497 |
+
"training_loss": 4.5400589442579076e-05,
|
| 1498 |
+
"validation_loss": 2.3350969058810733e-05,
|
| 1499 |
+
"parts": [
|
| 1500 |
+
{
|
| 1501 |
+
"memory": 1.5582389545354403e-11,
|
| 1502 |
+
"memory_increment": 6.232956817342483e-09,
|
| 1503 |
+
"isotropic": 4.5400076487567276e-05
|
| 1504 |
+
}
|
| 1505 |
+
]
|
| 1506 |
+
},
|
| 1507 |
+
{
|
| 1508 |
+
"step": 1600,
|
| 1509 |
+
"training_loss": 4.783019539900124e-05,
|
| 1510 |
+
"validation_loss": 2.334109740331769e-05,
|
| 1511 |
+
"parts": [
|
| 1512 |
+
{
|
| 1513 |
+
"memory": 1.5222687693716708e-11,
|
| 1514 |
+
"memory_increment": 6.089075466064742e-09,
|
| 1515 |
+
"isotropic": 4.782969335792586e-05
|
| 1516 |
+
}
|
| 1517 |
+
]
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"step": 1650,
|
| 1521 |
+
"training_loss": 4.9461163143860176e-05,
|
| 1522 |
+
"validation_loss": 2.3296663130167872e-05,
|
| 1523 |
+
"parts": [
|
| 1524 |
+
{
|
| 1525 |
+
"memory": 1.4865872421943038e-11,
|
| 1526 |
+
"memory_increment": 5.94634963491103e-09,
|
| 1527 |
+
"isotropic": 4.946067201672122e-05
|
| 1528 |
+
}
|
| 1529 |
+
]
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"step": 1700,
|
| 1533 |
+
"training_loss": 4.663063373300247e-05,
|
| 1534 |
+
"validation_loss": 2.331633550056722e-05,
|
| 1535 |
+
"parts": [
|
| 1536 |
+
{
|
| 1537 |
+
"memory": 1.5134598435606605e-11,
|
| 1538 |
+
"memory_increment": 6.053839651798398e-09,
|
| 1539 |
+
"isotropic": 4.66301353299059e-05
|
| 1540 |
+
}
|
| 1541 |
+
]
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"step": 1750,
|
| 1545 |
+
"training_loss": 4.998930307920091e-05,
|
| 1546 |
+
"validation_loss": 2.3296217477764003e-05,
|
| 1547 |
+
"parts": [
|
| 1548 |
+
{
|
| 1549 |
+
"memory": 1.5263222977179858e-11,
|
| 1550 |
+
"memory_increment": 6.1052891631163675e-09,
|
| 1551 |
+
"isotropic": 4.998880103812553e-05
|
| 1552 |
+
}
|
| 1553 |
+
]
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"step": 1799,
|
| 1557 |
+
"training_loss": 4.239277041051537e-05,
|
| 1558 |
+
"validation_loss": 2.3301301553146914e-05,
|
| 1559 |
+
"parts": [
|
| 1560 |
+
{
|
| 1561 |
+
"memory": 1.3586305691593026e-11,
|
| 1562 |
+
"memory_increment": 5.434522609704118e-09,
|
| 1563 |
+
"isotropic": 4.2392322939122096e-05
|
| 1564 |
+
}
|
| 1565 |
+
]
|
| 1566 |
+
}
|
| 1567 |
+
]
|
| 1568 |
+
}
|
| 1569 |
+
},
|
| 1570 |
+
"evaluation": {
|
| 1571 |
+
"v1_test": {
|
| 1572 |
+
"transfer": {
|
| 1573 |
+
"trajectory_count": 120,
|
| 1574 |
+
"rmse_mpa": 2.640390396118164,
|
| 1575 |
+
"mae_mpa": 0.9530788064002991,
|
| 1576 |
+
"r2": 0.9994693398475647,
|
| 1577 |
+
"state_point_count": 14520
|
| 1578 |
+
},
|
| 1579 |
+
"scratch": null
|
| 1580 |
+
},
|
| 1581 |
+
"v2_id": {
|
| 1582 |
+
"transfer": {
|
| 1583 |
+
"trajectory_count": 83,
|
| 1584 |
+
"rmse_mpa": 3.3870186805725098,
|
| 1585 |
+
"mae_mpa": 1.3039674758911133,
|
| 1586 |
+
"r2": 0.999161422252655,
|
| 1587 |
+
"state_point_count": 20003
|
| 1588 |
+
},
|
| 1589 |
+
"scratch": null
|
| 1590 |
+
},
|
| 1591 |
+
"v2_path_ood": {
|
| 1592 |
+
"transfer": {
|
| 1593 |
+
"trajectory_count": 200,
|
| 1594 |
+
"rmse_mpa": 3.350754737854004,
|
| 1595 |
+
"mae_mpa": 1.5778239965438843,
|
| 1596 |
+
"r2": 0.9991649985313416,
|
| 1597 |
+
"state_point_count": 48200
|
| 1598 |
+
},
|
| 1599 |
+
"scratch": null
|
| 1600 |
+
},
|
| 1601 |
+
"v2_parameter_ood": {
|
| 1602 |
+
"transfer": {
|
| 1603 |
+
"trajectory_count": 65,
|
| 1604 |
+
"rmse_mpa": 4.2923688888549805,
|
| 1605 |
+
"mae_mpa": 1.649884581565857,
|
| 1606 |
+
"r2": 0.9985179305076599,
|
| 1607 |
+
"state_point_count": 15665
|
| 1608 |
+
},
|
| 1609 |
+
"scratch": null
|
| 1610 |
+
},
|
| 1611 |
+
"v2_id+path_ood": {
|
| 1612 |
+
"transfer": {
|
| 1613 |
+
"trajectory_count": 30,
|
| 1614 |
+
"rmse_mpa": 2.3787472248077393,
|
| 1615 |
+
"mae_mpa": 1.116989016532898,
|
| 1616 |
+
"r2": 0.9995440244674683,
|
| 1617 |
+
"state_point_count": 7230
|
| 1618 |
+
},
|
| 1619 |
+
"scratch": null
|
| 1620 |
+
},
|
| 1621 |
+
"v2_id+parameter_ood": {
|
| 1622 |
+
"transfer": {
|
| 1623 |
+
"trajectory_count": 13,
|
| 1624 |
+
"rmse_mpa": 4.745483875274658,
|
| 1625 |
+
"mae_mpa": 2.3014166355133057,
|
| 1626 |
+
"r2": 0.99830162525177,
|
| 1627 |
+
"state_point_count": 3133
|
| 1628 |
+
},
|
| 1629 |
+
"scratch": null
|
| 1630 |
+
},
|
| 1631 |
+
"v2_path_ood+parameter_ood": {
|
| 1632 |
+
"transfer": {
|
| 1633 |
+
"trajectory_count": 24,
|
| 1634 |
+
"rmse_mpa": 5.30637264251709,
|
| 1635 |
+
"mae_mpa": 2.812934398651123,
|
| 1636 |
+
"r2": 0.9981655478477478,
|
| 1637 |
+
"state_point_count": 5784
|
| 1638 |
+
},
|
| 1639 |
+
"scratch": null
|
| 1640 |
+
},
|
| 1641 |
+
"v2_id+path_ood+parameter_ood": {
|
| 1642 |
+
"transfer": {
|
| 1643 |
+
"trajectory_count": 2,
|
| 1644 |
+
"rmse_mpa": 5.918930530548096,
|
| 1645 |
+
"mae_mpa": 3.3056538105010986,
|
| 1646 |
+
"r2": 0.997158944606781,
|
| 1647 |
+
"state_point_count": 482
|
| 1648 |
+
},
|
| 1649 |
+
"scratch": null
|
| 1650 |
+
},
|
| 1651 |
+
"hidden_frozen_test": {
|
| 1652 |
+
"transfer": {
|
| 1653 |
+
"trajectory_count": 32,
|
| 1654 |
+
"rmse_mpa": 1.3812370300292969,
|
| 1655 |
+
"mae_mpa": 0.7412769198417664,
|
| 1656 |
+
"r2": 0.9998548030853271,
|
| 1657 |
+
"state_point_count": 7712
|
| 1658 |
+
},
|
| 1659 |
+
"scratch": {
|
| 1660 |
+
"trajectory_count": 32,
|
| 1661 |
+
"rmse_mpa": 0.5647463798522949,
|
| 1662 |
+
"mae_mpa": 0.31009456515312195,
|
| 1663 |
+
"r2": 0.9999757409095764,
|
| 1664 |
+
"state_point_count": 7712
|
| 1665 |
+
}
|
| 1666 |
+
},
|
| 1667 |
+
"test_path_ood": {
|
| 1668 |
+
"transfer": {
|
| 1669 |
+
"trajectory_count": 80,
|
| 1670 |
+
"rmse_mpa": 1.3747146129608154,
|
| 1671 |
+
"mae_mpa": 0.740198016166687,
|
| 1672 |
+
"r2": 0.999852180480957,
|
| 1673 |
+
"state_point_count": 19280
|
| 1674 |
+
},
|
| 1675 |
+
"scratch": {
|
| 1676 |
+
"trajectory_count": 80,
|
| 1677 |
+
"rmse_mpa": 0.6124390959739685,
|
| 1678 |
+
"mae_mpa": 0.3166969418525696,
|
| 1679 |
+
"r2": 0.9999706745147705,
|
| 1680 |
+
"state_point_count": 19280
|
| 1681 |
+
}
|
| 1682 |
+
},
|
| 1683 |
+
"test_amplitude_ood": {
|
| 1684 |
+
"transfer": {
|
| 1685 |
+
"trajectory_count": 60,
|
| 1686 |
+
"rmse_mpa": 3.455927848815918,
|
| 1687 |
+
"mae_mpa": 1.3114233016967773,
|
| 1688 |
+
"r2": 0.9991499781608582,
|
| 1689 |
+
"state_point_count": 14460
|
| 1690 |
+
},
|
| 1691 |
+
"scratch": {
|
| 1692 |
+
"trajectory_count": 60,
|
| 1693 |
+
"rmse_mpa": 1.5423738956451416,
|
| 1694 |
+
"mae_mpa": 0.5401321053504944,
|
| 1695 |
+
"r2": 0.9998306632041931,
|
| 1696 |
+
"state_point_count": 14460
|
| 1697 |
+
}
|
| 1698 |
+
},
|
| 1699 |
+
"test_long_horizon": {
|
| 1700 |
+
"transfer": {
|
| 1701 |
+
"trajectory_count": 40,
|
| 1702 |
+
"rmse_mpa": 6.743185520172119,
|
| 1703 |
+
"mae_mpa": 2.507401704788208,
|
| 1704 |
+
"r2": 0.996519923210144,
|
| 1705 |
+
"state_point_count": 9640
|
| 1706 |
+
},
|
| 1707 |
+
"scratch": {
|
| 1708 |
+
"trajectory_count": 40,
|
| 1709 |
+
"rmse_mpa": 10.565669059753418,
|
| 1710 |
+
"mae_mpa": 4.168259620666504,
|
| 1711 |
+
"r2": 0.9914560914039612,
|
| 1712 |
+
"state_point_count": 9640
|
| 1713 |
+
}
|
| 1714 |
+
},
|
| 1715 |
+
"test_discretization": {
|
| 1716 |
+
"transfer": {
|
| 1717 |
+
"trajectory_count": 20,
|
| 1718 |
+
"rmse_mpa": 1.537297010421753,
|
| 1719 |
+
"mae_mpa": 0.7628098130226135,
|
| 1720 |
+
"r2": 0.99982088804245,
|
| 1721 |
+
"state_point_count": 8120
|
| 1722 |
+
},
|
| 1723 |
+
"scratch": {
|
| 1724 |
+
"trajectory_count": 20,
|
| 1725 |
+
"rmse_mpa": 0.4981110394001007,
|
| 1726 |
+
"mae_mpa": 0.26751139760017395,
|
| 1727 |
+
"r2": 0.999981164932251,
|
| 1728 |
+
"state_point_count": 8120
|
| 1729 |
+
}
|
| 1730 |
+
},
|
| 1731 |
+
"known_strict_test_all": {
|
| 1732 |
+
"transfer": {
|
| 1733 |
+
"trajectory_count": 537,
|
| 1734 |
+
"rmse_mpa": 3.5526936054229736,
|
| 1735 |
+
"mae_mpa": 1.5212363004684448,
|
| 1736 |
+
"r2": 0.9990535378456116,
|
| 1737 |
+
"state_point_count": 115017
|
| 1738 |
+
}
|
| 1739 |
+
},
|
| 1740 |
+
"hidden_all_fixed_length_test": {
|
| 1741 |
+
"transfer": {
|
| 1742 |
+
"trajectory_count": 212,
|
| 1743 |
+
"rmse_mpa": 3.600095272064209,
|
| 1744 |
+
"mae_mpa": 1.23546302318573,
|
| 1745 |
+
"r2": 0.9990220069885254,
|
| 1746 |
+
"state_point_count": 51092
|
| 1747 |
+
},
|
| 1748 |
+
"scratch": {
|
| 1749 |
+
"trajectory_count": 212,
|
| 1750 |
+
"rmse_mpa": 4.6825056076049805,
|
| 1751 |
+
"mae_mpa": 1.1056466102600098,
|
| 1752 |
+
"r2": 0.9983454942703247,
|
| 1753 |
+
"state_point_count": 51092
|
| 1754 |
+
}
|
| 1755 |
+
}
|
| 1756 |
+
},
|
| 1757 |
+
"descriptor_policy": {
|
| 1758 |
+
"known_families": "E, nu, initial yield plus declared hardening parameters and family indicator",
|
| 1759 |
+
"incomplete_family": "E, nu, initial yield and family indicator only; hidden hardening parameters remain zero"
|
| 1760 |
+
}
|
| 1761 |
+
}
|
conditional_v2/artifacts/t2_denim_conditional_v2/physical_runtime_validation.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "material-conditioned DENIM v2 refined",
|
| 3 |
+
"parameter_count": 8477,
|
| 4 |
+
"audit_trajectory_count": 24,
|
| 5 |
+
"audit_state_point_count": 5784,
|
| 6 |
+
"stress_rmse_mpa": 3.2713098526000977,
|
| 7 |
+
"maximum_yield_residual_pa": 192.0,
|
| 8 |
+
"minimum_peeq_increment": 0.0,
|
| 9 |
+
"maximum_plastic_strain_trace": 2.3283064365386963e-09,
|
| 10 |
+
"maximum_memory_trace_pa": 20.0,
|
| 11 |
+
"all_finite": true,
|
| 12 |
+
"inference_seconds": 12.343951042043045,
|
| 13 |
+
"state_points_per_second": 468.5695836203423,
|
| 14 |
+
"descriptor_hidden_hardening_entries_zero": true,
|
| 15 |
+
"scope": "material-point audit; conditional v2 is not yet an AgentFEM global provider bundle"
|
| 16 |
+
}
|
conditional_v2/artifacts/t2_denim_conditional_v2/refined_metrics.json
ADDED
|
@@ -0,0 +1,728 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"training": {
|
| 3 |
+
"steps": 1200,
|
| 4 |
+
"seconds": 63.25211833301,
|
| 5 |
+
"best_validation_loss": 2.5949657583623775e-05,
|
| 6 |
+
"history": [
|
| 7 |
+
{
|
| 8 |
+
"step": 0,
|
| 9 |
+
"training_loss": 2.7355226848158054e-05,
|
| 10 |
+
"validation_loss": 5.373225940275006e-05,
|
| 11 |
+
"parts": [
|
| 12 |
+
{
|
| 13 |
+
"memory": 2.5827662852861977e-07,
|
| 14 |
+
"memory_increment": 0.00010331066005164757,
|
| 15 |
+
"isotropic": 6.468842911999673e-05
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"memory": 4.406689679825604e-09,
|
| 19 |
+
"memory_increment": 1.762675879035669e-06,
|
| 20 |
+
"isotropic": 1.1614632967393845e-05
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"memory": 4.605606118701644e-09,
|
| 24 |
+
"memory_increment": 1.842242454586085e-06,
|
| 25 |
+
"isotropic": 1.1891124813701026e-05
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"memory": 4.407878950729582e-09,
|
| 29 |
+
"memory_increment": 1.7631518858252093e-06,
|
| 30 |
+
"isotropic": 1.2260727089596912e-05
|
| 31 |
+
}
|
| 32 |
+
]
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"step": 50,
|
| 36 |
+
"training_loss": 2.5546947654220276e-05,
|
| 37 |
+
"validation_loss": 3.6228545468475204e-05,
|
| 38 |
+
"parts": [
|
| 39 |
+
{
|
| 40 |
+
"memory": 2.0981717341328476e-07,
|
| 41 |
+
"memory_increment": 8.392686140723526e-05,
|
| 42 |
+
"isotropic": 6.040421067154966e-05
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"memory": 7.453451189576299e-09,
|
| 46 |
+
"memory_increment": 2.981380248456844e-06,
|
| 47 |
+
"isotropic": 1.1499076208565384e-05
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"memory": 7.631800968965763e-09,
|
| 51 |
+
"memory_increment": 3.052720785490237e-06,
|
| 52 |
+
"isotropic": 1.1375923349987715e-05
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"memory": 7.670465151932149e-09,
|
| 56 |
+
"memory_increment": 3.0681865155202104e-06,
|
| 57 |
+
"isotropic": 1.123367383115692e-05
|
| 58 |
+
}
|
| 59 |
+
]
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"step": 100,
|
| 63 |
+
"training_loss": 2.72983088507317e-05,
|
| 64 |
+
"validation_loss": 3.678344342006312e-05,
|
| 65 |
+
"parts": [
|
| 66 |
+
{
|
| 67 |
+
"memory": 2.5122034230662393e-07,
|
| 68 |
+
"memory_increment": 0.00010048814147012308,
|
| 69 |
+
"isotropic": 6.620555359404534e-05
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"memory": 4.31005586776223e-09,
|
| 73 |
+
"memory_increment": 1.7240223542103195e-06,
|
| 74 |
+
"isotropic": 1.1538347280293237e-05
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"memory": 4.4296393220122354e-09,
|
| 78 |
+
"memory_increment": 1.7718557501211762e-06,
|
| 79 |
+
"isotropic": 1.1352375622664113e-05
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"memory": 4.441346401762303e-09,
|
| 83 |
+
"memory_increment": 1.7765383972800919e-06,
|
| 84 |
+
"isotropic": 1.1371712389518507e-05
|
| 85 |
+
}
|
| 86 |
+
]
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"step": 150,
|
| 90 |
+
"training_loss": 2.452052285661921e-05,
|
| 91 |
+
"validation_loss": 3.5379144947000896e-05,
|
| 92 |
+
"parts": [
|
| 93 |
+
{
|
| 94 |
+
"memory": 2.6663656171876937e-07,
|
| 95 |
+
"memory_increment": 0.0001066546028596349,
|
| 96 |
+
"isotropic": 5.608137507806532e-05
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"memory": 4.388872820726419e-09,
|
| 100 |
+
"memory_increment": 1.7555490785525762e-06,
|
| 101 |
+
"isotropic": 1.0763936188595835e-05
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"memory": 4.4537840082625735e-09,
|
| 105 |
+
"memory_increment": 1.7815135606724652e-06,
|
| 106 |
+
"isotropic": 1.1313436516502406e-05
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"memory": 4.31370006381826e-09,
|
| 110 |
+
"memory_increment": 1.7254798194699106e-06,
|
| 111 |
+
"isotropic": 1.0690169801819138e-05
|
| 112 |
+
}
|
| 113 |
+
]
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"step": 200,
|
| 117 |
+
"training_loss": 2.568776108091697e-05,
|
| 118 |
+
"validation_loss": 3.306433495708916e-05,
|
| 119 |
+
"parts": [
|
| 120 |
+
{
|
| 121 |
+
"memory": 2.8681805019914464e-07,
|
| 122 |
+
"memory_increment": 0.0001147272196249105,
|
| 123 |
+
"isotropic": 6.0349593695718795e-05
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"memory": 4.9423913850432655e-09,
|
| 127 |
+
"memory_increment": 1.9769565824390156e-06,
|
| 128 |
+
"isotropic": 1.0891085366893094e-05
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"memory": 4.829292521435491e-09,
|
| 132 |
+
"memory_increment": 1.9317169517307775e-06,
|
| 133 |
+
"isotropic": 1.0833538908627816e-05
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"memory": 4.747678250538456e-09,
|
| 137 |
+
"memory_increment": 1.8990713215316646e-06,
|
| 138 |
+
"isotropic": 1.0732693226600531e-05
|
| 139 |
+
}
|
| 140 |
+
]
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"step": 250,
|
| 144 |
+
"training_loss": 2.2058009562897496e-05,
|
| 145 |
+
"validation_loss": 3.254474086133996e-05,
|
| 146 |
+
"parts": [
|
| 147 |
+
{
|
| 148 |
+
"memory": 2.773657854504563e-07,
|
| 149 |
+
"memory_increment": 0.00011094631190644577,
|
| 150 |
+
"isotropic": 4.859205728280358e-05
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"memory": 4.646377949057978e-09,
|
| 154 |
+
"memory_increment": 1.858551172517764e-06,
|
| 155 |
+
"isotropic": 1.006497404887341e-05
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"memory": 4.903969674785458e-09,
|
| 159 |
+
"memory_increment": 1.9615879409684567e-06,
|
| 160 |
+
"isotropic": 9.855482858256437e-06
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"memory": 4.769202810450679e-09,
|
| 164 |
+
"memory_increment": 1.9076812804996734e-06,
|
| 165 |
+
"isotropic": 1.009390689432621e-05
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"step": 300,
|
| 171 |
+
"training_loss": 2.384528488619253e-05,
|
| 172 |
+
"validation_loss": 3.35490940415184e-05,
|
| 173 |
+
"parts": [
|
| 174 |
+
{
|
| 175 |
+
"memory": 2.699442802622798e-07,
|
| 176 |
+
"memory_increment": 0.00010797771392390132,
|
| 177 |
+
"isotropic": 5.653620610246435e-05
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"memory": 6.235339355953329e-09,
|
| 181 |
+
"memory_increment": 2.4941357423813315e-06,
|
| 182 |
+
"isotropic": 9.68552558333613e-06
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"memory": 5.713662432071942e-09,
|
| 186 |
+
"memory_increment": 2.2854651433590334e-06,
|
| 187 |
+
"isotropic": 9.838406185735948e-06
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"memory": 5.880020470527825e-09,
|
| 191 |
+
"memory_increment": 2.3520080958405742e-06,
|
| 192 |
+
"isotropic": 9.824485459830612e-06
|
| 193 |
+
}
|
| 194 |
+
]
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"step": 350,
|
| 198 |
+
"training_loss": 2.2171614546095952e-05,
|
| 199 |
+
"validation_loss": 3.005852090609551e-05,
|
| 200 |
+
"parts": [
|
| 201 |
+
{
|
| 202 |
+
"memory": 2.5440354534111975e-07,
|
| 203 |
+
"memory_increment": 0.00010176142677664757,
|
| 204 |
+
"isotropic": 5.152855737833306e-05
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"memory": 4.699149513953671e-09,
|
| 208 |
+
"memory_increment": 1.8796596350512118e-06,
|
| 209 |
+
"isotropic": 9.30280930333538e-06
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"memory": 4.929250341234592e-09,
|
| 213 |
+
"memory_increment": 1.971700157810119e-06,
|
| 214 |
+
"isotropic": 9.451496225665323e-06
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"memory": 4.976377976362301e-09,
|
| 218 |
+
"memory_increment": 1.9905512544937665e-06,
|
| 219 |
+
"isotropic": 9.526320354780182e-06
|
| 220 |
+
}
|
| 221 |
+
]
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"step": 400,
|
| 225 |
+
"training_loss": 2.3357286409009248e-05,
|
| 226 |
+
"validation_loss": 3.157365608785767e-05,
|
| 227 |
+
"parts": [
|
| 228 |
+
{
|
| 229 |
+
"memory": 2.3265410220574267e-07,
|
| 230 |
+
"memory_increment": 9.30616442929022e-05,
|
| 231 |
+
"isotropic": 5.8516059652902186e-05
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"memory": 4.431692790518582e-09,
|
| 235 |
+
"memory_increment": 1.772677137523715e-06,
|
| 236 |
+
"isotropic": 9.07743742573075e-06
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"memory": 4.295647837437855e-09,
|
| 240 |
+
"memory_increment": 1.7182592273456976e-06,
|
| 241 |
+
"isotropic": 8.838080248096958e-06
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"memory": 4.367562755902554e-09,
|
| 245 |
+
"memory_increment": 1.747025066833885e-06,
|
| 246 |
+
"isotropic": 8.887857802619692e-06
|
| 247 |
+
}
|
| 248 |
+
]
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"step": 450,
|
| 252 |
+
"training_loss": 2.1016490791225806e-05,
|
| 253 |
+
"validation_loss": 3.0609236091549974e-05,
|
| 254 |
+
"parts": [
|
| 255 |
+
{
|
| 256 |
+
"memory": 1.9671460904646665e-07,
|
| 257 |
+
"memory_increment": 7.868583634262905e-05,
|
| 258 |
+
"isotropic": 5.181320011615753e-05
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"memory": 4.251180740766358e-09,
|
| 262 |
+
"memory_increment": 1.7004722394631244e-06,
|
| 263 |
+
"isotropic": 8.248504855146166e-06
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"memory": 4.260247710163867e-09,
|
| 267 |
+
"memory_increment": 1.7040989632732817e-06,
|
| 268 |
+
"isotropic": 8.485540092806332e-06
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"memory": 4.218486893137197e-09,
|
| 272 |
+
"memory_increment": 1.6873949562068447e-06,
|
| 273 |
+
"isotropic": 8.607048584963195e-06
|
| 274 |
+
}
|
| 275 |
+
]
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"step": 500,
|
| 279 |
+
"training_loss": 2.0009101717732847e-05,
|
| 280 |
+
"validation_loss": 2.946274912574154e-05,
|
| 281 |
+
"parts": [
|
| 282 |
+
{
|
| 283 |
+
"memory": 2.430283529974986e-07,
|
| 284 |
+
"memory_increment": 9.721133392304182e-05,
|
| 285 |
+
"isotropic": 4.778657967108302e-05
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"memory": 3.46962258923611e-09,
|
| 289 |
+
"memory_increment": 1.3878490108254482e-06,
|
| 290 |
+
"isotropic": 7.785592060827184e-06
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"memory": 3.653113367363403e-09,
|
| 294 |
+
"memory_increment": 1.461245460632199e-06,
|
| 295 |
+
"isotropic": 8.031977813516278e-06
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"memory": 3.6584115736815193e-09,
|
| 299 |
+
"memory_increment": 1.4633645832873299e-06,
|
| 300 |
+
"isotropic": 8.056547812884673e-06
|
| 301 |
+
}
|
| 302 |
+
]
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"step": 550,
|
| 306 |
+
"training_loss": 1.8615075532579795e-05,
|
| 307 |
+
"validation_loss": 2.9144503741918015e-05,
|
| 308 |
+
"parts": [
|
| 309 |
+
{
|
| 310 |
+
"memory": 2.1674695460660587e-07,
|
| 311 |
+
"memory_increment": 8.669877570355311e-05,
|
| 312 |
+
"isotropic": 4.4327105570118874e-05
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"memory": 4.2012522349921255e-09,
|
| 316 |
+
"memory_increment": 1.6805007589937304e-06,
|
| 317 |
+
"isotropic": 7.540387287008343e-06
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"memory": 3.9290513065282084e-09,
|
| 321 |
+
"memory_increment": 1.5716204870841466e-06,
|
| 322 |
+
"isotropic": 7.436741725541651e-06
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"memory": 4.003657405604599e-09,
|
| 326 |
+
"memory_increment": 1.6014629409255576e-06,
|
| 327 |
+
"isotropic": 7.602999176015146e-06
|
| 328 |
+
}
|
| 329 |
+
]
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"step": 600,
|
| 333 |
+
"training_loss": 1.901760151667986e-05,
|
| 334 |
+
"validation_loss": 2.9689718530789833e-05,
|
| 335 |
+
"parts": [
|
| 336 |
+
{
|
| 337 |
+
"memory": 2.2946808542201325e-07,
|
| 338 |
+
"memory_increment": 9.178723121294752e-05,
|
| 339 |
+
"isotropic": 4.6662036766065285e-05
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"memory": 3.838531270616841e-09,
|
| 343 |
+
"memory_increment": 1.5354125935118645e-06,
|
| 344 |
+
"isotropic": 6.917276550666429e-06
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"memory": 3.415778548898629e-09,
|
| 348 |
+
"memory_increment": 1.366311494166439e-06,
|
| 349 |
+
"isotropic": 7.342618118855171e-06
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"memory": 3.765160627722253e-09,
|
| 353 |
+
"memory_increment": 1.5060642226671916e-06,
|
| 354 |
+
"isotropic": 7.212385753518902e-06
|
| 355 |
+
}
|
| 356 |
+
]
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"step": 650,
|
| 360 |
+
"training_loss": 1.9692801288329065e-05,
|
| 361 |
+
"validation_loss": 2.6913100100500742e-05,
|
| 362 |
+
"parts": [
|
| 363 |
+
{
|
| 364 |
+
"memory": 2.4920419150475936e-07,
|
| 365 |
+
"memory_increment": 9.968168888008222e-05,
|
| 366 |
+
"isotropic": 4.8669207899365574e-05
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"memory": 3.2531903837451637e-09,
|
| 370 |
+
"memory_increment": 1.3012762565267622e-06,
|
| 371 |
+
"isotropic": 7.305867711693281e-06
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"memory": 3.2505136360327924e-09,
|
| 375 |
+
"memory_increment": 1.3002054402022623e-06,
|
| 376 |
+
"isotropic": 7.292752343346365e-06
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"memory": 3.199615461468852e-09,
|
| 380 |
+
"memory_increment": 1.279846060242562e-06,
|
| 381 |
+
"isotropic": 6.959423444641288e-06
|
| 382 |
+
}
|
| 383 |
+
]
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"step": 700,
|
| 387 |
+
"training_loss": 1.9070415874011815e-05,
|
| 388 |
+
"validation_loss": 2.8838489697591285e-05,
|
| 389 |
+
"parts": [
|
| 390 |
+
{
|
| 391 |
+
"memory": 2.2696367807384377e-07,
|
| 392 |
+
"memory_increment": 9.078547009266913e-05,
|
| 393 |
+
"isotropic": 4.782579708262347e-05
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"memory": 3.5693836775152477e-09,
|
| 397 |
+
"memory_increment": 1.4277533182394109e-06,
|
| 398 |
+
"isotropic": 6.736303475918248e-06
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"memory": 3.5103984163953328e-09,
|
| 402 |
+
"memory_increment": 1.404159434059693e-06,
|
| 403 |
+
"isotropic": 6.939857485122047e-06
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"memory": 3.5539733378442406e-09,
|
| 407 |
+
"memory_increment": 1.4215893315849826e-06,
|
| 408 |
+
"isotropic": 6.938989827176556e-06
|
| 409 |
+
}
|
| 410 |
+
]
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"step": 750,
|
| 414 |
+
"training_loss": 1.9335750039317645e-05,
|
| 415 |
+
"validation_loss": 2.8280513106437866e-05,
|
| 416 |
+
"parts": [
|
| 417 |
+
{
|
| 418 |
+
"memory": 2.1238423641989357e-07,
|
| 419 |
+
"memory_increment": 8.495369547745213e-05,
|
| 420 |
+
"isotropic": 4.9813781515695155e-05
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"memory": 3.672107284913295e-09,
|
| 424 |
+
"memory_increment": 1.4688430383102968e-06,
|
| 425 |
+
"isotropic": 6.7932342062704265e-06
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"memory": 3.5683420662735443e-09,
|
| 429 |
+
"memory_increment": 1.4273369970396743e-06,
|
| 430 |
+
"isotropic": 6.69342352921376e-06
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"memory": 3.455429054000092e-09,
|
| 434 |
+
"memory_increment": 1.3821714901496307e-06,
|
| 435 |
+
"isotropic": 6.680919341306435e-06
|
| 436 |
+
}
|
| 437 |
+
]
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"step": 800,
|
| 441 |
+
"training_loss": 1.825951403588988e-05,
|
| 442 |
+
"validation_loss": 2.753489138740406e-05,
|
| 443 |
+
"parts": [
|
| 444 |
+
{
|
| 445 |
+
"memory": 2.39746640318117e-07,
|
| 446 |
+
"memory_increment": 9.589865658199415e-05,
|
| 447 |
+
"isotropic": 4.497890768107027e-05
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"memory": 2.817042599190245e-09,
|
| 451 |
+
"memory_increment": 1.126816982832679e-06,
|
| 452 |
+
"isotropic": 6.719951670675073e-06
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"memory": 2.740173199455853e-09,
|
| 456 |
+
"memory_increment": 1.0960692407024908e-06,
|
| 457 |
+
"isotropic": 6.5479166551085655e-06
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"memory": 2.96859892223722e-09,
|
| 461 |
+
"memory_increment": 1.1874394658661913e-06,
|
| 462 |
+
"isotropic": 6.5982912929030135e-06
|
| 463 |
+
}
|
| 464 |
+
]
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"step": 850,
|
| 468 |
+
"training_loss": 1.7527587260701694e-05,
|
| 469 |
+
"validation_loss": 2.689115262910491e-05,
|
| 470 |
+
"parts": [
|
| 471 |
+
{
|
| 472 |
+
"memory": 2.3188725606360094e-07,
|
| 473 |
+
"memory_increment": 9.275489719584584e-05,
|
| 474 |
+
"isotropic": 4.2389270674902946e-05
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"memory": 2.8044404576377246e-09,
|
| 478 |
+
"memory_increment": 1.1217762221349403e-06,
|
| 479 |
+
"isotropic": 6.752039098500973e-06
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"memory": 2.9782085686491655e-09,
|
| 483 |
+
"memory_increment": 1.1912833315363969e-06,
|
| 484 |
+
"isotropic": 6.369769835146144e-06
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"memory": 2.7445017369842617e-09,
|
| 488 |
+
"memory_increment": 1.097800691240991e-06,
|
| 489 |
+
"isotropic": 6.66559390083421e-06
|
| 490 |
+
}
|
| 491 |
+
]
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"step": 900,
|
| 495 |
+
"training_loss": 1.949142460944131e-05,
|
| 496 |
+
"validation_loss": 2.6521427571424283e-05,
|
| 497 |
+
"parts": [
|
| 498 |
+
{
|
| 499 |
+
"memory": 2.0852500881574088e-07,
|
| 500 |
+
"memory_increment": 8.341000648215413e-05,
|
| 501 |
+
"isotropic": 5.1628660003189e-05
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"memory": 2.93151702912553e-09,
|
| 505 |
+
"memory_increment": 1.1726066304618143e-06,
|
| 506 |
+
"isotropic": 6.375491921062348e-06
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"memory": 2.6845168310529743e-09,
|
| 510 |
+
"memory_increment": 1.0738068567661685e-06,
|
| 511 |
+
"isotropic": 6.450444743677508e-06
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"memory": 2.8634339344080217e-09,
|
| 515 |
+
"memory_increment": 1.1453736306066276e-06,
|
| 516 |
+
"isotropic": 6.349950126605108e-06
|
| 517 |
+
}
|
| 518 |
+
]
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"step": 950,
|
| 522 |
+
"training_loss": 1.746338421071414e-05,
|
| 523 |
+
"validation_loss": 2.6277499159732542e-05,
|
| 524 |
+
"parts": [
|
| 525 |
+
{
|
| 526 |
+
"memory": 2.02535943572002e-07,
|
| 527 |
+
"memory_increment": 8.101436833385378e-05,
|
| 528 |
+
"isotropic": 4.3862644815817475e-05
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"memory": 2.6312561018926317e-09,
|
| 532 |
+
"memory_increment": 1.0525023981244885e-06,
|
| 533 |
+
"isotropic": 6.28594534646254e-06
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"memory": 2.6513771178571233e-09,
|
| 537 |
+
"memory_increment": 1.0605508578009903e-06,
|
| 538 |
+
"isotropic": 6.4363084675278515e-06
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"memory": 2.8032882681827687e-09,
|
| 542 |
+
"memory_increment": 1.1213152220079792e-06,
|
| 543 |
+
"isotropic": 6.318120995274512e-06
|
| 544 |
+
}
|
| 545 |
+
]
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"step": 1000,
|
| 549 |
+
"training_loss": 1.895969035103917e-05,
|
| 550 |
+
"validation_loss": 2.6815970386451227e-05,
|
| 551 |
+
"parts": [
|
| 552 |
+
{
|
| 553 |
+
"memory": 2.1936102712061256e-07,
|
| 554 |
+
"memory_increment": 8.774441084824502e-05,
|
| 555 |
+
"isotropic": 4.942828672938049e-05
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"memory": 2.915440333595143e-09,
|
| 559 |
+
"memory_increment": 1.1661760481729289e-06,
|
| 560 |
+
"isotropic": 6.307205694611184e-06
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"memory": 2.6149369336536665e-09,
|
| 564 |
+
"memory_increment": 1.0459748409630265e-06,
|
| 565 |
+
"isotropic": 6.2928420447860844e-06
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"memory": 2.6470250436005927e-09,
|
| 569 |
+
"memory_increment": 1.0588099712549592e-06,
|
| 570 |
+
"isotropic": 6.301648681983352e-06
|
| 571 |
+
}
|
| 572 |
+
]
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"step": 1050,
|
| 576 |
+
"training_loss": 1.8102024114341475e-05,
|
| 577 |
+
"validation_loss": 2.623644525101554e-05,
|
| 578 |
+
"parts": [
|
| 579 |
+
{
|
| 580 |
+
"memory": 1.9199426048999158e-07,
|
| 581 |
+
"memory_increment": 7.679769623791799e-05,
|
| 582 |
+
"isotropic": 4.6563778596464545e-05
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"memory": 2.5586917029585265e-09,
|
| 586 |
+
"memory_increment": 1.0234767842121073e-06,
|
| 587 |
+
"isotropic": 6.428254891943652e-06
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"memory": 2.6366446803649524e-09,
|
| 591 |
+
"memory_increment": 1.0546577868808527e-06,
|
| 592 |
+
"isotropic": 6.4175592342508025e-06
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"memory": 2.624110706506144e-09,
|
| 596 |
+
"memory_increment": 1.0496443110241671e-06,
|
| 597 |
+
"isotropic": 6.404650775948539e-06
|
| 598 |
+
}
|
| 599 |
+
]
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"step": 1100,
|
| 603 |
+
"training_loss": 1.883727964013815e-05,
|
| 604 |
+
"validation_loss": 2.6390304924461816e-05,
|
| 605 |
+
"parts": [
|
| 606 |
+
{
|
| 607 |
+
"memory": 2.132048422254229e-07,
|
| 608 |
+
"memory_increment": 8.528192847734317e-05,
|
| 609 |
+
"isotropic": 4.9559086619410664e-05
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"memory": 2.4993338509915475e-09,
|
| 613 |
+
"memory_increment": 9.99733629214461e-07,
|
| 614 |
+
"isotropic": 6.133228453109041e-06
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"memory": 2.6796771468440284e-09,
|
| 618 |
+
"memory_increment": 1.071870883606607e-06,
|
| 619 |
+
"isotropic": 6.14253895037109e-06
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"memory": 2.5908810652452985e-09,
|
| 623 |
+
"memory_increment": 1.0363525007051066e-06,
|
| 624 |
+
"isotropic": 6.222094270924572e-06
|
| 625 |
+
}
|
| 626 |
+
]
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"step": 1150,
|
| 630 |
+
"training_loss": 1.9149216313962825e-05,
|
| 631 |
+
"validation_loss": 2.616958988710394e-05,
|
| 632 |
+
"parts": [
|
| 633 |
+
{
|
| 634 |
+
"memory": 2.264763026005312e-07,
|
| 635 |
+
"memory_increment": 9.059051080839708e-05,
|
| 636 |
+
"isotropic": 5.012180918129161e-05
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"memory": 2.5329649488980976e-09,
|
| 640 |
+
"memory_increment": 1.013186079035222e-06,
|
| 641 |
+
"isotropic": 6.084651431592647e-06
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"memory": 2.502145823868318e-09,
|
| 645 |
+
"memory_increment": 1.000858333100041e-06,
|
| 646 |
+
"isotropic": 6.353716798912501e-06
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"memory": 2.5572528539186123e-09,
|
| 650 |
+
"memory_increment": 1.022901074065885e-06,
|
| 651 |
+
"isotropic": 6.312424375209957e-06
|
| 652 |
+
}
|
| 653 |
+
]
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"step": 1199,
|
| 657 |
+
"training_loss": 1.788927875168156e-05,
|
| 658 |
+
"validation_loss": 2.5949657583623775e-05,
|
| 659 |
+
"parts": [
|
| 660 |
+
{
|
| 661 |
+
"memory": 2.266112772986162e-07,
|
| 662 |
+
"memory_increment": 9.064451296580955e-05,
|
| 663 |
+
"isotropic": 4.5192839024821296e-05
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"memory": 2.47228437721958e-09,
|
| 667 |
+
"memory_increment": 9.889137118079816e-07,
|
| 668 |
+
"isotropic": 6.2796643760520965e-06
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"memory": 2.475608384955308e-09,
|
| 672 |
+
"memory_increment": 9.902433930619736e-07,
|
| 673 |
+
"isotropic": 6.159833901620004e-06
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"memory": 2.6031077293708904e-09,
|
| 677 |
+
"memory_increment": 1.0412430810902151e-06,
|
| 678 |
+
"isotropic": 6.197422408149578e-06
|
| 679 |
+
}
|
| 680 |
+
]
|
| 681 |
+
}
|
| 682 |
+
]
|
| 683 |
+
},
|
| 684 |
+
"evaluation": {
|
| 685 |
+
"hidden_frozen_test": {
|
| 686 |
+
"trajectory_count": 32,
|
| 687 |
+
"rmse_mpa": 0.7980589270591736,
|
| 688 |
+
"mae_mpa": 0.39469894766807556,
|
| 689 |
+
"r2": 0.9999515414237976,
|
| 690 |
+
"state_point_count": 7712
|
| 691 |
+
},
|
| 692 |
+
"test_path_ood": {
|
| 693 |
+
"trajectory_count": 80,
|
| 694 |
+
"rmse_mpa": 0.782439112663269,
|
| 695 |
+
"mae_mpa": 0.39284950494766235,
|
| 696 |
+
"r2": 0.9999520778656006,
|
| 697 |
+
"state_point_count": 19280
|
| 698 |
+
},
|
| 699 |
+
"test_amplitude_ood": {
|
| 700 |
+
"trajectory_count": 60,
|
| 701 |
+
"rmse_mpa": 2.67646861076355,
|
| 702 |
+
"mae_mpa": 0.9395037889480591,
|
| 703 |
+
"r2": 0.9994901418685913,
|
| 704 |
+
"state_point_count": 14460
|
| 705 |
+
},
|
| 706 |
+
"test_long_horizon": {
|
| 707 |
+
"trajectory_count": 40,
|
| 708 |
+
"rmse_mpa": 4.262782096862793,
|
| 709 |
+
"mae_mpa": 1.5307230949401855,
|
| 710 |
+
"r2": 0.9986092448234558,
|
| 711 |
+
"state_point_count": 9640
|
| 712 |
+
},
|
| 713 |
+
"test_discretization": {
|
| 714 |
+
"trajectory_count": 20,
|
| 715 |
+
"rmse_mpa": 0.9083492159843445,
|
| 716 |
+
"mae_mpa": 0.4616833031177521,
|
| 717 |
+
"r2": 0.9999374747276306,
|
| 718 |
+
"state_point_count": 8120
|
| 719 |
+
},
|
| 720 |
+
"known_strict_test_all": {
|
| 721 |
+
"trajectory_count": 537,
|
| 722 |
+
"rmse_mpa": 3.3084354400634766,
|
| 723 |
+
"mae_mpa": 1.3567044734954834,
|
| 724 |
+
"r2": 0.9991792440414429,
|
| 725 |
+
"state_point_count": 115017
|
| 726 |
+
}
|
| 727 |
+
}
|
| 728 |
+
}
|
conditional_v2/docs/T2_CONDITIONAL_DENIM_V2.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Material-conditioned DENIM v2
|
| 2 |
+
|
| 3 |
+
## 结果摘要
|
| 4 |
+
|
| 5 |
+
DENIM v2 将已有 2,660 条材料加载轨迹纳入同一套严格分层协议。数据没有被无差别
|
| 6 |
+
混合:1,484 条用于训练,407 条用于验证,769 条保持为测试。训练集包括 1,154 条
|
| 7 |
+
J2/Chaboche 已知材料轨迹和 330 条不完备材料轨迹;其余轨迹承担材料、路径、参数、
|
| 8 |
+
幅值、长历史和时间离散边界测试。
|
| 9 |
+
|
| 10 |
+
模型保留弹性、J2 屈服几何、关联流动、塑性不可压缩和隐式返回映射。神经网络读取
|
| 11 |
+
无量纲材料描述符,学习共享的各向同性硬化、运动硬化模量和恢复演化。对于不完备
|
| 12 |
+
材料,描述符只含 `E`、`nu`、初始屈服应力和材料族标识,参考三记忆参数、硬化表和
|
| 13 |
+
演化公式均未输入模型。
|
| 14 |
+
|
| 15 |
+
## 数据使用
|
| 16 |
+
|
| 17 |
+
| 数据层 | 总数 | 训练 | 验证 | 测试用途 |
|
| 18 |
+
|---|---:|---:|---:|---|
|
| 19 |
+
| 基础材料记忆 v1 | 1,008 | 768 | 120 | 120 条同协议测试 |
|
| 20 |
+
| 多轴 OOD v2 | 1,024 | 386 | 221 | 417 条严格联合留出 |
|
| 21 |
+
| DENIM 闭合与边界 | 628 | 330 | 66 | 232 条路径、幅值、长历史和步长边界 |
|
| 22 |
+
| **合计** | **2,660** | **1,484** | **407** | **769** |
|
| 23 |
+
|
| 24 |
+
多轴 v2 只有在 ID、路径 OOD 和参数 OOD 三套划分中同时属于训练的轨迹才进入训练。
|
| 25 |
+
任何一套协议中的测试轨迹都不会参与优化。
|
| 26 |
+
|
| 27 |
+
## 模型结果
|
| 28 |
+
|
| 29 |
+
| 不完备材料测试 | DENIM v1.1 专用模型 | 条件架构、仅 330 条训练 | **DENIM v2 全数据** |
|
| 30 |
+
|---|---:|---:|---:|
|
| 31 |
+
| 冻结未知路径 RMSE | **0.714 MPa** | 0.565 MPa | 0.798 MPa |
|
| 32 |
+
| 新 Path-OOD RMSE | **0.743 MPa** | 0.612 MPa | 0.782 MPa |
|
| 33 |
+
| 幅值 OOD RMSE | **2.294 MPa** | 1.542 MPa | 2.676 MPa |
|
| 34 |
+
| 长历史 RMSE | 10.906 MPa | 10.566 MPa | **4.263 MPa** |
|
| 35 |
+
|
| 36 |
+
条件架构本身在短路径上具有较高数据效率。加入 2,032 条已知材料数据后,最终模型
|
| 37 |
+
在普通路径上保留约 0.8 MPa 的精度,同时把最主要的长历史误差降低约 61%。这是一组
|
| 38 |
+
清楚的 Pareto 结果:专用模型适合固定材料的最高短程精度,条件模型适合跨材料使用和
|
| 39 |
+
更稳定的长历史演化。
|
| 40 |
+
|
| 41 |
+
最终条件模型在 537 条已知材料严格测试轨迹上的 RMSE 为 **3.308 MPa**,`R2` 为
|
| 42 |
+
**0.999179**。模型有 8,477 个参数。24 条代表轨迹的物理审计结果为:最大屈服残差
|
| 43 |
+
192 Pa、PEEQ 最小增量为 0、塑性应变最大迹 `2.33e-9`,全部输出有限。
|
| 44 |
+
|
| 45 |
+
## 科研价值
|
| 46 |
+
|
| 47 |
+
1. 给出了一套可复现的跨协议数据利用方法:旧数据用于共享材料演化表征,新数据用于
|
| 48 |
+
不完备物理闭合,全部留出集保持冻结。
|
| 49 |
+
2. 证明已知材料中的硬化与恢复经验可以迁移为不完备材料的长期演化先验。长历史改善
|
| 50 |
+
与短路径精度权衡同时公开,为研究负迁移、灾难性遗忘和多尺度材料记忆提供了证据。
|
| 51 |
+
3. 模型仍维持显式力学骨架和可解释内部状态,研究问题从单材料曲线拟合扩展到材料条件
|
| 52 |
+
化的神经本构族。
|
| 53 |
+
4. 数据覆盖完整物理上限、不完备物理闭合和跨材料迁移三层协议,适合继续研究材料描述
|
| 54 |
+
符、少样本标定、元学习、长期状态稳定性及结构求解中的切线一致性。
|
| 55 |
+
|
| 56 |
+
## 工程价值
|
| 57 |
+
|
| 58 |
+
1. 同一模型文件可处理参数化 J2、Chaboche 和不完备合成材料,降低为每种材料维护独立
|
| 59 |
+
网络的成本。
|
| 60 |
+
2. 材料参数通过明确的 13 维描述符输入,具备形成材料库、批量标定和多区域调用接口的
|
| 61 |
+
基础。
|
| 62 |
+
3. 长历史误差显著下降,对循环加载、路径依赖和长期状态滚动更有意义。
|
| 63 |
+
4. 屈服面、关联流动、PEEQ 单调性和塑性不可压缩由积分结构保持,适合继续接入隐式有限
|
| 64 |
+
元求解。
|
| 65 |
+
|
| 66 |
+
当前 v2 完成的是材料点条件化验证,尚未制作 AgentFEM 全局求解 Provider。CPU 审计吞吐
|
| 67 |
+
约为 469 个状态点/秒,隐式神经本构明显慢于直接 GRU。下一步工程化重点是描述符缓存、
|
| 68 |
+
材料点批处理、严格一致切线以及 AgentFEM-learning 的通用条件材料 Provider。
|
| 69 |
+
|
| 70 |
+
## 复现入口
|
| 71 |
+
|
| 72 |
+
- 模型核心:`src/t2_denim_conditional.py`
|
| 73 |
+
- 全数据训练:`src/train_t2_denim_conditional_v2.py`
|
| 74 |
+
- 隐藏材料重点精调:`src/refine_t2_denim_conditional_v2.py`
|
| 75 |
+
- 物理与运行审计:`src/validate_t2_denim_conditional_v2.py`
|
| 76 |
+
- 完整指标:`artifacts/t2_denim_conditional_v2/model_metrics.json`
|
| 77 |
+
- 精调指标:`artifacts/t2_denim_conditional_v2/refined_metrics.json`
|
| 78 |
+
|
conditional_v2/src/infer_t2_denim_conditional_v2.py
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Minimal offline inference for the material-conditioned DENIM v2 bundle."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import argparse
|
| 6 |
+
import json
|
| 7 |
+
import sys
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
+
import torch
|
| 11 |
+
from safetensors.torch import load_file
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def run(bundle: Path) -> dict[str, float]:
|
| 15 |
+
repository_root = bundle.parent
|
| 16 |
+
if (repository_root / "src").is_dir():
|
| 17 |
+
sys.path.insert(0, str(repository_root))
|
| 18 |
+
from src.t2_denim_conditional import ConditionalDENIM, material_descriptor, rollout
|
| 19 |
+
|
| 20 |
+
model = ConditionalDENIM()
|
| 21 |
+
model.load_state_dict(load_file(bundle / "weights.safetensors"))
|
| 22 |
+
model.eval()
|
| 23 |
+
parameters = {
|
| 24 |
+
"material_model": "chaboche_combined",
|
| 25 |
+
"young_pa": 190.0e9,
|
| 26 |
+
"poisson": 0.30,
|
| 27 |
+
"yield_stress_pa": 280.0e6,
|
| 28 |
+
"backstress_c1_pa": 28.0e9,
|
| 29 |
+
"backstress_gamma1": 80.0,
|
| 30 |
+
"backstress_c2_pa": 10.0e9,
|
| 31 |
+
"backstress_gamma2": 12.0,
|
| 32 |
+
"isotropic_saturation_pa": 70.0e6,
|
| 33 |
+
"isotropic_rate": 8.0,
|
| 34 |
+
}
|
| 35 |
+
strain = torch.zeros((1, 121, 6))
|
| 36 |
+
strain[0, :, 0] = torch.linspace(0.0, 0.01, 121)
|
| 37 |
+
with torch.no_grad():
|
| 38 |
+
result = rollout(
|
| 39 |
+
strain,
|
| 40 |
+
torch.tensor([parameters["young_pa"]]),
|
| 41 |
+
torch.tensor([parameters["poisson"]]),
|
| 42 |
+
torch.tensor([parameters["yield_stress_pa"]]),
|
| 43 |
+
material_descriptor(parameters)[None],
|
| 44 |
+
model,
|
| 45 |
+
)
|
| 46 |
+
summary = {
|
| 47 |
+
"maximum_absolute_stress_mpa": float(result["stress"].abs().max() / 1.0e6),
|
| 48 |
+
"final_peeq": float(result["peeq"][0, -1]),
|
| 49 |
+
"maximum_yield_residual_pa": float(result["yield_residual"].abs().max()),
|
| 50 |
+
}
|
| 51 |
+
print(json.dumps(summary, indent=2))
|
| 52 |
+
return summary
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
if __name__ == "__main__":
|
| 56 |
+
parser = argparse.ArgumentParser()
|
| 57 |
+
parser.add_argument("--bundle", type=Path, default=Path(__file__).resolve().parent)
|
| 58 |
+
run(parser.parse_args().bundle)
|
conditional_v2/src/refine_t2_denim_conditional_v2.py
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Hidden-family refinement with known-family replay for conditional DENIM v2."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import copy
|
| 6 |
+
import json
|
| 7 |
+
from collections import defaultdict
|
| 8 |
+
|
| 9 |
+
import torch
|
| 10 |
+
|
| 11 |
+
from src.t2_denim_conditional import ConditionalDENIM
|
| 12 |
+
from src.train_t2_denim_conditional_v2 import (
|
| 13 |
+
ARTIFACT_DIR,
|
| 14 |
+
MODEL_DIR,
|
| 15 |
+
_train_stage,
|
| 16 |
+
evaluate,
|
| 17 |
+
load_all_trajectories,
|
| 18 |
+
transitions,
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def run(*, steps: int = 1200) -> dict[str, object]:
|
| 23 |
+
trajectories = load_all_trajectories()
|
| 24 |
+
hidden_name = "hidden_three_memory_tabulated_hardening"
|
| 25 |
+
known_train = [x for x in trajectories if x.material != hidden_name and x.role == "train"]
|
| 26 |
+
known_validation = [x for x in trajectories if x.material != hidden_name and x.role == "validation"]
|
| 27 |
+
hidden_train = [x for x in trajectories if x.material == hidden_name and x.role == "train"]
|
| 28 |
+
hidden_validation = [x for x in trajectories if x.material == hidden_name and x.role == "validation"]
|
| 29 |
+
data = {
|
| 30 |
+
"known_train": transitions(known_train),
|
| 31 |
+
"known_validation": transitions(known_validation),
|
| 32 |
+
"hidden_train": transitions(hidden_train),
|
| 33 |
+
"hidden_validation": transitions(hidden_validation),
|
| 34 |
+
}
|
| 35 |
+
checkpoint = torch.load(MODEL_DIR / "denim_conditional_v2.pt", map_location="cpu", weights_only=False)
|
| 36 |
+
model = ConditionalDENIM()
|
| 37 |
+
model.load_state_dict(checkpoint["state_dict"])
|
| 38 |
+
refined = copy.deepcopy(model)
|
| 39 |
+
training = _train_stage(
|
| 40 |
+
refined,
|
| 41 |
+
[data["known_train"], data["hidden_train"], data["hidden_train"], data["hidden_train"]],
|
| 42 |
+
[data["known_validation"], data["hidden_validation"], data["hidden_validation"], data["hidden_validation"]],
|
| 43 |
+
steps=steps,
|
| 44 |
+
seed=20260930,
|
| 45 |
+
learning_rate=5.0e-4,
|
| 46 |
+
)
|
| 47 |
+
groups: dict[str, list] = defaultdict(list)
|
| 48 |
+
for trajectory in trajectories:
|
| 49 |
+
groups[trajectory.evaluation].append(trajectory)
|
| 50 |
+
selected = (
|
| 51 |
+
"hidden_frozen_test",
|
| 52 |
+
"test_path_ood",
|
| 53 |
+
"test_amplitude_ood",
|
| 54 |
+
"test_long_horizon",
|
| 55 |
+
"test_discretization",
|
| 56 |
+
)
|
| 57 |
+
metrics: dict[str, object] = {
|
| 58 |
+
"training": training,
|
| 59 |
+
"evaluation": {name: evaluate(refined, groups[name]) for name in selected},
|
| 60 |
+
}
|
| 61 |
+
known_test = [x for x in trajectories if x.material != hidden_name and x.role == "test"]
|
| 62 |
+
metrics["evaluation"]["known_strict_test_all"] = evaluate(refined, known_test)
|
| 63 |
+
torch.save(
|
| 64 |
+
{
|
| 65 |
+
"state_dict": refined.state_dict(),
|
| 66 |
+
"architecture": "ConditionalDENIM(channels=2, embedding=32, hidden=48)",
|
| 67 |
+
"stage": "hidden-focused refinement with known-family replay",
|
| 68 |
+
},
|
| 69 |
+
MODEL_DIR / "denim_conditional_v2_refined.pt",
|
| 70 |
+
)
|
| 71 |
+
ARTIFACT_DIR.mkdir(parents=True, exist_ok=True)
|
| 72 |
+
(ARTIFACT_DIR / "refined_metrics.json").write_text(
|
| 73 |
+
json.dumps(metrics, indent=2) + "\n", encoding="utf-8"
|
| 74 |
+
)
|
| 75 |
+
print(json.dumps(metrics["evaluation"], indent=2))
|
| 76 |
+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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Material-conditioned DENIM constitutive core.
|
| 2 |
+
|
| 3 |
+
The module retains the small-strain elastic/J2/associative-flow return map
|
| 4 |
+
used by DENIM and conditions only the unknown hardening closure on a compact
|
| 5 |
+
material descriptor. It deliberately does not encode the closed-form J2 or
|
| 6 |
+
Chaboche hardening equations.
|
| 7 |
+
"""
|
| 8 |
+
|
| 9 |
+
from __future__ import annotations
|
| 10 |
+
|
| 11 |
+
from dataclasses import dataclass
|
| 12 |
+
|
| 13 |
+
import torch
|
| 14 |
+
from torch import nn
|
| 15 |
+
from torch.nn import functional as F
|
| 16 |
+
|
| 17 |
+
from src.t2_graybox_discrete_energy import (
|
| 18 |
+
GrayboxState,
|
| 19 |
+
deviatoric,
|
| 20 |
+
double_contract,
|
| 21 |
+
elastic_stress,
|
| 22 |
+
initial_state,
|
| 23 |
+
von_mises,
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
DESCRIPTOR_NAMES = (
|
| 28 |
+
"young_scaled",
|
| 29 |
+
"poisson",
|
| 30 |
+
"yield_scaled",
|
| 31 |
+
"linear_isotropic_scaled",
|
| 32 |
+
"backstress_c1_scaled",
|
| 33 |
+
"backstress_gamma1_scaled",
|
| 34 |
+
"backstress_c2_scaled",
|
| 35 |
+
"backstress_gamma2_scaled",
|
| 36 |
+
"isotropic_saturation_scaled",
|
| 37 |
+
"isotropic_rate_scaled",
|
| 38 |
+
"family_j2",
|
| 39 |
+
"family_chaboche",
|
| 40 |
+
"family_incomplete",
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def material_descriptor(parameters: dict[str, float | str]) -> torch.Tensor:
|
| 45 |
+
"""Build a dimensionless descriptor without exposing hidden DENIM laws."""
|
| 46 |
+
|
| 47 |
+
family = str(parameters["material_model"])
|
| 48 |
+
indicators = {
|
| 49 |
+
"j2_linear_isotropic": (1.0, 0.0, 0.0),
|
| 50 |
+
"chaboche_combined": (0.0, 1.0, 0.0),
|
| 51 |
+
"hidden_three_memory_tabulated_hardening": (0.0, 0.0, 1.0),
|
| 52 |
+
}
|
| 53 |
+
if family not in indicators:
|
| 54 |
+
raise ValueError(f"Unsupported material family: {family}")
|
| 55 |
+
# The incomplete family exposes only E, nu and initial yield stress. The
|
| 56 |
+
# zero entries are intentional, not missing-data imputation.
|
| 57 |
+
hidden = family == "hidden_three_memory_tabulated_hardening"
|
| 58 |
+
value = (
|
| 59 |
+
float(parameters["young_pa"]) / 200.0e9,
|
| 60 |
+
float(parameters["poisson"]),
|
| 61 |
+
float(parameters["yield_stress_pa"]) / 300.0e6,
|
| 62 |
+
0.0 if hidden else float(parameters.get("hardening_modulus_pa", 0.0)) / 5.0e9,
|
| 63 |
+
0.0 if hidden else float(parameters.get("backstress_c1_pa", 0.0)) / 30.0e9,
|
| 64 |
+
0.0 if hidden else float(parameters.get("backstress_gamma1", 0.0)) / 80.0,
|
| 65 |
+
0.0 if hidden else float(parameters.get("backstress_c2_pa", 0.0)) / 10.0e9,
|
| 66 |
+
0.0 if hidden else float(parameters.get("backstress_gamma2", 0.0)) / 20.0,
|
| 67 |
+
0.0 if hidden else float(parameters.get("isotropic_saturation_pa", 0.0)) / 100.0e6,
|
| 68 |
+
0.0 if hidden else float(parameters.get("isotropic_rate", 0.0)) / 10.0,
|
| 69 |
+
*indicators[family],
|
| 70 |
+
)
|
| 71 |
+
return torch.tensor(value, dtype=torch.float32)
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
class MaterialEncoder(nn.Module):
|
| 75 |
+
def __init__(self, descriptor_size: int = len(DESCRIPTOR_NAMES), hidden: int = 32):
|
| 76 |
+
super().__init__()
|
| 77 |
+
self.network = nn.Sequential(
|
| 78 |
+
nn.Linear(descriptor_size, hidden),
|
| 79 |
+
nn.SiLU(),
|
| 80 |
+
nn.Linear(hidden, hidden),
|
| 81 |
+
nn.SiLU(),
|
| 82 |
+
)
|
| 83 |
+
|
| 84 |
+
def forward(self, descriptor: torch.Tensor) -> torch.Tensor:
|
| 85 |
+
return self.network(descriptor)
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
class ConditionalIsotropicHardening(nn.Module):
|
| 89 |
+
"""Descriptor-conditioned, zero-anchored monotone hardening curve."""
|
| 90 |
+
|
| 91 |
+
def __init__(self, embedding: int = 32, neurons: int = 12, plastic_scale: float = 0.01):
|
| 92 |
+
super().__init__()
|
| 93 |
+
self.neurons = int(neurons)
|
| 94 |
+
self.plastic_scale = float(plastic_scale)
|
| 95 |
+
self.parameter_head = nn.Linear(embedding, 2 * neurons + 1)
|
| 96 |
+
|
| 97 |
+
def _positive_parameters(
|
| 98 |
+
self, embedding: torch.Tensor
|
| 99 |
+
) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
|
| 100 |
+
raw = self.parameter_head(embedding)
|
| 101 |
+
weight = 0.45 * torch.sigmoid(raw[..., : self.neurons])
|
| 102 |
+
slope = F.softplus(raw[..., self.neurons : 2 * self.neurons]) + 1.0e-5
|
| 103 |
+
linear = 0.60 * torch.sigmoid(raw[..., -1])
|
| 104 |
+
return weight, slope, linear
|
| 105 |
+
|
| 106 |
+
def forward(
|
| 107 |
+
self,
|
| 108 |
+
peeq: torch.Tensor,
|
| 109 |
+
stress_scale: torch.Tensor,
|
| 110 |
+
embedding: torch.Tensor,
|
| 111 |
+
) -> torch.Tensor:
|
| 112 |
+
weight, slope, linear = self._positive_parameters(embedding)
|
| 113 |
+
coordinate = peeq[..., None] / self.plastic_scale
|
| 114 |
+
saturation = -torch.expm1(-slope * coordinate)
|
| 115 |
+
dimensionless = linear * coordinate.squeeze(-1) + (weight * saturation).sum(dim=-1)
|
| 116 |
+
return stress_scale * dimensionless
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
class ConditionalDENIM(nn.Module):
|
| 120 |
+
"""Shared neural hardening closure conditioned on material metadata."""
|
| 121 |
+
|
| 122 |
+
def __init__(self, channels: int = 2, embedding: int = 32, hidden: int = 48):
|
| 123 |
+
super().__init__()
|
| 124 |
+
self.channels = int(channels)
|
| 125 |
+
self.encoder = MaterialEncoder(hidden=embedding)
|
| 126 |
+
self.isotropic = ConditionalIsotropicHardening(embedding=embedding)
|
| 127 |
+
self.modulus_head = nn.Sequential(
|
| 128 |
+
nn.Linear(embedding, hidden), nn.SiLU(), nn.Linear(hidden, channels)
|
| 129 |
+
)
|
| 130 |
+
state_size = 3 + 3 * channels + embedding
|
| 131 |
+
self.recovery = nn.Sequential(
|
| 132 |
+
nn.Linear(state_size, hidden),
|
| 133 |
+
nn.SiLU(),
|
| 134 |
+
nn.Linear(hidden, hidden),
|
| 135 |
+
nn.SiLU(),
|
| 136 |
+
nn.Linear(hidden, channels),
|
| 137 |
+
)
|
| 138 |
+
|
| 139 |
+
def encode(self, descriptor: torch.Tensor) -> torch.Tensor:
|
| 140 |
+
return self.encoder(descriptor)
|
| 141 |
+
|
| 142 |
+
def moduli(self, stress_scale: torch.Tensor, embedding: torch.Tensor) -> torch.Tensor:
|
| 143 |
+
# 0--400 times the initial yield stress covers the synthetic families
|
| 144 |
+
# while retaining a bounded, nonnegative kinematic modulus.
|
| 145 |
+
return 400.0 * stress_scale[..., None] * torch.sigmoid(self.modulus_head(embedding))
|
| 146 |
+
|
| 147 |
+
def isotropic_radius(
|
| 148 |
+
self,
|
| 149 |
+
peeq: torch.Tensor,
|
| 150 |
+
stress_scale: torch.Tensor,
|
| 151 |
+
embedding: torch.Tensor,
|
| 152 |
+
) -> torch.Tensor:
|
| 153 |
+
return self.isotropic(peeq, stress_scale, embedding)
|
| 154 |
+
|
| 155 |
+
def update_memories(
|
| 156 |
+
self,
|
| 157 |
+
state: GrayboxState,
|
| 158 |
+
flow_direction: torch.Tensor,
|
| 159 |
+
increment: torch.Tensor,
|
| 160 |
+
stress_scale: torch.Tensor,
|
| 161 |
+
embedding: torch.Tensor,
|
| 162 |
+
) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
|
| 163 |
+
radius = self.isotropic_radius(state.peeq, stress_scale, embedding)
|
| 164 |
+
old_norm = torch.sqrt(torch.clamp(double_contract(state.previous_flow, state.previous_flow), min=0.0))
|
| 165 |
+
current_norm = torch.sqrt(torch.clamp(double_contract(flow_direction, flow_direction), min=0.0))
|
| 166 |
+
reversal = double_contract(state.previous_flow, flow_direction) / (
|
| 167 |
+
old_norm * current_norm
|
| 168 |
+
).clamp_min(1.0e-12)
|
| 169 |
+
scale = stress_scale.clamp_min(1.0)
|
| 170 |
+
norms = torch.sqrt(torch.clamp(double_contract(state.memories, state.memories), min=0.0)) / scale[..., None]
|
| 171 |
+
projections = double_contract(state.memories, flow_direction[..., None, :]) / scale[..., None]
|
| 172 |
+
cross = torch.zeros_like(norms)
|
| 173 |
+
if self.channels > 1:
|
| 174 |
+
for index in range(self.channels):
|
| 175 |
+
other = (index + 1) % self.channels
|
| 176 |
+
cross[..., index] = double_contract(
|
| 177 |
+
state.memories[..., index, :], state.memories[..., other, :]
|
| 178 |
+
) / scale.square()
|
| 179 |
+
scalars = torch.stack((state.peeq / 0.05, radius / scale, reversal), dim=-1)
|
| 180 |
+
features = torch.cat((scalars, norms, projections, cross, embedding), dim=-1)
|
| 181 |
+
recovery = 250.0 * torch.sigmoid(self.recovery(features)) + 1.0e-7
|
| 182 |
+
moduli = self.moduli(stress_scale, embedding)
|
| 183 |
+
numerator = state.memories + (
|
| 184 |
+
(2.0 / 3.0)
|
| 185 |
+
* moduli[..., :, None]
|
| 186 |
+
* increment[..., None, None]
|
| 187 |
+
* flow_direction[..., None, :]
|
| 188 |
+
)
|
| 189 |
+
denominator = 1.0 + recovery * increment[..., None]
|
| 190 |
+
return numerator / denominator[..., None], recovery, moduli
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
def _candidate_update(
|
| 194 |
+
trial_deviatoric: torch.Tensor,
|
| 195 |
+
state: GrayboxState,
|
| 196 |
+
increment: torch.Tensor,
|
| 197 |
+
shear: torch.Tensor,
|
| 198 |
+
yield_stress: torch.Tensor,
|
| 199 |
+
embedding: torch.Tensor,
|
| 200 |
+
law: ConditionalDENIM,
|
| 201 |
+
*,
|
| 202 |
+
direction_iterations: int = 6,
|
| 203 |
+
) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]:
|
| 204 |
+
shifted = trial_deviatoric - state.backstress
|
| 205 |
+
direction = 1.5 * shifted / von_mises(shifted).clamp_min(1.0)[..., None]
|
| 206 |
+
memories = state.memories
|
| 207 |
+
recovery = moduli = None
|
| 208 |
+
for _ in range(direction_iterations):
|
| 209 |
+
memories, recovery, moduli = law.update_memories(
|
| 210 |
+
state, direction, increment, yield_stress, embedding
|
| 211 |
+
)
|
| 212 |
+
denominator = 1.0 + recovery * increment[..., None]
|
| 213 |
+
effective = trial_deviatoric - (
|
| 214 |
+
state.memories / denominator[..., None]
|
| 215 |
+
).sum(dim=-2)
|
| 216 |
+
direction = 1.5 * effective / von_mises(effective).clamp_min(1.0)[..., None]
|
| 217 |
+
memories, recovery, moduli = law.update_memories(
|
| 218 |
+
state, direction, increment, yield_stress, embedding
|
| 219 |
+
)
|
| 220 |
+
denominator = 1.0 + recovery * increment[..., None]
|
| 221 |
+
effective = trial_deviatoric - (state.memories / denominator[..., None]).sum(dim=-2)
|
| 222 |
+
radius = yield_stress + law.isotropic_radius(
|
| 223 |
+
state.peeq + increment, yield_stress, embedding
|
| 224 |
+
)
|
| 225 |
+
effective_modulus = 3.0 * shear + (moduli / denominator).sum(dim=-1)
|
| 226 |
+
residual = von_mises(effective) - effective_modulus * increment - radius
|
| 227 |
+
return residual, direction, memories, recovery, moduli
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
def advance(
|
| 231 |
+
strain: torch.Tensor,
|
| 232 |
+
state: GrayboxState,
|
| 233 |
+
young: torch.Tensor,
|
| 234 |
+
poisson: torch.Tensor,
|
| 235 |
+
yield_stress: torch.Tensor,
|
| 236 |
+
descriptor: torch.Tensor,
|
| 237 |
+
law: ConditionalDENIM,
|
| 238 |
+
*,
|
| 239 |
+
bisection_iterations: int = 24,
|
| 240 |
+
direction_iterations: int = 6,
|
| 241 |
+
) -> tuple[torch.Tensor, GrayboxState, dict[str, torch.Tensor]]:
|
| 242 |
+
embedding = law.encode(descriptor)
|
| 243 |
+
trial = elastic_stress(strain, state.plastic_strain, young, poisson)
|
| 244 |
+
trial_deviatoric = deviatoric(trial)
|
| 245 |
+
shifted = trial_deviatoric - state.backstress
|
| 246 |
+
old_radius = yield_stress + law.isotropic_radius(state.peeq, yield_stress, embedding)
|
| 247 |
+
trial_function = von_mises(shifted) - old_radius
|
| 248 |
+
plastic = trial_function > yield_stress.clamp_min(1.0) * 1.0e-12
|
| 249 |
+
shear = young / (2.0 * (1.0 + poisson))
|
| 250 |
+
lower = torch.zeros_like(trial_function)
|
| 251 |
+
upper = 2.0 * F.relu(trial_function) / (3.0 * shear).clamp_min(1.0) + 1.0e-14
|
| 252 |
+
for _ in range(16):
|
| 253 |
+
residual, *_ = _candidate_update(
|
| 254 |
+
trial_deviatoric, state, upper, shear, yield_stress, embedding, law,
|
| 255 |
+
direction_iterations=direction_iterations,
|
| 256 |
+
)
|
| 257 |
+
upper = torch.where(plastic & (residual > 0.0), 2.0 * upper, upper)
|
| 258 |
+
for _ in range(bisection_iterations):
|
| 259 |
+
middle = 0.5 * (lower + upper)
|
| 260 |
+
residual, *_ = _candidate_update(
|
| 261 |
+
trial_deviatoric, state, middle, shear, yield_stress, embedding, law,
|
| 262 |
+
direction_iterations=direction_iterations,
|
| 263 |
+
)
|
| 264 |
+
lower = torch.where(plastic & (residual > 0.0), middle, lower)
|
| 265 |
+
upper = torch.where(plastic & (residual <= 0.0), middle, upper)
|
| 266 |
+
increment = torch.where(plastic, 0.5 * (lower + upper), torch.zeros_like(lower))
|
| 267 |
+
residual, direction, memories, recovery, moduli = _candidate_update(
|
| 268 |
+
trial_deviatoric, state, increment, shear, yield_stress, embedding, law,
|
| 269 |
+
direction_iterations=direction_iterations,
|
| 270 |
+
)
|
| 271 |
+
direction = torch.where(plastic[..., None], direction, torch.zeros_like(direction))
|
| 272 |
+
memories = torch.where(plastic[..., None, None], memories, state.memories)
|
| 273 |
+
updated = GrayboxState(
|
| 274 |
+
plastic_strain=state.plastic_strain + increment[..., None] * direction,
|
| 275 |
+
peeq=state.peeq + increment,
|
| 276 |
+
memories=memories,
|
| 277 |
+
previous_flow=torch.where(plastic[..., None], direction, state.previous_flow),
|
| 278 |
+
)
|
| 279 |
+
stress = elastic_stress(strain, updated.plastic_strain, young, poisson)
|
| 280 |
+
return stress, updated, {
|
| 281 |
+
"plastic_increment": increment,
|
| 282 |
+
"yield_residual": torch.where(plastic, residual, torch.zeros_like(residual)),
|
| 283 |
+
"recovery": recovery,
|
| 284 |
+
"moduli": moduli,
|
| 285 |
+
"plastic": plastic,
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
|
| 289 |
+
def rollout(
|
| 290 |
+
strain: torch.Tensor,
|
| 291 |
+
young: torch.Tensor,
|
| 292 |
+
poisson: torch.Tensor,
|
| 293 |
+
yield_stress: torch.Tensor,
|
| 294 |
+
descriptor: torch.Tensor,
|
| 295 |
+
law: ConditionalDENIM,
|
| 296 |
+
*,
|
| 297 |
+
bisection_iterations: int = 24,
|
| 298 |
+
) -> dict[str, torch.Tensor]:
|
| 299 |
+
batch, points, _ = strain.shape
|
| 300 |
+
state = initial_state(batch, channels=law.channels, dtype=strain.dtype, device=strain.device)
|
| 301 |
+
result: dict[str, list[torch.Tensor]] = {
|
| 302 |
+
name: []
|
| 303 |
+
for name in (
|
| 304 |
+
"stress", "plastic_strain", "peeq", "memories",
|
| 305 |
+
"plastic_increment", "yield_residual", "recovery", "moduli",
|
| 306 |
+
)
|
| 307 |
+
}
|
| 308 |
+
for point in range(points):
|
| 309 |
+
stress, state, diagnostics = advance(
|
| 310 |
+
strain[:, point], state, young, poisson, yield_stress, descriptor, law,
|
| 311 |
+
bisection_iterations=bisection_iterations,
|
| 312 |
+
)
|
| 313 |
+
result["stress"].append(stress)
|
| 314 |
+
result["plastic_strain"].append(state.plastic_strain)
|
| 315 |
+
result["peeq"].append(state.peeq)
|
| 316 |
+
result["memories"].append(state.memories)
|
| 317 |
+
for name in ("plastic_increment", "yield_residual", "recovery", "moduli"):
|
| 318 |
+
result[name].append(diagnostics[name])
|
| 319 |
+
return {name: torch.stack(values, dim=1) for name, values in result.items()}
|
| 320 |
+
|
| 321 |
+
|
| 322 |
+
__all__ = [
|
| 323 |
+
"ConditionalDENIM",
|
| 324 |
+
"DESCRIPTOR_NAMES",
|
| 325 |
+
"advance",
|
| 326 |
+
"material_descriptor",
|
| 327 |
+
"rollout",
|
| 328 |
+
]
|
conditional_v2/src/train_t2_denim_conditional_v2.py
ADDED
|
@@ -0,0 +1,507 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Train a material-conditioned DENIM with all 2,660 trajectories assigned.
|
| 2 |
+
|
| 3 |
+
The 1,008 basic-memory and 1,024 multiaxial trajectories teach a shared
|
| 4 |
+
conditional hardening representation. The 628 incomplete-physics trajectories
|
| 5 |
+
then train and evaluate the closure target. Frozen holdouts remain holdouts;
|
| 6 |
+
"use all data" means every trajectory has an explicit train/validation/test
|
| 7 |
+
role, not that benchmark cases are leaked into optimization.
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import argparse
|
| 13 |
+
import copy
|
| 14 |
+
import json
|
| 15 |
+
import random
|
| 16 |
+
import time
|
| 17 |
+
from collections import Counter, defaultdict
|
| 18 |
+
from dataclasses import dataclass
|
| 19 |
+
from pathlib import Path
|
| 20 |
+
|
| 21 |
+
import h5py
|
| 22 |
+
import numpy as np
|
| 23 |
+
import torch
|
| 24 |
+
|
| 25 |
+
from src.t2_denim_conditional import ConditionalDENIM, material_descriptor, rollout
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 29 |
+
V1_ROOT = ROOT / "data" / "t2_material_loading_memory_v1" / "shards"
|
| 30 |
+
V2_ROOT = ROOT / "data" / "t2_multiaxial_ood_v2" / "shards"
|
| 31 |
+
CLOSURE_PATH = ROOT / "data" / "t2_graybox_closure_v1" / "cohort.h5"
|
| 32 |
+
BOUNDARY_PATH = ROOT / "data" / "t2_denim_boundary_v1" / "cohort.h5"
|
| 33 |
+
MODEL_DIR = ROOT / "models" / "t2_denim_conditional_v2"
|
| 34 |
+
ARTIFACT_DIR = ROOT / "artifacts" / "t2_denim_conditional_v2"
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
@dataclass
|
| 38 |
+
class Trajectory:
|
| 39 |
+
strain: torch.Tensor
|
| 40 |
+
stress: torch.Tensor
|
| 41 |
+
plastic: torch.Tensor
|
| 42 |
+
peeq: torch.Tensor
|
| 43 |
+
increment: torch.Tensor
|
| 44 |
+
memories: torch.Tensor
|
| 45 |
+
radius: torch.Tensor
|
| 46 |
+
descriptor: torch.Tensor
|
| 47 |
+
young: float
|
| 48 |
+
poisson: float
|
| 49 |
+
yield_stress: float
|
| 50 |
+
source: str
|
| 51 |
+
family: str
|
| 52 |
+
material: str
|
| 53 |
+
role: str
|
| 54 |
+
evaluation: str
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
@dataclass
|
| 58 |
+
class Transitions:
|
| 59 |
+
increment: torch.Tensor
|
| 60 |
+
flow: torch.Tensor
|
| 61 |
+
previous_flow: torch.Tensor
|
| 62 |
+
old_peeq: torch.Tensor
|
| 63 |
+
new_peeq: torch.Tensor
|
| 64 |
+
old_memories: torch.Tensor
|
| 65 |
+
new_memories: torch.Tensor
|
| 66 |
+
new_radius: torch.Tensor
|
| 67 |
+
descriptor: torch.Tensor
|
| 68 |
+
yield_stress: torch.Tensor
|
| 69 |
+
|
| 70 |
+
def __len__(self) -> int:
|
| 71 |
+
return len(self.increment)
|
| 72 |
+
|
| 73 |
+
def select(self, indices: torch.Tensor) -> "Transitions":
|
| 74 |
+
return Transitions(**{name: value[indices] for name, value in vars(self).items()})
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def _voigt(value: np.ndarray) -> np.ndarray:
|
| 78 |
+
return value[..., (0, 1, 2, 0, 1, 0), (0, 1, 2, 1, 2, 2)]
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
def _parameters(group: h5py.Group) -> dict[str, float | str]:
|
| 82 |
+
return json.loads(str(group.attrs["parameters_json"]))
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
def _standard_trajectory(
|
| 86 |
+
group: h5py.Group,
|
| 87 |
+
*,
|
| 88 |
+
source: str,
|
| 89 |
+
role: str,
|
| 90 |
+
evaluation: str,
|
| 91 |
+
) -> Trajectory:
|
| 92 |
+
parameters = _parameters(group)
|
| 93 |
+
material = str(parameters["material_model"])
|
| 94 |
+
if "total_strain_voigt" in group:
|
| 95 |
+
strain = group["total_strain_voigt"][:]
|
| 96 |
+
stress = group["stress_voigt_pa"][:]
|
| 97 |
+
plastic = group["plastic_strain_voigt"][:]
|
| 98 |
+
else:
|
| 99 |
+
strain = _voigt(group["total_strain"][:])
|
| 100 |
+
stress = _voigt(group["stress_pa"][:])
|
| 101 |
+
plastic = _voigt(group["plastic_strain"][:])
|
| 102 |
+
if material == "j2_linear_isotropic":
|
| 103 |
+
memories = np.zeros((len(strain), 2, 6), dtype=np.float64)
|
| 104 |
+
else:
|
| 105 |
+
memories = _voigt(group["backstress_components_pa"][:])
|
| 106 |
+
yield_stress = float(parameters["yield_stress_pa"])
|
| 107 |
+
radius = group["yield_radius_pa"][:] - yield_stress
|
| 108 |
+
return Trajectory(
|
| 109 |
+
strain=torch.tensor(strain, dtype=torch.float32),
|
| 110 |
+
stress=torch.tensor(stress, dtype=torch.float32),
|
| 111 |
+
plastic=torch.tensor(plastic, dtype=torch.float32),
|
| 112 |
+
peeq=torch.tensor(group["equivalent_plastic_strain"][:], dtype=torch.float32),
|
| 113 |
+
increment=torch.tensor(group["plastic_multiplier_increment"][:], dtype=torch.float32),
|
| 114 |
+
memories=torch.tensor(memories, dtype=torch.float32),
|
| 115 |
+
radius=torch.tensor(radius, dtype=torch.float32),
|
| 116 |
+
descriptor=material_descriptor(parameters),
|
| 117 |
+
young=float(parameters["young_pa"]),
|
| 118 |
+
poisson=float(parameters["poisson"]),
|
| 119 |
+
yield_stress=yield_stress,
|
| 120 |
+
source=source,
|
| 121 |
+
family=str(group.attrs["path_family"]),
|
| 122 |
+
material=material,
|
| 123 |
+
role=role,
|
| 124 |
+
evaluation=evaluation,
|
| 125 |
+
)
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
def _hidden_trajectory(group: h5py.Group, *, source: str) -> Trajectory:
|
| 129 |
+
parameters = _parameters(group)
|
| 130 |
+
split = str(group.attrs["split"])
|
| 131 |
+
role = "train" if split == "train" else "validation" if split == "validation" else "test"
|
| 132 |
+
if split == "test":
|
| 133 |
+
evaluation = "hidden_frozen_test"
|
| 134 |
+
elif split.startswith("test_"):
|
| 135 |
+
evaluation = split
|
| 136 |
+
role = "test"
|
| 137 |
+
else:
|
| 138 |
+
evaluation = f"hidden_{role}"
|
| 139 |
+
return Trajectory(
|
| 140 |
+
strain=torch.tensor(group["strain"][:], dtype=torch.float32),
|
| 141 |
+
stress=torch.tensor(group["stress_pa"][:], dtype=torch.float32),
|
| 142 |
+
plastic=torch.tensor(group["plastic_strain"][:], dtype=torch.float32),
|
| 143 |
+
peeq=torch.tensor(group["peeq"][:], dtype=torch.float32),
|
| 144 |
+
increment=torch.tensor(group["plastic_increment"][:], dtype=torch.float32),
|
| 145 |
+
memories=torch.tensor(group["memories_pa"][:], dtype=torch.float32),
|
| 146 |
+
radius=torch.tensor(group["isotropic_radius_pa"][:], dtype=torch.float32),
|
| 147 |
+
descriptor=material_descriptor(parameters),
|
| 148 |
+
young=float(parameters["young_pa"]),
|
| 149 |
+
poisson=float(parameters["poisson"]),
|
| 150 |
+
yield_stress=float(parameters["yield_stress_pa"]),
|
| 151 |
+
source=source,
|
| 152 |
+
family=str(group.attrs["path_family"]),
|
| 153 |
+
material=str(parameters["material_model"]),
|
| 154 |
+
role=role,
|
| 155 |
+
evaluation=evaluation,
|
| 156 |
+
)
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
def load_all_trajectories() -> list[Trajectory]:
|
| 160 |
+
trajectories: list[Trajectory] = []
|
| 161 |
+
for path in sorted(V1_ROOT.glob("*.h5")):
|
| 162 |
+
with h5py.File(path, "r") as h5:
|
| 163 |
+
for name in sorted(h5):
|
| 164 |
+
group = h5[name]
|
| 165 |
+
split = str(group.attrs["split"])
|
| 166 |
+
trajectories.append(
|
| 167 |
+
_standard_trajectory(
|
| 168 |
+
group, source="basic_memory_v1", role=split,
|
| 169 |
+
evaluation=f"v1_{split}",
|
| 170 |
+
)
|
| 171 |
+
)
|
| 172 |
+
for path in sorted(V2_ROOT.glob("*.h5")):
|
| 173 |
+
with h5py.File(path, "r") as h5:
|
| 174 |
+
for name in sorted(h5):
|
| 175 |
+
group = h5[name]
|
| 176 |
+
splits = tuple(
|
| 177 |
+
str(group.attrs[field])
|
| 178 |
+
for field in ("split_id", "split_path_ood", "split_parameter_ood")
|
| 179 |
+
)
|
| 180 |
+
if all(value == "train" for value in splits):
|
| 181 |
+
role = "train"
|
| 182 |
+
elif any(value == "test" for value in splits):
|
| 183 |
+
role = "test"
|
| 184 |
+
else:
|
| 185 |
+
role = "validation"
|
| 186 |
+
labels = []
|
| 187 |
+
for protocol, value in zip(("id", "path_ood", "parameter_ood"), splits, strict=True):
|
| 188 |
+
if value == "test":
|
| 189 |
+
labels.append(protocol)
|
| 190 |
+
evaluation = "v2_" + ("+".join(labels) if labels else role)
|
| 191 |
+
trajectories.append(
|
| 192 |
+
_standard_trajectory(
|
| 193 |
+
group, source="multiaxial_ood_v2", role=role,
|
| 194 |
+
evaluation=evaluation,
|
| 195 |
+
)
|
| 196 |
+
)
|
| 197 |
+
with h5py.File(CLOSURE_PATH, "r") as h5:
|
| 198 |
+
for name in sorted(h5):
|
| 199 |
+
trajectories.append(_hidden_trajectory(h5[name], source="denim_closure_v1"))
|
| 200 |
+
with h5py.File(BOUNDARY_PATH, "r") as h5:
|
| 201 |
+
for name in sorted(h5):
|
| 202 |
+
trajectories.append(_hidden_trajectory(h5[name], source="denim_boundary_v1"))
|
| 203 |
+
if len(trajectories) != 2660:
|
| 204 |
+
raise RuntimeError(f"Expected 2,660 trajectories, found {len(trajectories)}")
|
| 205 |
+
return trajectories
|
| 206 |
+
|
| 207 |
+
|
| 208 |
+
def transitions(trajectories: list[Trajectory]) -> Transitions:
|
| 209 |
+
values: dict[str, list[torch.Tensor]] = defaultdict(list)
|
| 210 |
+
for trajectory in trajectories:
|
| 211 |
+
increment = trajectory.increment[1:]
|
| 212 |
+
active = increment > 1.0e-11
|
| 213 |
+
if not torch.any(active):
|
| 214 |
+
continue
|
| 215 |
+
old_plastic = trajectory.plastic[:-1]
|
| 216 |
+
new_plastic = trajectory.plastic[1:]
|
| 217 |
+
flow = (new_plastic - old_plastic) / increment.clamp_min(1.0e-14)[:, None]
|
| 218 |
+
previous_increment = trajectory.increment[:-1]
|
| 219 |
+
previous_plastic = torch.cat((torch.zeros_like(old_plastic[:1]), old_plastic[:-1]), dim=0)
|
| 220 |
+
previous_flow = (old_plastic - previous_plastic) / previous_increment.clamp_min(1.0e-14)[:, None]
|
| 221 |
+
previous_flow = torch.where(
|
| 222 |
+
(previous_increment > 1.0e-11)[:, None], previous_flow,
|
| 223 |
+
torch.zeros_like(previous_flow),
|
| 224 |
+
)
|
| 225 |
+
count = int(active.sum())
|
| 226 |
+
values["increment"].append(increment[active])
|
| 227 |
+
values["flow"].append(flow[active])
|
| 228 |
+
values["previous_flow"].append(previous_flow[active])
|
| 229 |
+
values["old_peeq"].append(trajectory.peeq[:-1][active])
|
| 230 |
+
values["new_peeq"].append(trajectory.peeq[1:][active])
|
| 231 |
+
values["old_memories"].append(trajectory.memories[:-1][active])
|
| 232 |
+
values["new_memories"].append(trajectory.memories[1:][active])
|
| 233 |
+
values["new_radius"].append(trajectory.radius[1:][active])
|
| 234 |
+
values["descriptor"].append(trajectory.descriptor[None].expand(count, -1))
|
| 235 |
+
values["yield_stress"].append(torch.full((count,), trajectory.yield_stress))
|
| 236 |
+
return Transitions(**{name: torch.cat(parts, dim=0) for name, parts in values.items()})
|
| 237 |
+
|
| 238 |
+
|
| 239 |
+
def _loss(model: ConditionalDENIM, data: Transitions) -> tuple[torch.Tensor, dict[str, float]]:
|
| 240 |
+
from src.t2_graybox_discrete_energy import GrayboxState
|
| 241 |
+
|
| 242 |
+
count = len(data)
|
| 243 |
+
state = GrayboxState(
|
| 244 |
+
plastic_strain=torch.zeros((count, 6)),
|
| 245 |
+
peeq=data.old_peeq,
|
| 246 |
+
memories=data.old_memories,
|
| 247 |
+
previous_flow=data.previous_flow,
|
| 248 |
+
)
|
| 249 |
+
embedding = model.encode(data.descriptor)
|
| 250 |
+
predicted, _, _ = model.update_memories(
|
| 251 |
+
state, data.flow, data.increment, data.yield_stress, embedding
|
| 252 |
+
)
|
| 253 |
+
radius = model.isotropic_radius(data.new_peeq, data.yield_stress, embedding)
|
| 254 |
+
scale = data.yield_stress.clamp_min(1.0)
|
| 255 |
+
memory = ((predicted - data.new_memories) / scale[:, None, None]).square().mean()
|
| 256 |
+
delta = (
|
| 257 |
+
((predicted - data.old_memories) - (data.new_memories - data.old_memories))
|
| 258 |
+
/ (0.05 * scale[:, None, None])
|
| 259 |
+
).square().mean()
|
| 260 |
+
isotropic = ((radius - data.new_radius) / scale).square().mean()
|
| 261 |
+
total = memory + 0.08 * delta + isotropic
|
| 262 |
+
return total, {
|
| 263 |
+
"memory": float(memory.detach()),
|
| 264 |
+
"memory_increment": float(delta.detach()),
|
| 265 |
+
"isotropic": float(isotropic.detach()),
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
|
| 269 |
+
def _train_stage(
|
| 270 |
+
model: ConditionalDENIM,
|
| 271 |
+
train_sets: list[Transitions],
|
| 272 |
+
validation_sets: list[Transitions],
|
| 273 |
+
*,
|
| 274 |
+
steps: int,
|
| 275 |
+
seed: int,
|
| 276 |
+
batch_size: int = 4096,
|
| 277 |
+
learning_rate: float = 2.0e-3,
|
| 278 |
+
) -> dict[str, object]:
|
| 279 |
+
optimizer = torch.optim.AdamW(model.parameters(), lr=learning_rate, weight_decay=1.0e-6)
|
| 280 |
+
scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(optimizer, steps, eta_min=2.0e-5)
|
| 281 |
+
generator = torch.Generator().manual_seed(seed)
|
| 282 |
+
best = float("inf")
|
| 283 |
+
best_state = None
|
| 284 |
+
history = []
|
| 285 |
+
started = time.perf_counter()
|
| 286 |
+
for step in range(steps):
|
| 287 |
+
optimizer.zero_grad()
|
| 288 |
+
total = torch.zeros(())
|
| 289 |
+
diagnostics = []
|
| 290 |
+
for data in train_sets:
|
| 291 |
+
index = torch.randint(len(data), (min(batch_size, len(data)),), generator=generator)
|
| 292 |
+
value, detail = _loss(model, data.select(index))
|
| 293 |
+
total = total + value / len(train_sets)
|
| 294 |
+
diagnostics.append(detail)
|
| 295 |
+
total.backward()
|
| 296 |
+
torch.nn.utils.clip_grad_norm_(model.parameters(), 10.0)
|
| 297 |
+
optimizer.step()
|
| 298 |
+
scheduler.step()
|
| 299 |
+
if step % 50 == 0 or step + 1 == steps:
|
| 300 |
+
model.eval()
|
| 301 |
+
with torch.no_grad():
|
| 302 |
+
validation = []
|
| 303 |
+
for data in validation_sets:
|
| 304 |
+
# Deterministic cap keeps validation fast and balanced.
|
| 305 |
+
selected = torch.arange(min(24000, len(data)))
|
| 306 |
+
validation.append(float(_loss(model, data.select(selected))[0]))
|
| 307 |
+
score = sum(validation) / len(validation)
|
| 308 |
+
model.train()
|
| 309 |
+
history.append(
|
| 310 |
+
{
|
| 311 |
+
"step": step,
|
| 312 |
+
"training_loss": float(total.detach()),
|
| 313 |
+
"validation_loss": score,
|
| 314 |
+
"parts": diagnostics,
|
| 315 |
+
}
|
| 316 |
+
)
|
| 317 |
+
if score < best:
|
| 318 |
+
best = score
|
| 319 |
+
best_state = copy.deepcopy(model.state_dict())
|
| 320 |
+
if best_state is None:
|
| 321 |
+
raise RuntimeError("Training stage produced no checkpoint")
|
| 322 |
+
model.load_state_dict(best_state)
|
| 323 |
+
model.eval()
|
| 324 |
+
return {
|
| 325 |
+
"steps": steps,
|
| 326 |
+
"seconds": time.perf_counter() - started,
|
| 327 |
+
"best_validation_loss": best,
|
| 328 |
+
"history": history,
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
|
| 332 |
+
def _metric(prediction: torch.Tensor, reference: torch.Tensor) -> dict[str, float | int]:
|
| 333 |
+
error = prediction - reference
|
| 334 |
+
denominator = (reference - reference.mean()).square().sum().clamp_min(1.0)
|
| 335 |
+
return {
|
| 336 |
+
"trajectory_count": len(reference),
|
| 337 |
+
"rmse_mpa": float(torch.sqrt(error.square().mean()) / 1.0e6),
|
| 338 |
+
"mae_mpa": float(error.abs().mean() / 1.0e6),
|
| 339 |
+
"r2": float(1.0 - error.square().sum() / denominator),
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
|
| 343 |
+
def evaluate(model: ConditionalDENIM, selected: list[Trajectory]) -> dict[str, float | int]:
|
| 344 |
+
predictions = []
|
| 345 |
+
references = []
|
| 346 |
+
by_points: dict[int, list[Trajectory]] = defaultdict(list)
|
| 347 |
+
for item in selected:
|
| 348 |
+
by_points[len(item.strain)].append(item)
|
| 349 |
+
with torch.no_grad():
|
| 350 |
+
for group in by_points.values():
|
| 351 |
+
for start in range(0, len(group), 96):
|
| 352 |
+
batch = group[start : start + 96]
|
| 353 |
+
strain = torch.stack([item.strain for item in batch])
|
| 354 |
+
result = rollout(
|
| 355 |
+
strain,
|
| 356 |
+
torch.tensor([item.young for item in batch]),
|
| 357 |
+
torch.tensor([item.poisson for item in batch]),
|
| 358 |
+
torch.tensor([item.yield_stress for item in batch]),
|
| 359 |
+
torch.stack([item.descriptor for item in batch]),
|
| 360 |
+
model,
|
| 361 |
+
bisection_iterations=24,
|
| 362 |
+
)
|
| 363 |
+
predictions.append(result["stress"].reshape(-1, 6))
|
| 364 |
+
references.append(
|
| 365 |
+
torch.stack([item.stress for item in batch]).reshape(-1, 6)
|
| 366 |
+
)
|
| 367 |
+
result = _metric(torch.cat(predictions), torch.cat(references))
|
| 368 |
+
result["trajectory_count"] = len(selected)
|
| 369 |
+
result["state_point_count"] = sum(len(item.strain) for item in selected)
|
| 370 |
+
return result
|
| 371 |
+
|
| 372 |
+
|
| 373 |
+
def run(*, pretrain_steps: int = 1800, joint_steps: int = 1800, scratch_steps: int = 1800) -> dict[str, object]:
|
| 374 |
+
random.seed(20260927)
|
| 375 |
+
np.random.seed(20260927)
|
| 376 |
+
torch.manual_seed(20260927)
|
| 377 |
+
trajectories = load_all_trajectories()
|
| 378 |
+
known_train = [x for x in trajectories if x.material != "hidden_three_memory_tabulated_hardening" and x.role == "train"]
|
| 379 |
+
known_validation = [x for x in trajectories if x.material != "hidden_three_memory_tabulated_hardening" and x.role == "validation"]
|
| 380 |
+
hidden_train = [x for x in trajectories if x.material == "hidden_three_memory_tabulated_hardening" and x.role == "train"]
|
| 381 |
+
hidden_validation = [x for x in trajectories if x.material == "hidden_three_memory_tabulated_hardening" and x.role == "validation"]
|
| 382 |
+
|
| 383 |
+
datasets = {
|
| 384 |
+
"known_train": transitions(known_train),
|
| 385 |
+
"known_validation": transitions(known_validation),
|
| 386 |
+
"hidden_train": transitions(hidden_train),
|
| 387 |
+
"hidden_validation": transitions(hidden_validation),
|
| 388 |
+
}
|
| 389 |
+
pretrained = ConditionalDENIM()
|
| 390 |
+
pretraining = _train_stage(
|
| 391 |
+
pretrained, [datasets["known_train"]], [datasets["known_validation"]],
|
| 392 |
+
steps=pretrain_steps, seed=20260927,
|
| 393 |
+
)
|
| 394 |
+
print(json.dumps({"stage": "known_pretraining", "best_validation_loss": pretraining["best_validation_loss"]}), flush=True)
|
| 395 |
+
transfer = copy.deepcopy(pretrained)
|
| 396 |
+
joint_training = _train_stage(
|
| 397 |
+
transfer,
|
| 398 |
+
[datasets["known_train"], datasets["hidden_train"]],
|
| 399 |
+
[datasets["known_validation"], datasets["hidden_validation"]],
|
| 400 |
+
steps=joint_steps, seed=20260928,
|
| 401 |
+
)
|
| 402 |
+
print(json.dumps({"stage": "mixed_replay", "best_validation_loss": joint_training["best_validation_loss"]}), flush=True)
|
| 403 |
+
scratch = ConditionalDENIM()
|
| 404 |
+
scratch_training = _train_stage(
|
| 405 |
+
scratch, [datasets["hidden_train"]], [datasets["hidden_validation"]],
|
| 406 |
+
steps=scratch_steps, seed=20260929,
|
| 407 |
+
)
|
| 408 |
+
print(json.dumps({"stage": "hidden_scratch", "best_validation_loss": scratch_training["best_validation_loss"]}), flush=True)
|
| 409 |
+
|
| 410 |
+
MODEL_DIR.mkdir(parents=True, exist_ok=True)
|
| 411 |
+
torch.save({"state_dict": transfer.state_dict(), "stage": "pre_evaluation"}, MODEL_DIR / "denim_conditional_v2.inprogress.pt")
|
| 412 |
+
|
| 413 |
+
groups: dict[str, list[Trajectory]] = defaultdict(list)
|
| 414 |
+
for trajectory in trajectories:
|
| 415 |
+
groups[trajectory.evaluation].append(trajectory)
|
| 416 |
+
primary = (
|
| 417 |
+
"v1_test", "v2_id", "v2_path_ood", "v2_parameter_ood",
|
| 418 |
+
"v2_id+path_ood", "v2_id+parameter_ood", "v2_path_ood+parameter_ood",
|
| 419 |
+
"v2_id+path_ood+parameter_ood", "hidden_frozen_test",
|
| 420 |
+
"test_path_ood", "test_amplitude_ood", "test_long_horizon",
|
| 421 |
+
"test_discretization",
|
| 422 |
+
)
|
| 423 |
+
evaluations: dict[str, object] = {}
|
| 424 |
+
for name in primary:
|
| 425 |
+
if not groups[name]:
|
| 426 |
+
continue
|
| 427 |
+
evaluations[name] = {
|
| 428 |
+
"transfer": evaluate(transfer, groups[name]),
|
| 429 |
+
"scratch": evaluate(scratch, groups[name])
|
| 430 |
+
if groups[name][0].material == "hidden_three_memory_tabulated_hardening"
|
| 431 |
+
else None,
|
| 432 |
+
}
|
| 433 |
+
# Aggregate strict holdouts gives a stable headline for the two known families.
|
| 434 |
+
known_test = [x for x in trajectories if x.material != "hidden_three_memory_tabulated_hardening" and x.role == "test"]
|
| 435 |
+
hidden_test = [x for x in trajectories if x.material == "hidden_three_memory_tabulated_hardening" and x.role == "test" and len(x.strain) == 241]
|
| 436 |
+
evaluations["known_strict_test_all"] = {"transfer": evaluate(transfer, known_test)}
|
| 437 |
+
evaluations["hidden_all_fixed_length_test"] = {
|
| 438 |
+
"transfer": evaluate(transfer, hidden_test),
|
| 439 |
+
"scratch": evaluate(scratch, hidden_test),
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
accounting = {
|
| 443 |
+
"total": len(trajectories),
|
| 444 |
+
"by_source": dict(Counter(x.source for x in trajectories)),
|
| 445 |
+
"by_role": dict(Counter(x.role for x in trajectories)),
|
| 446 |
+
"training": len(known_train) + len(hidden_train),
|
| 447 |
+
"validation": len(known_validation) + len(hidden_validation),
|
| 448 |
+
"test": sum(x.role == "test" for x in trajectories),
|
| 449 |
+
"known_training": len(known_train),
|
| 450 |
+
"hidden_training": len(hidden_train),
|
| 451 |
+
"transition_counts": {name: len(data) for name, data in datasets.items()},
|
| 452 |
+
}
|
| 453 |
+
metrics: dict[str, object] = {
|
| 454 |
+
"name": "material-conditioned DENIM v2",
|
| 455 |
+
"scope": "three synthetic material families; shared conditional closure with strict frozen holdouts",
|
| 456 |
+
"parameter_count": sum(parameter.numel() for parameter in transfer.parameters()),
|
| 457 |
+
"accounting": accounting,
|
| 458 |
+
"training": {
|
| 459 |
+
"known_family_pretraining": pretraining,
|
| 460 |
+
"mixed_replay_transfer": joint_training,
|
| 461 |
+
"hidden_only_scratch": scratch_training,
|
| 462 |
+
},
|
| 463 |
+
"evaluation": evaluations,
|
| 464 |
+
"descriptor_policy": {
|
| 465 |
+
"known_families": "E, nu, initial yield plus declared hardening parameters and family indicator",
|
| 466 |
+
"incomplete_family": "E, nu, initial yield and family indicator only; hidden hardening parameters remain zero",
|
| 467 |
+
},
|
| 468 |
+
}
|
| 469 |
+
ARTIFACT_DIR.mkdir(parents=True, exist_ok=True)
|
| 470 |
+
torch.save(
|
| 471 |
+
{
|
| 472 |
+
"state_dict": transfer.state_dict(),
|
| 473 |
+
"architecture": "ConditionalDENIM(channels=2, embedding=32, hidden=48)",
|
| 474 |
+
"data_accounting": accounting,
|
| 475 |
+
},
|
| 476 |
+
MODEL_DIR / "denim_conditional_v2.pt",
|
| 477 |
+
)
|
| 478 |
+
torch.save(
|
| 479 |
+
{"state_dict": pretrained.state_dict(), "stage": "known_family_pretraining"},
|
| 480 |
+
MODEL_DIR / "denim_conditional_pretrained.pt",
|
| 481 |
+
)
|
| 482 |
+
torch.save(
|
| 483 |
+
{"state_dict": scratch.state_dict(), "stage": "hidden_only_scratch"},
|
| 484 |
+
MODEL_DIR / "denim_conditional_scratch.pt",
|
| 485 |
+
)
|
| 486 |
+
(ARTIFACT_DIR / "model_metrics.json").write_text(
|
| 487 |
+
json.dumps(metrics, indent=2) + "\n", encoding="utf-8"
|
| 488 |
+
)
|
| 489 |
+
print(json.dumps({"accounting": accounting, "evaluation": evaluations}, indent=2))
|
| 490 |
+
return metrics
|
| 491 |
+
|
| 492 |
+
|
| 493 |
+
def main() -> None:
|
| 494 |
+
parser = argparse.ArgumentParser()
|
| 495 |
+
parser.add_argument("--pretrain-steps", type=int, default=1800)
|
| 496 |
+
parser.add_argument("--joint-steps", type=int, default=1800)
|
| 497 |
+
parser.add_argument("--scratch-steps", type=int, default=1800)
|
| 498 |
+
arguments = parser.parse_args()
|
| 499 |
+
run(
|
| 500 |
+
pretrain_steps=arguments.pretrain_steps,
|
| 501 |
+
joint_steps=arguments.joint_steps,
|
| 502 |
+
scratch_steps=arguments.scratch_steps,
|
| 503 |
+
)
|
| 504 |
+
|
| 505 |
+
|
| 506 |
+
if __name__ == "__main__":
|
| 507 |
+
main()
|
conditional_v2/src/validate_t2_denim_conditional_v2.py
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Physical and runtime audit for the refined conditional DENIM v2."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import json
|
| 6 |
+
import time
|
| 7 |
+
from collections import defaultdict
|
| 8 |
+
|
| 9 |
+
import torch
|
| 10 |
+
|
| 11 |
+
from src.t2_denim_conditional import ConditionalDENIM, rollout
|
| 12 |
+
from src.train_t2_denim_conditional_v2 import ARTIFACT_DIR, MODEL_DIR, load_all_trajectories
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def run() -> dict[str, object]:
|
| 16 |
+
checkpoint = torch.load(
|
| 17 |
+
MODEL_DIR / "denim_conditional_v2_refined.pt",
|
| 18 |
+
map_location="cpu",
|
| 19 |
+
weights_only=False,
|
| 20 |
+
)
|
| 21 |
+
model = ConditionalDENIM()
|
| 22 |
+
model.load_state_dict(checkpoint["state_dict"])
|
| 23 |
+
model.eval()
|
| 24 |
+
trajectories = load_all_trajectories()
|
| 25 |
+
groups: dict[str, list] = defaultdict(list)
|
| 26 |
+
for trajectory in trajectories:
|
| 27 |
+
groups[trajectory.evaluation].append(trajectory)
|
| 28 |
+
selected = (
|
| 29 |
+
groups["hidden_frozen_test"][:8]
|
| 30 |
+
+ groups["test_path_ood"][:8]
|
| 31 |
+
+ groups["test_long_horizon"][:8]
|
| 32 |
+
)
|
| 33 |
+
strain = torch.stack([item.strain for item in selected])
|
| 34 |
+
started = time.perf_counter()
|
| 35 |
+
with torch.no_grad():
|
| 36 |
+
result = rollout(
|
| 37 |
+
strain,
|
| 38 |
+
torch.tensor([item.young for item in selected]),
|
| 39 |
+
torch.tensor([item.poisson for item in selected]),
|
| 40 |
+
torch.tensor([item.yield_stress for item in selected]),
|
| 41 |
+
torch.stack([item.descriptor for item in selected]),
|
| 42 |
+
model,
|
| 43 |
+
bisection_iterations=24,
|
| 44 |
+
)
|
| 45 |
+
seconds = time.perf_counter() - started
|
| 46 |
+
reference = torch.stack([item.stress for item in selected])
|
| 47 |
+
error = result["stress"] - reference
|
| 48 |
+
active = result["plastic_increment"] > 1.0e-11
|
| 49 |
+
report = {
|
| 50 |
+
"model": "material-conditioned DENIM v2 refined",
|
| 51 |
+
"parameter_count": sum(parameter.numel() for parameter in model.parameters()),
|
| 52 |
+
"audit_trajectory_count": len(selected),
|
| 53 |
+
"audit_state_point_count": int(strain.shape[0] * strain.shape[1]),
|
| 54 |
+
"stress_rmse_mpa": float(torch.sqrt(error.square().mean()) / 1.0e6),
|
| 55 |
+
"maximum_yield_residual_pa": float(result["yield_residual"][active].abs().max()),
|
| 56 |
+
"minimum_peeq_increment": float(torch.diff(result["peeq"], dim=1).min()),
|
| 57 |
+
"maximum_plastic_strain_trace": float(
|
| 58 |
+
result["plastic_strain"][..., :3].sum(dim=-1).abs().max()
|
| 59 |
+
),
|
| 60 |
+
"maximum_memory_trace_pa": float(
|
| 61 |
+
result["memories"][..., :3].sum(dim=-1).abs().max()
|
| 62 |
+
),
|
| 63 |
+
"all_finite": all(torch.isfinite(value).all() for value in result.values()),
|
| 64 |
+
"inference_seconds": seconds,
|
| 65 |
+
"state_points_per_second": float(strain.shape[0] * strain.shape[1] / seconds),
|
| 66 |
+
"descriptor_hidden_hardening_entries_zero": bool(
|
| 67 |
+
torch.count_nonzero(torch.stack([x.descriptor[3:10] for x in selected])) == 0
|
| 68 |
+
),
|
| 69 |
+
"scope": "material-point audit; conditional v2 is not yet an AgentFEM global provider bundle",
|
| 70 |
+
}
|
| 71 |
+
ARTIFACT_DIR.mkdir(parents=True, exist_ok=True)
|
| 72 |
+
(ARTIFACT_DIR / "physical_runtime_validation.json").write_text(
|
| 73 |
+
json.dumps(report, indent=2) + "\n", encoding="utf-8"
|
| 74 |
+
)
|
| 75 |
+
print(json.dumps(report, indent=2))
|
| 76 |
+
return report
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
if __name__ == "__main__":
|
| 80 |
+
run()
|
conditional_v2/tests/test_t2_denim_conditional.py
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
import torch
|
| 4 |
+
|
| 5 |
+
from src.t2_denim_conditional import ConditionalDENIM, material_descriptor, rollout
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
def test_descriptor_hides_incomplete_parameters() -> None:
|
| 9 |
+
descriptor = material_descriptor(
|
| 10 |
+
{
|
| 11 |
+
"material_model": "hidden_three_memory_tabulated_hardening",
|
| 12 |
+
"young_pa": 190.0e9,
|
| 13 |
+
"poisson": 0.3,
|
| 14 |
+
"yield_stress_pa": 280.0e6,
|
| 15 |
+
"backstress_c1_pa": 99.0e9,
|
| 16 |
+
}
|
| 17 |
+
)
|
| 18 |
+
assert descriptor.shape == (13,)
|
| 19 |
+
assert torch.count_nonzero(descriptor[3:10]) == 0
|
| 20 |
+
assert torch.equal(descriptor[-3:], torch.tensor([0.0, 0.0, 1.0]))
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def test_conditional_rollout_preserves_hard_constraints() -> None:
|
| 24 |
+
torch.manual_seed(7)
|
| 25 |
+
model = ConditionalDENIM()
|
| 26 |
+
strain = torch.zeros((2, 17, 6), dtype=torch.float32)
|
| 27 |
+
strain[:, :, 0] = torch.linspace(0.0, 0.006, 17)
|
| 28 |
+
descriptor = torch.stack(
|
| 29 |
+
[
|
| 30 |
+
material_descriptor(
|
| 31 |
+
{
|
| 32 |
+
"material_model": "j2_linear_isotropic",
|
| 33 |
+
"young_pa": 200.0e9,
|
| 34 |
+
"poisson": 0.3,
|
| 35 |
+
"yield_stress_pa": 300.0e6,
|
| 36 |
+
"hardening_modulus_pa": 2.0e9,
|
| 37 |
+
}
|
| 38 |
+
),
|
| 39 |
+
material_descriptor(
|
| 40 |
+
{
|
| 41 |
+
"material_model": "chaboche_combined",
|
| 42 |
+
"young_pa": 190.0e9,
|
| 43 |
+
"poisson": 0.29,
|
| 44 |
+
"yield_stress_pa": 280.0e6,
|
| 45 |
+
"backstress_c1_pa": 25.0e9,
|
| 46 |
+
"backstress_gamma1": 70.0,
|
| 47 |
+
"backstress_c2_pa": 8.0e9,
|
| 48 |
+
"backstress_gamma2": 12.0,
|
| 49 |
+
"isotropic_saturation_pa": 60.0e6,
|
| 50 |
+
"isotropic_rate": 8.0,
|
| 51 |
+
}
|
| 52 |
+
),
|
| 53 |
+
]
|
| 54 |
+
)
|
| 55 |
+
result = rollout(
|
| 56 |
+
strain,
|
| 57 |
+
torch.tensor([200.0e9, 190.0e9]),
|
| 58 |
+
torch.tensor([0.3, 0.29]),
|
| 59 |
+
torch.tensor([300.0e6, 280.0e6]),
|
| 60 |
+
descriptor,
|
| 61 |
+
model,
|
| 62 |
+
bisection_iterations=8,
|
| 63 |
+
)
|
| 64 |
+
assert torch.isfinite(result["stress"]).all()
|
| 65 |
+
assert torch.diff(result["peeq"], dim=1).min() >= 0.0
|
| 66 |
+
assert result["plastic_strain"][..., :3].sum(dim=-1).abs().max() < 1.0e-6
|
| 67 |
+
active = result["plastic_increment"] > 0.0
|
| 68 |
+
assert result["yield_residual"][active].abs().max() < 5.0e6
|