Skip to content
Agentmart
Submit a tool

deep-person-reid

Route Torchreid deep-person-reid workflows for person re-identification training, evaluation, feature extraction, metrics, visualization, and model export.

Skill by VectorSpaceLab

IndexedMIT★ 341
Write a review

Chalk Labs

Need help deploying deep-person-reid?

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-deep-person-reid

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

Route Torchreid deep-person-reid workflows for person re-identification training, evaluation, feature extraction, metrics, visualization, and model export.

Use cases: data

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/deep-person-reid

What's inside

Skill name
deep-person-reid
Description
Route Torchreid deep-person-reid workflows for person re-identification training, evaluation, feature extraction, metrics, visualization, and model export.
License
MIT
Metadata
disco-role: operating
Instructions
81 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • files: referenced but missing: scripts/main.py

Files (28)

  • SKILL.md
  • package-overview.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_torchreid_env.py · scripts/
  • SKILL.md · sub-skills/feature-extraction/
  • api-reference.md · sub-skills/feature-extraction/references/
  • metrics-and-reranking.md · sub-skills/feature-extraction/references/
  • troubleshooting.md · sub-skills/feature-extraction/references/
  • workflows.md · sub-skills/feature-extraction/references/
  • compare_embeddings.py · sub-skills/feature-extraction/scripts/
  • feature_extraction_smoke.py · sub-skills/feature-extraction/scripts/
  • visualize_actmap.py · sub-skills/feature-extraction/scripts/
  • SKILL.md · sub-skills/model-export/
  • export-workflows.md · sub-skills/model-export/references/
  • optional-dependencies.md · sub-skills/model-export/references/
  • troubleshooting.md · sub-skills/model-export/references/
  • export_torchreid_model.py · sub-skills/model-export/scripts/
  • SKILL.md · sub-skills/training-evaluation/
  • api-reference.md · sub-skills/training-evaluation/references/
  • configuration.md · sub-skills/training-evaluation/references/
  • data-formats.md · sub-skills/training-evaluation/references/
  • troubleshooting.md · sub-skills/training-evaluation/references/
  • workflows.md · sub-skills/training-evaluation/references/
  • compute_mean_std.py · sub-skills/training-evaluation/scripts/
  • parse_test_results.py · sub-skills/training-evaluation/scripts/
  • torchreid_train_eval.py · sub-skills/training-evaluation/scripts/

SKILL.md (first lines)

# deep-person-reid / Torchreid

Use this repo skill when a task involves Torchreid (`torchreid`) or Kaiyang Zhou's deep-person-reid package for person re-identification (ReID). It is an operating graph for package use, not a maintainer-development guide.

## Use this skill for

- Training or evaluating image/video ReID models such as OSNet, OSNet-AIN, ResNet, MLFN, HACNN, PCB, or MobileNet variants.
- Building Torchreid data managers, custom datasets, samplers, losses, optimizers, schedulers, and `Engine.run(...)` plans.
- Extracting embeddings with `FeatureExtractor`, computing query/gallery distances, CMC/mAP, re-ranking, model complexity, ranked-result visualization, or activation maps.
- Exporting core Torchreid checkpoints toward ONNX, OpenVINO, or TFLite-style artifacts with explicit optional-dependency checks.
- Diagnosing install/import, dataset-layout, config, optional-backend, checkpoint, or export failures.

## Do not use this skill for

- General person ReID literature surveys with no Torchreid/deep-person-reid implementation need.
- DML, OSNet-AIN NAS, or PA-100K attribute-recognition project-local scripts unless a future extension bundles those projects; they are recorded as long-tail gaps rather than runtime routes here.
- Claims that CUDA, OpenVINO, TensorFlow, TFLite, or large-dataset training was verified unless the current task runs those checks.

## Install

From a fresh clone of the package, install the runtime dependencies and the local package itself:

```bash
python -m pip install -U pip
python -m pip install -r requirements.txt
python -m pip install -e .
```

If editable installation fails because build-time NumPy/Cython visibility is missing, install the needed build prerequisites first and retry with `--no-build-isolation`, then use [references/troubleshooting.md](references/troubleshooting.md) for the exact recovery steps.

Run the quick verification check after install:

```bash
python scripts/check_torchreid_env.py --model-name osnet_x0_25
```

## First checks

1. Confirm the package is installed in the task environment:

   ```python
   import torchreid
   print(torchreid.__version__)
   ```

2. Confirm PyTorch/torchvision match the intended backend. CPU is enough for API inspection and small smoke tests; CUDA is optional but practical for real training/evaluation.
3. Read [references/repo-provenance.md](references/repo-provenance.md) before deciding whether this skill is current for a particular checkout.
4. For package/module coverage and backend status, read [references/package-overview.md](references/package-overview.md).
5. For cross-cutting failures, start with [references/troubleshooting.md](references/troubleshooting.md).
6. To run a quick non-training package check, use [scripts/check_torchreid_env.py](scripts/check_torchreid_env.py).

## Route map

### Training, evaluation, data, and configs

Use [sub-skills/training-evaluation/SKILL.md](sub-skills/training-evaluation/SKILL.md) when the request names training, testing, data managers, datasets, config files, CLI-style command generation, split-log parsing, or dataset mean/std.

Typical triggers: `ImageDataManager`, `VideoDataManager`, `Engine.run`, `scripts/main.py`-style workflow, `test.evaluate True`, `visrank`, Market1501/DukeMTMC/MSMT/CUHK03/MARS layouts, `RandomIdentitySampler`, `train.lr_scheduler`, checkpoint resume/fine-tune.

### Feature extraction, models, metrics, and visualization

Use [sub-skills/feature-extraction/SKILL.md](sub-skills/feature-extraction/SKILL.md) when the request names embeddings, `FeatureExtractor`, model keys, checkpoint loading, distance matrices, CMC/mAP, re-ranking, model complexity, ranked-result visualizations, or activation maps.

Typical triggers: compare query/gallery images, compute cosine/euclidean distances, load local weights without downloads, `evaluate_rank`, `re_ranking`, `compute_model_complexity`, `return_featuremaps=True`.

### Model export and deployment artifacts

Use [sub-skills/model-export/SKILL.md](sub-skills/model-export/SKILL.md) when the request asks to export a trained core Torchreid checkpoint to ONNX, OpenVINO, or TFLite-style outputs.

Typical triggers: `--include onnx`, OpenVINO Model Optimizer, `openvino2tensorflow`, dynamic axes, opset choice, model-name inference, optional export dependency failures.

## Root operating rules

- Prefer local checkpoint paths and explicit model names. Avoid automatic pretrained downloads unless the user approves network access.
- Treat datasets as user-provided unless a specific dataset class has an automated download path and the user approves network access.
- Use bundled helper scripts for command planning and smoke checks; do not tell future agents to run source-repo scripts from an unavailable checkout.
- Keep CPU verification separate from CUDA claims. CPU import/model/feature checks do not prove multi-GPU training throughput.
- Use export extras only for requested export formats; the core skill does not install ONNX/OpenVINO/TensorFlow by default.
- If a task requires the excluded `projects/` workflows, either report the long-tail gap or extend the repo skill by bundling those project sources and verification cases first.

From VectorSpaceLab/AREX-Skill, MIT.

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
MIT
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 deep-person-reid 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 deep-person-reid?

CallGet help
Cite this page

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