name: inference-evaluation
description: "Routes Mask_RCNN inference, visualization, color splash, COCO
evaluation, and nucleus RLE submission tasks."
disable-model-invocation: true
metadata:
disco-role: operating
license: NOASSERTION
Inference, Visualization, and Evaluation
Use this sub-skill when a task asks how to run Mask_RCNN inference, inspect masks/boxes, produce color splash outputs, compute COCO metrics, or encode nucleus submissions.
Read first by need
Inference workflow
- Build an inference config that usually sets
GPU_COUNT = 1, IMAGES_PER_GPU = 1, and DETECTION_MIN_CONFIDENCE = 0 for inspection work.
- Load weights.
- Call
model.detect([image]) where the list length matches BATCH_SIZE.
- Inspect the returned dictionary keys:
rois, class_ids, scores, and masks.
- Route visualization to
mrcnn.visualize.display_instances or the bundled splash/RLE helpers.
- For evaluation, use the dataset-specific converter or the COCO AP helpers in the references.
Boundary notes
- Dataset class loading and layout checks belong to data-preparation.
- Training schedules and weight selection belong to training.
- API signatures and graph-build compatibility belong to core-apis.