视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
medical-sam-adapter【文档与办公】Use Medical-SAM-Adapter to prepare medical segmentation inputs, train SAM-family adapters, evaluate compatible checkpoints, and run the documented standalone MobileSAMv2 inference preflight.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Route a medical image segmentation task through this skill when it depends on the Medical-SAM-Adapter command-line workflows, registered dataset adapters, SAM / EfficientSAM / MobileSAM model families, adapter or LoRA-style tuning, the repository checkpoint wrapper, or the separate MobileSAMv2 object-aware image path.
val.py, checkpoint compatibility,
metrics, visualization, or 3D evaluation chunking: read
evaluation.For a task spanning routes, use this order:
type=bool arguments. A string such as
False can become truthy in Python; inspect effective values rather than
trusting command spelling.The source repository has no standard package metadata. In a user-selected
isolated Python environment, install a compatible CUDA-enabled PyTorch and the
workflow dependencies required by the chosen route (for example MONAI,
scikit-image, nibabel/SimpleITK, OpenCV, tensorboardX, and the matching
MobileSAMv2 detector dependency when that optional route is selected). Do not
blindly install the historical environment.yml: its CPU-only and CUDA pins
conflict. Keep all dataset and checkpoint acquisition explicit and user-owned.
Before a long job, run the bundled, source-independent checks:
python scripts/inspect_cli.py --list
python sub-skills/training/scripts/inspect_model_registry.py --list
python sub-skills/data-preparation/scripts/validate_sample_contract.py --help
python sub-skills/evaluation/scripts/inspect_checkpoint.py --help
python sub-skills/mobile-inference/scripts/run_mobile_samv2.py --help
For actual training, evaluation, and MobileSAMv2 rendering, separately verify
torch.cuda.is_available(), the selected device, and a small CUDA allocation.
The commands above are safe contract checks, not proof of model execution.
Read shared troubleshooting when an issue
crosses environment, data, model, checkpoint, or output boundaries. The bundled
helpers' --help paths and deterministic invalid-input behavior are safe checks.
Full training, real-data evaluation, notebook execution, checkpoint/dataset
downloads, and actual MobileSAMv2 rendering require external artifacts and are
not implied by this skill's verification.
The source snapshot and evidence routes are recorded in repo provenance; routing metadata is in repo-routing-metadata.json.