跳到正文
cccskills
免费在 GitHub 公开

dreamerv2

Use DreamerV2 2.2.0 for TensorFlow world-model reinforcement-learning training, custom Gym integration, typed experiment configuration, replay/checkpoint management, and JSONL/TensorBoard evaluation.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(23)

  • SKILL.md4.4 KB
  • references/repo-provenance.md1.6 KB
  • references/repo-routing-metadata.json436 B
  • references/troubleshooting.md4.9 KB
  • scripts/check_install.py1.4 KB
  • sub-skills/configuration/references/flags-and-config.md10.7 KB
  • sub-skills/configuration/references/presets.md10.7 KB
  • sub-skills/configuration/references/troubleshooting.md9.7 KB
  • sub-skills/configuration/scripts/preview_config.py2.0 KB
  • sub-skills/configuration/SKILL.md5.9 KB
  • sub-skills/environments/references/custom-gym.md8.7 KB
  • sub-skills/environments/references/environment-contracts.md10.0 KB
  • sub-skills/environments/references/troubleshooting.md11.5 KB
  • sub-skills/environments/SKILL.md7.2 KB
  • sub-skills/evaluation/references/logging-and-artifacts.md5.0 KB
  • sub-skills/evaluation/references/plotting.md8.1 KB
  • sub-skills/evaluation/references/troubleshooting.md7.0 KB
  • sub-skills/evaluation/scripts/plot_help.py9.5 KB
  • sub-skills/evaluation/SKILL.md7.7 KB
  • sub-skills/training/references/api-reference.md7.4 KB
  • sub-skills/training/references/troubleshooting.md10.0 KB
  • sub-skills/training/references/workflows.md8.8 KB
  • sub-skills/training/SKILL.md6.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

DreamerV2

Use this skill for the danijar/dreamerv2 2.2.0 package: discrete world-model reinforcement learning with TensorFlow, native Atari/DM Control/Crafter runners, custom legacy Gym environments, typed configuration, replay/checkpoints, and experiment plots. Treat this as a TensorFlow 2.6-era package, not a current Gymnasium or modern-Keras package.

Route the task

  • Launch, bound, resume, or diagnose a run: read training.
  • Adapt an environment or validate observations/actions: read environments.
  • Compose presets, flags, schedules, or serialized configs: read configuration.
  • Inspect metrics, TensorBoard artifacts, or compare runs: read evaluation.

Read only the route needed for the request, then follow its linked references. The sub-skills are one operating graph: a training request commonly visits configuration first, environments for the data contract, and evaluation after artifacts exist.

Install a compatible runtime

The verified package facts are distribution dreamerv2==2.2.0, import modules dreamerv2 and dreamerv2.api, and console entry point dreamerv2. This source release uses tensorflow.keras.mixed_precision.experimental and the legacy Gym API. Prefer a fresh Python 3.9 environment with a coherent era stack:

python -m pip install \
  'tensorflow==2.6.0' 'tensorflow-probability==0.14.1' \
  'gym==0.23.1' 'ruamel.yaml<0.18' \
  'numpy==1.19.5' 'pillow<10' 'pandas<2' 'matplotlib<3.8'
python -m pip install --no-deps 'dreamerv2==2.2.0'

Add only the suites you will use: atari_py plus imported Atari ROMs for Atari, a compatible dm_control/MuJoCo/EGL setup for DMC, crafter for Crafter, and the environment's own package for custom Gym. Do not download ROMs, MuJoCo assets, or credentials as an unattended smoke check. Read troubleshooting before mixing newer TensorFlow, TensorFlow Probability, Gym/Gymnasium, or NumPy versions.

Check the installation without starting training:

python -m pip check
python - <<'PY'
import inspect
import tensorflow as tf
import dreamerv2.api as dv2
print('TensorFlow', tf.__version__)
print('GPUs', tf.config.list_physical_devices('GPU'))
print('api.train', inspect.signature(dv2.train))
print('default task', dv2.defaults.task)
PY
python -m dreamerv2.train --help

The module help route is verified. Do not use the installed dreamerv2 launcher in this release: train.py derives configs.yaml from sys.argv[0], so the launcher may search beside its bin script and fail with a missing-config error. Use python -m dreamerv2.train instead. The plotting route is available through the evaluation sub-skill's bundled adapter.

Operating rules

  • Native python -m dreamerv2.train asserts that TensorFlow sees a GPU; a CPU import or debug preset does not make native training CPU-safe.
  • Use a new writable logdir per run. The effective config.yaml, replay episodes, metrics.jsonl, TensorBoard events, and variables.pkl are the observable outputs; a checkpoint alone is not a successful experiment.
  • Validate one environment reset/step and its action/observation contract before allocating training. Keep --envs_parallel none for this snapshot unless the asynchronous branch has been patched and tested.
  • Make debug the last preset, set a bounded --steps, and explicitly choose --precision 32 when the legacy mixed-precision path is not verified.
  • Preserve exact package/runtime versions and effective config with results. For refresh decisions, read repository provenance.

Scope and limits

This graph distills public package behavior and safe operational recipes. It does not run benchmark-scale training, fetch external assets, import the skill into the managed repo library, or claim that a modern unpinned dependency set is compatible. Use cross-cutting troubleshooting for install/import, backend, dependency, and source-version failures before escalating to the focused route.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题