samexporter icon indicating copy to clipboard operation
samexporter copied to clipboard

How to export a fully segmented model

Open LsyAi opened this issue 2 years ago • 1 comments

LsyAi avatar Oct 30 '23 11:10 LsyAi

@LsyAi If you're referring to the Segment-Everything model (which segments everything in the image), it's not straightforward. You would need to export the encoder and decoder and then create a wrapper around them that does all the processing. Exporting it as a single model to ONNX wasn't possible for me and I'm not sure if it's even achievable, I've encountered many ONNX exceptions when trying to do so and was unable to fix them

cile98 avatar Jun 12 '24 07:06 cile98