技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
medmnist【数据与研究】Use MedMNIST for standardized 2D and 3D biomedical image dataset loading, local NPZ inspection, safe export, and task-aware evaluation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task names MedMNIST or asks for standardized biomedical
image benchmark datasets, MedMNIST+ resolutions, .npz split files, 2D/3D
PyTorch dataset classes, no-PyTorch array access, standard export, or AUC/ACC
evaluation. This is an operating guide for the public medmnist package, not
a clinical decision aid and not the external paper-experiment repository.
scripts/check_install.py --help and scripts/check_install.py before
claiming the package or its dependencies are ready.medmnist.INFO[flag] before interpreting labels.| User intent | Read next |
|---|---|
| Install/import, select a subset, inspect metadata, load 2D/3D data, use splits/sizes/transforms/mmap/RGB, or read NPZ without torch | dataset-loading |
Compute metrics, prepare score arrays, parse standard result CSVs, export PNG/GIF/CSV, create montages, or use save/evaluate | evaluation-and-export |
The public package is installed with:
python -m pip install medmnist
python -c "import medmnist; print(medmnist.__version__)"
The inspected baseline is 3.0.2. Its documented runtime requirements include
NumPy, pandas, scikit-learn, scikit-image, tqdm, Pillow, Fire, PyTorch, and
torchvision. The selected MedMNIST workflows need only CPU behavior; no CUDA
device is required. For a read-only version/import/registry check, run:
python scripts/check_install.py
Read the shared API overview for package object relationships and the minimal environment contract. Read shared troubleshooting for import, dependency, root, network, data, and medical-use boundaries.
download=True is an
intentional network action, not a harmless import check.root must exist before dataset/evaluator construction. Prefer an explicit
project-local or temporary root instead of relying on ~/.medmnist.