Skip to content
Agentmart
Submit a tool

deepmedic

Guide DeepMedic 0.8.4 workflows for multi-modal 3D NIFTI medical-image segmentation, including data preparation, model configuration, training, checkpoint…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

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-deepmedic

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

Guide DeepMedic 0.8.4 workflows for multi-modal 3D NIFTI medical-image segmentation, including data preparation, model configuration, training, checkpoint continuation, inference, and CPU/CUDA troubleshooting.

Use cases: data, 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/deepmedic

What's inside

Skill name
deepmedic
Description
Guide DeepMedic 0.8.4 workflows for multi-modal 3D NIFTI medical-image segmentation, including data preparation, model configuration, training, checkpoint continuation, inference, and CPU/CUDA troubleshooting.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
95 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (24)

  • SKILL.md
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_environment.py · scripts/
  • SKILL.md · sub-skills/data-preparation/
  • data-formats.md · sub-skills/data-preparation/references/
  • troubleshooting.md · sub-skills/data-preparation/references/
  • validate_nifti_manifest.py · sub-skills/data-preparation/scripts/
  • SKILL.md · sub-skills/inference/
  • test-config.md · sub-skills/inference/references/
  • troubleshooting.md · sub-skills/inference/references/
  • workflows.md · sub-skills/inference/references/
  • check_inference_outputs.py · sub-skills/inference/scripts/
  • SKILL.md · sub-skills/model-architecture/
  • model-config.md · sub-skills/model-architecture/references/
  • troubleshooting.md · sub-skills/model-architecture/references/
  • inspect_model_config.py · sub-skills/model-architecture/scripts/
  • SKILL.md · sub-skills/training/
  • train-config.md · sub-skills/training/references/
  • troubleshooting.md · sub-skills/training/references/
  • workflows.md · sub-skills/training/references/
  • check_training_outputs.py · sub-skills/training/scripts/
  • plot_training_progress.py · sub-skills/training/scripts/

SKILL.md (first lines)

# DeepMedic

Use this skill when a task involves the DeepMedic 0.8.4 package, its
`deepMedicRun` CLI, Python-syntax configuration files, multi-modal NIFTI
volumes, multi-scale 3-D CNN segmentation, TensorFlow checkpoints, or
medical-imaging training and inference. This graph is for operating the
installed package; it does not require the original source checkout.

## First route

1. Establish the dataset contract before writing configs. Read
   [data preparation](sub-skills/data-preparation/SKILL.md) for NIFTI shape,
   affine/voxel-size, modality order, labels, ROI, list files, CSV input, and
   normalization checks.
2. Author or resize the network with
   [model architecture](sub-skills/model-architecture/SKILL.md). Keep output
   classes, input channels, pathways, receptive fields, and segment dimensions
   compatible with every checkpoint and dataset.
3. Configure and launch supervised learning with
   [training](sub-skills/training/SKILL.md). It covers sampling, validation,
   augmentation, optimizers, schedules, checkpoints, resume/fine-tune, and
   progress logs.
4. Segment unseen volumes with
   [inference](sub-skills/inference/SKILL.md). It covers `TestConfig`, checkpoint
   loading, tiling, ROI restriction, probability/feature outputs, DSC, and
   output validation.
5. For an issue that crosses routes, read the shared
   [troubleshooting reference](references/troubleshooting.md) first, then the
   nearest sub-skill troubleshooting file.

## Installation and environment contract

DeepMedic's package metadata installs `nibabel`, `numpy`, `scipy`, `six`, and
`pandas`, but it does **not** declare TensorFlow. Install a TensorFlow 2.x
build separately and select versions that agree with the Python, NumPy,
protobuf, CUDA, and cuDNN versions on the host. The verified revision was
operated with Python 3.8, TensorFlow 2.6.2, NumPy 1.19.5, SciPy 1.7.3,
pandas 1.2.5, NiBabel 3.2.2, protobuf 3.20.3, and Matplotlib 3.5.3. Treat
those as a compatibility baseline, not as a universal requirement.

After installing the package, run the following safe checks:

```bash
python -c "import deepmedic, tensorflow as tf, nibabel; print(tf.__version__)"
deepMedicRun -h
python path/to/plot_training_progress.py -h
python path/to/scripts/check_environment.py --json
```

Use the bundled [environment checker](scripts/check_environment.py) for a
read-only import, version, TensorFlow, and `deepMedicRun -h` diagnostic; it is
safe to run from any working directory.

For CUDA, install a TensorFlow build and CUDA/cuDNN runtime compatible with the
host driver; then verify a device operation. A requested `-dev cuda` flag is
not proof that CUDA was used. Read the session log and monitor device
assignment. If the host is CPU-only, use `-dev cpu` for small smoke tests and
do not claim GPU coverage.

## Cross-cutting invariants

- Config files are executed as Python. Treat them as trusted, reviewable input;
  do not execute untrusted configuration files merely to inspect them.
- NIFTI channels, labels, and ROI masks for one subject must be co-registered
  and have the same array shape and voxel size. Keep modality list order fixed.
- Labels use background `0` and contiguous increasing class ids. The model's
  `numberOfOutputClasses` includes background.
- A checkpoint is a prefix ending in `.model.ckpt`; do not pass its `.index` or
  `.data-*` companion as `-load`. The architecture config must match the
  checkpoint's variable names and shapes.
- Large 3-D segments, full-volume validation, feature-map saving, and the
  published DeepMedic model are expensive. Start with the tiny configuration,
  reduce cases/epochs/batches, and make output paths explicit.
- Keep runtime outputs outside the skill directory. Check logs, checkpoint
  completeness, NIFTI geometry, finite probabilities, and expected case names
  before handing results downstream.

## Provenance and staleness

Read [repo-provenance.md](references/repo-provenance.md) when comparing this
skill with a newer DeepMedic checkout. If the source commit, package version,
public entry point, or config behavior changes, use a refresh workflow rather
than assuming this graph is current. The structured
[router metadata](references/repo-routing-metadata.json) is consumed by the
managed repo-skill importer and should not be hand-edited into router prose.

## Scope boundary

This skill teaches DeepMedic operation, not medical diagnosis, annotation
quality, registration/resampling software, or clinical deployment. It does not
bundle the repository's large example NIFTI data, model checkpoints, generated
logs, or image assets. Use a trusted imaging toolchain to create and QA those
inputs, then hand the resulting manifests to `data-preparation`.

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

Cite this page

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