AgentFEM-Material-Loading-Memory / src /train_t2_graybox_closure.py
HaomingLuo's picture
Add DENIM incomplete-physics closure dataset and evidence
bbe9b3e verified
Raw History Blame Contribute Delete
735 Bytes
"""Train DENRM on the intentionally mismatched incomplete-physics cohort."""
from pathlib import Path
from src.generate_t2_graybox_closure import DATA_PATH, MATERIAL
from src.train_t2_graybox_discrete_energy import run
ROOT = Path(__file__).resolve().parents[1]
if __name__ == "__main__":
run(
graybox_steps=1600,
gru_epochs=60,
data_path=DATA_PATH,
material=MATERIAL,
model_dir=ROOT / "models" / "t2_graybox_closure_v1",
artifact_dir=ROOT / "artifacts" / "t2_graybox_closure_v1",
scope=(
"out-of-template fixed material: three-memory tabulated reference; "
"two-memory DENRM closure; reference equations and parameters hidden"
),
)