评估
- 作者仓库星标 1,155
- 许可证 BSD-2-Clause
- 作者仓库 LearningHumanoidWalking
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @rohanpsingh · BSD-2-Clause
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- Python
- 检测到的文件与系统行为
-
- 只读
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# /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.
章节与文件索引
按说明文件中的顺序排列。
路径分辨率
选项
使用说明
文件/命令 -> $ARGUMENTS · --path /tmp/.../actor_999.pt · --path /tmp/.../26-03-07-00-26-36_cartpole/ · --logdir /tmp/training_runs · /tmp/training_runs · Glob · --ep-len · --seed
内容校验值 -> a33ca52ffbb1
当前原文的自动摘译,尚未人工审校。
路径分辨率
用户可以提供: .pt 文件:直接使用 (
--path /tmp/.../actor_999.pt) 运行目录:包含 actor*.pt 文件 (--path /tmp/.../26-03-07-00-26-36_cartpole/) logdir:包含带时间戳的运行子目录 (--logdir /tmp/training_runs) 如果未给出路径,请检查/tmp/training_runs以获取最近的运行。选项
标志 · 默认 · 描述
--ep-len· 10 · 以秒为单位的剧集长度--seed· 无 · 用于可重复评估的随机种子--out-dir· 无 · 保存视频的目录使用说明
根据用户的输入解析模型路径。如果不明确,请列出可用的检查点并询问。向用户显示将评估哪个检查点(完整路径)。运行评估命令。这将打开一个交互式 MuJoCo 查看器窗口 - 它不是后台作业。完成后报告结果。