技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
image-super-resolution-via-iterative-refinement【数据与研究】Route Image Super-Resolution via Iterative Refinement SR3/DDPM dataset, config, training, inference, sampling, evaluation, and logging workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task names Image Super-Resolution via Iterative Refinement, SR3, this Janspiry PyTorch implementation, or asks for the repository's dataset preparation, config editing, super-resolution training/validation, pretrained inference, unconditional sampling, PSNR/SSIM evaluation, or W&B/TensorBoard logging workflows.
This skill is self-contained operating guidance. It distills the repository's scripts and configs into references and safe helper scripts; it does not require opening the original README or source files just to decide a workflow.
| User intent | Read |
|---|---|
| Prepare, validate, or explain LR/HR/SR image or LMDB datasets | sub-skills/data-preparation/SKILL.md |
| Inspect or edit JSON-with-comments configs, model family, beta schedule, checkpoint stem, or GPU ids | sub-skills/model-configuration/SKILL.md |
Build sr.py train/validation/resume/debug commands for conditional super-resolution | sub-skills/super-resolution-training/SKILL.md |
Build pretrained infer.py commands or unconditional sample.py commands | sub-skills/inference-and-sampling/SKILL.md |
| Score result directories with PSNR/SSIM or diagnose TensorBoard/W&B logging | sub-skills/evaluation-and-logging/SKILL.md |
data/prepare_data.py source behavior is represented by the data-preparation references and bundled layout/fixture helpers.sr.py is the conditional super-resolution training and validation entry point; the bundled command builder prints safe launch commands but never runs training.infer.py is the pretrained conditional super-resolution inference entry point; it needs prepared validation data and a generator checkpoint stem.sample.py is the unconditional generation/train/eval entry point; it is not a supervised super-resolution evaluator.eval.py source behavior is represented by a stricter bundled result-pair evaluator under the evaluation sub-skill.wandb package plus user login/token. Do not enable it silently.// comments; use the bundled config inspector or the repo-style parser behavior.From a target checkout with dependencies installed:
python scripts/check_environment.py --repo-root /path/to/checkout --config /path/to/checkout/config/sr_sr3_16_128.json
Then route to the relevant sub-skill. For example, validate a tiny image layout before training, inspect the chosen config, generate a command, and only then run the repository workflow in the user's approved environment.