Adelai det

From VectorSpaceLab/AREX-Skill · View interactive version

Adelai det is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Routes AdelaiDet users through legacy-compatible setup, model config selection, training/evaluation, demos, text spotting, dataset preparation, and export/conversion workflows.

How to use this skill

Skill file

AdelaiDet

AdelaiDet is an AIM/Adelaide Detectron2-based research platform for instance-level recognition: object detection, instance segmentation, text spotting, keypoint detection, and related deployment utilities. Use this repo skill when a task names AdelaiDet, adet, FCOS, BlendMask, CondInst, BoxInst, SOLOv2, BAText/ABCNet, MEInst, FCPose, DenseCL, or asks how to train, evaluate, demo, prepare data, or export models for this repository.

Start here

Install and smoke-check

The verified runtime stack is CUDA-capable and legacy-compatible:

Do not start with a modern PyTorch 2.x stack for unmodified AdelaiDet CUDA extensions: the source includes legacy THC headers in ml_nms.cu that are absent from PyTorch 2.x.

After installation, run the skill-owned smoke check:

python scripts/check_install.py --cuda-ops

Run without --cuda-ops only when you intentionally need a CPU/import-only diagnosis.

Route map

`setup-build`

Use this route for environment creation, Detectron2/PyTorch/CUDA versioning, editable builds, compiled adet._C checks, custom op smoke tests, and install failure diagnosis.

Read:

`train-eval`

Use this route for Detectron2-style AdelaiDet training, evaluation, config overrides, model-family selection for training, checkpoints, distributed launches, and output directory expectations.

Read:

`demo-visualize`

Use this route for image/video/webcam demos, VisualizationDemo, confidence thresholds, text/non-text visualizations, and dataset visualization.

Read:

`text-spotting`

Use this route for ABCNet/BAText, BezierAlign, text datasets, custom dictionaries, lexicons, text evaluation, and OCR-specific pitfalls.

Read:

`data-prep`

Use this route for COCO/PIC/LVIS/text dataset layouts, semantic mask generation, dataset registration, mapper expectations, MEInst mask encoding, and data validation.

Read:

`export-convert`

Use this route for checkpoint key conversion, optimizer stripping, FCOS/BlendMask weight migration, ONNX export, and optional Caffe/NCNN/TensorRT deployment caveats.

Read:

Skill-owned scripts

Operating cautions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.