Skip to content
Agentmart
Submit a tool

colorization

Use richzhang/colorization PyTorch colorizers for automatic image colorization, Python API calls, preprocessing/postprocessing, and runtime troubleshooting.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying colorization?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-colorization

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use richzhang/colorization PyTorch colorizers for automatic image colorization, Python API calls, preprocessing/postprocessing, and runtime troubleshooting.

Use cases: backend, ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/colorization

What's inside

Skill name
colorization
Description
Use richzhang/colorization PyTorch colorizers for automatic image colorization, Python API calls, preprocessing/postprocessing, and runtime troubleshooting.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
74 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (15)

  • SKILL.md
  • installation.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_env.py · scripts/
  • SKILL.md · sub-skills/automatic-colorization/
  • troubleshooting.md · sub-skills/automatic-colorization/references/
  • workflows.md · sub-skills/automatic-colorization/references/
  • colorize_image.py · sub-skills/automatic-colorization/scripts/
  • SKILL.md · sub-skills/python-api/
  • api-reference.md · sub-skills/python-api/references/
  • data-formats.md · sub-skills/python-api/references/
  • troubleshooting.md · sub-skills/python-api/references/
  • api_smoke.py · sub-skills/python-api/scripts/

SKILL.md (first lines)

# colorization

Use this repo skill when a task involves the `richzhang/colorization` PyTorch release for automatic image colorization, ECCV16/SIGGRAPH17 pretrained colorizers, image-to-PNG demo workflows, or the `colorizers` Python API.

## Read first

- Check [references/installation.md](references/installation.md) when setting up the repo, correcting dependency names, or making `colorizers` importable.
- Check [references/troubleshooting.md](references/troubleshooting.md) for cross-cutting dependency, import, model-cache, device, and unsupported-scope issues.
- Check [references/repo-provenance.md](references/repo-provenance.md) before deciding whether this skill matches a newer checkout.
- Use [scripts/check_env.py](scripts/check_env.py) for a no-download environment/import/backend diagnostic.

## Route by task

| User intent | Route |
| --- | --- |
| Colorize one image and save output PNG files. | [sub-skills/automatic-colorization/](sub-skills/automatic-colorization/) |
| Recreate the release demo without opening a GUI window. | [sub-skills/automatic-colorization/](sub-skills/automatic-colorization/) |
| Choose ECCV16 vs SIGGRAPH17, CPU vs CUDA, or debug pretrained model downloads. | [sub-skills/automatic-colorization/](sub-skills/automatic-colorization/) |
| Import `colorizers` in Python, inspect constructors, or run no-download API checks. | [sub-skills/python-api/](sub-skills/python-api/) |
| Use `preprocess_img`, `postprocess_tens`, Lab tensors, or SIGGRAPH hint/mask inputs. | [sub-skills/python-api/](sub-skills/python-api/) |
| Train models, reproduce the historical Caffe branch, or run representation-learning experiments. | Out of scope for this PyTorch test-time checkout. |

## Setup snapshot

This checkout is an unpackaged Python repo: it exposes a top-level `colorizers/` package but does not include `pyproject.toml`, `setup.py`, or console entry points. In normal use, clone the repo, install the runtime dependencies, and either run Python from the repo root or put the clone root on `PYTHONPATH`.

Correct dependency names:

```bash
python -m pip install torch numpy matplotlib pillow scikit-image ipython
```

`argparse` is part of the Python standard library. Use `pillow` for the `PIL` import and `scikit-image` for the `skimage` import.

Minimal import check:

```bash
python - <<'PY'
import colorizers
print(colorizers.eccv16(pretrained=False).__class__.__name__)
print(colorizers.siggraph17(pretrained=False).__class__.__name__)
PY
```

Use `pretrained=False` for checks that must not download model weights. Quality colorization with the wrapper defaults uses pretrained weights and may download public files through PyTorch's model cache.

## Shared diagnostic

From this skill directory, run:

```bash
python scripts/check_env.py --repo-root path/to/colorization --check-forward
```

The script constructs both models with `pretrained=False`, checks imports and dependency versions, reports whether CUDA is visible to PyTorch, and optionally runs a tiny forward pass. It does not make network calls.

## Operating boundaries

- Supported: test-time automatic image colorization, CPU execution, optional CUDA execution when the user's PyTorch install supports it, programmatic model/API use, preprocessing/postprocessing, and output-file validation.
- Supported with caution: pretrained weight loading, because first use depends on network access or a populated PyTorch cache.
- Not supported: training workflows, Caffe branch behavior, representation-learning evaluations, service deployment, batch dataset pipelines, or bit-for-bit output guarantees across dependency versions.

## Verification stance

Prefer assertion-backed checks over visual-only judgment:

1. Verify imports and no-download model construction.
2. Verify preprocessing returns `[1, 1, H, W]` original L and `[1, 1, 256, 256]` resized L tensors for normal inference.
3. Verify model output is `[1, 2, H, W]` Lab `ab` and `postprocess_tens` returns an RGB array matching the original image size.
4. For quality pretrained runs, verify output PNG files are readable and match the input dimensions, then perform visual plausibility review.

Do not ask future agents to run original repo scripts as runtime instructions. Use the bundled helpers in this skill; they adapt the repo workflow without depending on construction-time paths.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get colorization running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying colorization?

CallGet help
Cite this page

colorization skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-colorization (last updated 2026-10-24)