인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

sacred

sacred

Use Sacred to configure, run, log, observe, and reproduce Python ML experiments with experiment, configuration, CLI, observer, and reproducibility workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: sacred description: "Use Sacred to configure, run, log, observe, and reproduce Python ML experiments with experiment, configuration, CLI, observer, and reproducibility workflows." disable-model-invocation: true metadata: disco-role: operating license: MIT

Sacred repo skill

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.

Install and import check

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.

Route map

Shared references

Operating guidance

  1. Treat Sacred as an experiment wrapper around user code, not a training framework. The user supplies the ML/data code; Sacred owns configuration, command routing, observation, and reproducibility metadata.
  2. Keep experiments deterministic by recording seed, using captured _seed/_rnd, and validating dependency/source capture before comparing runs.
  3. For first-time validation, prefer a local FileStorageObserver and temporary directories before adding MongoDB, SQL, cloud, chat, or dashboard integrations.
  4. Use print_config, print_dependencies, and the bundled probe scripts as safe checks before launching expensive experiments.
  5. Do not assume optional observers or TensorFlow integration are available. Verify packages, services, credentials, and backend versions explicitly.
  6. When creating reusable project guidance, copy or adapt Sacred patterns into the target project; do not depend on the original Sacred source checkout.
저장한 Skills