Skip to content

createInstanceSegmenter

createInstanceSegmenter(config?, opts?): Promise<InstanceSegmenter>

Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:68

Loads the checkpoint, warms the GPU path once, and returns the runner. Needs a device with shader-f16.

InstanceSegmenterModel = {}

LoadOptions = {}

Promise<InstanceSegmenter>