计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
interactive-deep-colorization【效率与协作】Routes agents using Interactive Deep Colorization for local-hints image colorization, model setup, GUI/API workflows, and Caffe global histogram transfer.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task names Interactive Deep Colorization, iDeepColor, the SIGGRAPH 2017 real-time user-guided colorization code, local color hints, ab-mask guided image colorization, the PyQt colorization GUI, converted PyTorch weights, Caffe model artifacts, or global histogram transfer with a reference image.
| User intent | Read |
|---|---|
| Install dependencies, choose Caffe/PyTorch/Docker, stage model weights, validate expected artifacts, or diagnose setup blocks | sub-skills/setup-and-models/SKILL.md |
Run or explain the local-hints GUI, reproduce the barebones notebook flow, build input_ab/input_mask, inspect CLI defaults, use color suggestions, or interpret saved output artifacts | sub-skills/interactive-colorization/SKILL.md |
Use a reference image's global color histogram, explain ColorizeImageCaffeGlobDist, validate global model assets, or troubleshoot global histogram notebook behavior | sub-skills/global-histogram-transfer/SKILL.md |
If you need a fresh inspection environment for the local-hints or setup workflows, create one with the scientific image stack and PyTorch first, then validate the selected workflow with the bundled helpers:
python3.11 -m venv /path/to/inspection-env
/path/to/inspection-env/bin/python -m pip install numpy scipy scikit-image scikit-learn matplotlib opencv-python-headless torch
/path/to/inspection-env/bin/python sub-skills/interactive-colorization/scripts/smoke_core_helpers.py --repo-root /path/to/checkout --size 8
If the task is about missing weights or backend choice, check the bundled artifact and CLI inspectors before attempting a GUI or notebook launch:
/path/to/inspection-env/bin/python sub-skills/setup-and-models/scripts/check_model_artifacts.py --repo-root /path/to/checkout --workflow all
/path/to/inspection-env/bin/python sub-skills/interactive-colorization/scripts/inspect_cli_defaults.py --variant both --json
Interactive Deep Colorization is a research-demo checkout rather than a packaged Python distribution. There is no setup.py, pyproject.toml, or console entry point. Future agents should treat the repository root as the import root when working with a live checkout, and should prepare dependencies according to the selected workflow rather than installing every historical script.
Minimum conceptual setup:
models/pytorch/caffemodel.pth or another compatible checkpoint.Use these checks when working with a live checkout or staged artifact tree; replace /path/to/checkout with the user's current repository root.
Model artifact presence: sub-skills/setup-and-models/scripts/check_model_artifacts.py
python sub-skills/setup-and-models/scripts/check_model_artifacts.py --repo-root /path/to/checkout --workflow all
Local-hints CLI defaults without PyQt/Caffe imports: sub-skills/interactive-colorization/scripts/inspect_cli_defaults.py
python sub-skills/interactive-colorization/scripts/inspect_cli_defaults.py --variant both --json
Core source helper smoke without weights/GUI/Caffe: sub-skills/interactive-colorization/scripts/smoke_core_helpers.py
python sub-skills/interactive-colorization/scripts/smoke_core_helpers.py --repo-root /path/to/checkout --size 8
Global histogram asset presence without Caffe imports: sub-skills/global-histogram-transfer/scripts/check_global_histogram_assets.py
python sub-skills/global-histogram-transfer/scripts/check_global_histogram_assets.py --repo-root /path/to/checkout
references/repo-routing-metadata.json contains structured scenario metadata for managed repo-skill import tools; it is data, not user-facing guidance.