Newer
Older
MedSegAgentWebApp / skills / medsegagent-nnunet-runner / references / examples.md
@ziyan huang ziyan huang on 3 Apr 979 bytes add medsegagent skill

Examples

Example 1: Routing

Request:

segment the spleen in CT

Answer style:

{
  "Dataset009_Spleen": [1],
  "Dataset022_FLARE22": [3],
  "Dataset051_AMOS_CT": [1]
}

Note:

Found CT tasks in nnUNet results. Labels come from task dataset.json files.

Example 2: No Match

Request:

segment the left kidney in MRI

Answer style:

{}

Note:

No deployed MRI task with a confirmed left-kidney label was found.

Example 3: Prediction Command

Request:

run liver segmentation on a CT case with a deployed nnUNet task

Answer style:

Selected task: Dataset051_AMOS_CT
Selected labels: [6]
Selected model folder: nnUNetTrainer__nnUNetPlans__3d_fullres
Selected configuration: 3d_fullres
Command:
nnUNetv2_predict -i INPUT_FOLDER -o OUTPUT_FOLDER -d 51 -c 3d_fullres

Note:

Replace dataset ID, model folder, and paths with the deployed task you actually select.