eval

GitHub

评估训练好的模型检查点,支持解析文件、运行目录或日志目录路径。执行评估命令并在 MuJoCo 中可视化结果,支持自定义集和输出目录。

.claude/skills/eval/SKILL.md rohanpsingh/LearningHumanoidWalking

触发场景

用户请求评估已训练的模型 用户需要查看强化学习策略的可视化表现 用户指定了模型检查点路径要求运行评测

安装

npx skills add rohanpsingh/LearningHumanoidWalking --skill eval -g -y
更多选项

非标准路径

npx skills add https://github.com/rohanpsingh/LearningHumanoidWalking/tree/main/.claude/skills/eval -g -y

不安装直接使用

npx skills use rohanpsingh/LearningHumanoidWalking@eval

指定 Agent (Claude Code)

npx skills add rohanpsingh/LearningHumanoidWalking --skill eval -a claude-code -g -y

安装 repo 全部 skill

npx skills add rohanpsingh/LearningHumanoidWalking --all -g -y

预览 repo 内 skill

npx skills add rohanpsingh/LearningHumanoidWalking --list

SKILL.md

Frontmatter
{
    "name": "eval",
    "description": "Evaluate a trained checkpoint with visualization",
    "allowed-tools": "Bash, Read, Glob",
    "argument-hint": [
        "path-or-logdir"
    ],
    "disable-model-invocation": true
}

/eval — Evaluate a Trained Checkpoint

Parse the user's request from $ARGUMENTS and run evaluation.

Command Template

uv run python run_experiment.py eval --path <PATH> [OPTIONS...]

Path Resolution

The user may provide:

  • A .pt file: Use directly (--path /tmp/.../actor_999.pt)
  • A run directory: Contains actor*.pt files (--path /tmp/.../26-03-07-00-26-36_cartpole/)
  • A logdir: Contains timestamped run subdirectories (--logdir /tmp/training_runs)

If no path is given, check /tmp/training_runs for the most recent run.

Use Glob to verify the path exists and resolve it before running.

Options

Flag Default Description
--ep-len 10 Episode length in seconds
--seed None Random seed for reproducible eval
--out-dir None Directory to save videos

Instructions

  1. Resolve the model path from the user's input. If ambiguous, list available checkpoints and ask.
  2. Show the user which checkpoint will be evaluated (full path).
  3. Run the eval command. This opens an interactive MuJoCo viewer window — it is NOT a background job.
  4. Report the results when done.

版本历史

  • cd8c655 当前 2026-07-24 11:47

同 Skill 集合

.claude/skills/experiment/SKILL.md
.claude/skills/train/SKILL.md

元信息

文件数
0
版本
cd8c655
Hash
eed90cdf
收录时间
2026-07-24 11:47

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 13:10
浙ICP备14020137号-1