Skip to content
cccskills
FreePublished on GitHub

dltk

Route DLTK 0.2.1 medical-imaging workflows across legacy TensorFlow 1.x data, models, Estimators, and deployment utilities.

The English summary is being prepared. Showing the original description.

See how to install

Files included (30)

  • SKILL.md4.7 KB
  • references/compatibility-and-installation.md2.9 KB
  • references/repo-provenance.md1.9 KB
  • references/repo-routing-metadata.json479 B
  • references/troubleshooting.md2.7 KB
  • scripts/check_environment.py4.1 KB
  • sub-skills/data-pipelines/references/api-reference.md7.8 KB
  • sub-skills/data-pipelines/references/data-formats-and-resampling.md5.6 KB
  • sub-skills/data-pipelines/references/reader-workflows.md6.2 KB
  • sub-skills/data-pipelines/references/troubleshooting.md5.4 KB
  • sub-skills/data-pipelines/scripts/preprocessing_smoke.py5.1 KB
  • sub-skills/data-pipelines/scripts/validate_reader_contract.py6.4 KB
  • sub-skills/data-pipelines/SKILL.md5.2 KB
  • sub-skills/inference-and-deployment/references/api-reference.md8.3 KB
  • sub-skills/inference-and-deployment/references/deployment-workflows.md7.0 KB
  • sub-skills/inference-and-deployment/references/troubleshooting.md6.1 KB
  • sub-skills/inference-and-deployment/scripts/sliding_window_plan.py7.0 KB
  • sub-skills/inference-and-deployment/scripts/sliding_window_smoke.py10.1 KB
  • sub-skills/inference-and-deployment/SKILL.md4.1 KB
  • sub-skills/model-building/references/api-reference.md8.5 KB
  • sub-skills/model-building/references/model-overview.md8.8 KB
  • sub-skills/model-building/references/troubleshooting.md7.1 KB
  • sub-skills/model-building/scripts/network_smoke.py9.6 KB
  • sub-skills/model-building/SKILL.md6.4 KB
  • sub-skills/training-and-estimators/references/application-recipes.md8.9 KB
  • sub-skills/training-and-estimators/references/cli-reference.md5.2 KB
  • sub-skills/training-and-estimators/references/troubleshooting.md8.2 KB
  • sub-skills/training-and-estimators/references/workflows.md8.9 KB
  • sub-skills/training-and-estimators/scripts/tiny_estimator_smoke.py9.5 KB
  • sub-skills/training-and-estimators/SKILL.md7.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

DLTK

Use this skill when a task names DLTK or asks for its medical-image readers, preprocessing, 3-D TensorFlow networks, Estimator applications, SavedModel prediction, or sliding-window segmentation utilities. This is a compatibility- first operating graph for the public DLTK 0.2.1 surface, not a maintainer or full-training guide.

First gate: preserve the legacy runtime

DLTK uses TensorFlow 1.x graph APIs including tf.Session, tf.layers, tf.contrib, tf.train, and tf.estimator. A known compatible reference is Python 3.7 with TensorFlow 1.15 and legacy-compatible NumPy/SciPy/protobuf versions. Do not claim TensorFlow 2.x compatibility or repair one missing symbol with tensorflow.compat.v1 and call that equivalent. From the directory containing this file, run the bundled read-only diagnostic before importing application code:

python scripts/check_environment.py

If the diagnostic reports a missing TensorFlow 1.x symbol, stop and resolve the caller-managed runtime first. CUDA support is historical and version-sensitive; CPU execution is the verified functional baseline for the selected APIs. Do not infer modern CUDA or accelerator compatibility from a CPU import.

Public installation starting point

For a fresh caller-managed environment, install the public distribution and then verify a coherent TensorFlow 1.x stack rather than accepting an arbitrary modern resolver result:

python -m pip install dltk==0.2.1
python scripts/check_environment.py

The package's historical requirement declarations are inconsistent, so choose compatible TensorFlow 1.x, NumPy, and protobuf versions deliberately. Add SimpleITK for NIfTI workflows and pandas for CSV-driven applications only when those routes are needed. Do not mutate an existing environment without approval.

Route by task

  • Readers, NIfTI/CSV layouts, normalization, augmentation, patches, serving placeholders: read data-pipelines.
  • 3-D networks, residual units, activations, losses, metrics, or output dictionaries: read model-building.
  • model_fn, Reader-to-Estimator composition, train/eval/resume, exports, application flags, or the monitored-session GAN: read training-and-estimators.
  • SavedModel prediction, crop averaging, sliding windows, segmentation metrics, or metadata-preserving NIfTI output: read inference-and-deployment.

For a request spanning routes, freeze the data shape and output-key contract first, then compose the Reader and model function, and only then export or stitch predictions. Keep each route's references available while crossing the handoff rather than duplicating their API details.

Safe operating sequence

  1. Confirm the DLTK/TensorFlow 1.x API gate and package version.
  2. Replace private dataset paths with caller-owned, validated roots and use synthetic arrays or a permissioned tiny fixture first.
  3. Make the nested Reader dtypes/example_shapes contract agree with every yielded record; separate PREDICT from TRAIN/EVAL and return after a feature-only prediction yield.
  4. Use rank-5, channels-last feature tensors and preserve network output keys.
  5. Bound checks to --help, graph construction, one or a few Estimator steps, temporary model directories, and deterministic synthetic volumes.
  6. Before deployment, inspect the SavedModel signature, window/output geometry, coverage, label semantics, and SimpleITK metadata. Write output only to an explicitly selected caller directory.

Do not download IXI/MRBrainS data, use credentials, run full historical training, invoke destructive restart cleanup, or load external models as a routine skill check. The source applications are data-bound demonstrations and some are unsafe to copy verbatim. See the cross-cutting troubleshooting guide and compatibility reference when a runtime, dependency, data, or workflow gate fails.

Package facts and staleness

The generated graph targets DLTK commit f94d3bb509eb0741164149acbef0788769a869e4, version 0.2.1. Read repo-provenance.md before relying on it for a different package version or changed public API. The structured routing metadata is in repo-routing-metadata.json.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

3ddfa

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill