Skip to content
Back to skills

Models And Architectures

ASecurity

"Select and reason about MedicalDetectionToolkit detector families,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill models-and-architectures --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Models And Architectures?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Models And Architectures
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-models-and-architectures-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-models-and-architectures-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: models-and-architectures
description: "Select and reason about MedicalDetectionToolkit detector families,
  FPN/backbone settings, anchors, heads, losses, tensor shapes, and model result
  contracts while separating legacy custom-operator limits from portable source
  facts."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Models and architectures

Use this route when choosing `mrcnn`, `ufrcnn`, `retina_net`, `retina_unet`, or
`detection_unet`, comparing 2D and 3D settings, interpreting model outputs, or
diagnosing shape/anchor/loss problems. Begin with the experiment configuration
route when `cf` does not yet exist, and use the CUDA route before exact
MRCNN/U-FRCNN/Retina execution.

## Workflow

1. Freeze `cf.model`, `cf.dim`, input channels, patch size, class count, and
   backbone/FPN stride assumptions. Read [model configurations](references/model-configurations.md).
2. Choose a family using [model overview](references/model-overview.md), then
   check the corresponding result dictionary and loss/target contract.
3. Validate anchors, box coordinates, padding, and Dice/segmentation helpers
   with [model utilities](references/model-utilities.md) before changing a
   network implementation.
4. If import reaches NMS or RoIAlign, stop and run the read-only diagnostic in
   [cuda-extensions](../cuda-extensions/SKILL.md). A current PyTorch CUDA
   import is not proof of this repository's historical detector path.
5. Record exact tensor shapes and whether a claim is source-backed, portable
   helper behavior, or unverified legacy runtime behavior.

## Model-family routing

- Use **Detection U-Net** when the task is segmentation-first detection using
  connected components and configurable aggregation; it is the least coupled
  model path for source/API inspection.
- Use **Mask R-CNN/U-FRCNN** for two-stage proposal/classification/mask flows;
  they require RPN, RoIAlign, and legacy custom NMS/RoIAlign in the supplied
  implementation.
- Use **RetinaNet/Retina U-Net** for one-stage anchor classification and box
  regression; Retina U-Net additionally exposes the segmentation decoder and
  stride-1 path.
- `dim=2` and `dim=3` are not interchangeable: patch axes, pyramid strides,
  anchor scales, pooling/mask shapes, output box coordinate length, and memory
  use all change. Do not infer 3D runtime support from imports alone.

## Acceptance boundary

The source modules, configuration defaults, and pure utility functions are
usable evidence for a versioned operating graph. Exact detector construction,
training, and inference are not verified on a modern stack when the custom
extension import requires removed `torch.utils.ffi`; see [troubleshooting](references/troubleshooting.md).
Do not implement a replacement model in this skill and do not substitute a CPU
forward for the old CUDA-backed path.

Read the linked references for detailed family comparisons, configuration
fields, tensor/result contracts, utility signatures, and failure recovery.

Files in this skill

  • SKILL.md3 KB
  • references/model-configurations.md2.5 KB
  • references/model-overview.md3.2 KB
  • references/model-utilities.md2.1 KB
  • references/troubleshooting.md2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.