InstanceSegmenterModel
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:18
What to load. Every field is optional; a missing modelPath comes from
models.instanceSegmentation.YOLO26_SEG.DEFAULT.
Properties
Section titled “Properties”inputSize?
Section titled “inputSize?”
readonlyoptionalinputSize?:number
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:25
Input width and height in pixels, a multiple of 32. Default 640. Smaller runs faster and misses more small objects.
modelPath?
Section titled “modelPath?”
readonlyoptionalmodelPath?:ModelPath
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:20
The weights: a safetensors export of a YOLO26 segment checkpoint.
resizeMode?
Section titled “resizeMode?”
readonlyoptionalresizeMode?:ResizeMode
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:27
How an image is fitted into the model input. Default letterbox.
variant?
Section titled “variant?”
readonlyoptionalvariant?:"x"|"m"|"n"|"s"|"l"
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:22
Model size, n to x. Default: read from the weights.