技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
models-and-evaluation【数据与研究】Route PDEBench forward and inverse model configuration, safe model checks, metrics, checkpoints, and result analysis without reopening the source checkout.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a Researcher must choose, configure, inspect, or adapt PDEBench baseline models and their evaluation outputs. It covers the FNO, U-Net, PINN, and gradient/ProbRasterLatent/InitialConditionInterp inverse paths. It does not download data, generate PDE data, visualize datasets, or run a benchmark by default.
[batch, x1, ..., xd, time, variables] at dataset boundaries, while FNO
consumes a flattened time-variable context plus a coordinate grid and
U-Net consumes channel-first tensors. Do not silently transpose data.if_training: false for evaluation only when the matching checkpoint is
already present. Use continue_training: true only with the matching
optimizer-bearing checkpoint. A smoke check is not model training.pdebench.models.pinn.train; for inverse MCMC, separately verify Pyro.This graph distills the published README's “Baseline Models”, “Short
explanations on the config args”, and model configuration documentation,
plus observed contracts in the installed module family
pdebench.models.train_models_forward, pdebench.models.train_models_inverse,
the fno, unet, pinn, and inverse modules, metrics, the result-analysis
programs, and the published shell workflow examples. Those source artifacts
are provenance only; they are not bundled runtime files. Dataset downloading,
data generation, visualization, and vorticity are intentionally routed to
other sub-skills.
Set SKILL_ROOT to the directory containing this sub-skill's SKILL.md, then
run the bundled smoke with the installed pdebench package:
python "$SKILL_ROOT/scripts/model_smoke.py" --help
python "$SKILL_ROOT/scripts/model_smoke.py"
The script constructs tiny FNO/U-Net modules on CPU and checks metric output; it never opens a dataset, loads a checkpoint, starts an epoch, calls DeepXDE, or invokes Pyro. Do not use a source checkout path as an import workaround. For any real run, first apply the configuration and failure-recovery guidance in the linked references.