计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
sacred【效率与协作】Use Sacred to configure, run, log, observe, and reproduce Python ML experiments with experiment, configuration, CLI, observer, and reproducibility workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves the Sacred Python package for experiment management: defining experiments, injecting configuration, running command-line variants, recording run metadata, storing artifacts/metrics, or making experiments reproducible.
Sacred is a Python package. For normal use start with:
python -m pip install sacred
python - <<'PY'
import sacred
from sacred import Experiment, Ingredient
print(sacred.__version__, Experiment, Ingredient)
PY
If importing Sacred fails with ModuleNotFoundError: No module named 'pkg_resources', install a setuptools release that still provides pkg_resources:
python -m pip install 'setuptools<81'
Run scripts/sacred_env_check.py after installation to verify importability, public signatures, a tiny in-process experiment, and optional dependency visibility without external services.
Run usage.with updates, built-in commands, CLI flags, and custom CLI options.FileStorageObserver, store metrics/info/resources/artifacts, inspect local run directories, and reason about optional database/cloud/chat observers._seed/_rnd, dependency/source discovery, clean-repo enforcement, SETTINGS, stdout/stderr capture modes, output filters, and TensorFlow summary tracking.seed, using captured _seed/_rnd, and validating dependency/source capture before comparing runs.FileStorageObserver and temporary directories before adding MongoDB, SQL, cloud, chat, or dashboard integrations.print_config, print_dependencies, and the bundled probe scripts as safe checks before launching expensive experiments.