本文へ移動
cccskills
無料GitHub で公開

deepmedic

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.

インストール方法を見る

含まれるファイル(24)

  • SKILL.md5.0 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json322 B
  • references/troubleshooting.md5.7 KB
  • scripts/check_environment.py3.5 KB
  • sub-skills/data-preparation/references/data-formats.md10.7 KB
  • sub-skills/data-preparation/references/troubleshooting.md8.6 KB
  • sub-skills/data-preparation/scripts/validate_nifti_manifest.py12.2 KB
  • sub-skills/data-preparation/SKILL.md7.6 KB
  • sub-skills/inference/references/test-config.md8.9 KB
  • sub-skills/inference/references/troubleshooting.md7.7 KB
  • sub-skills/inference/references/workflows.md7.1 KB
  • sub-skills/inference/scripts/check_inference_outputs.py7.2 KB
  • sub-skills/inference/SKILL.md10.1 KB
  • sub-skills/model-architecture/references/model-config.md9.4 KB
  • sub-skills/model-architecture/references/troubleshooting.md8.9 KB
  • sub-skills/model-architecture/scripts/inspect_model_config.py18.2 KB
  • sub-skills/model-architecture/SKILL.md4.4 KB
  • sub-skills/training/references/train-config.md12.7 KB
  • sub-skills/training/references/troubleshooting.md10.0 KB
  • sub-skills/training/references/workflows.md8.6 KB
  • sub-skills/training/scripts/check_training_outputs.py6.5 KB
  • sub-skills/training/scripts/plot_training_progress.py10.7 KB
  • sub-skills/training/SKILL.md10.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 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. 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. It covers sampling, validation, augmentation, optimizers, schedules, checkpoints, resume/fine-tune, and progress logs.
  4. Segment unseen volumes with inference. 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 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:

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa

無料

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa-v2

無料

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

ab3dmot

無料

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

acme

無料

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する