samexporter icon indicating copy to clipboard operation
samexporter copied to clipboard

Export Segment Anything Models to ONNX

Results 18 samexporter issues
Sort by recently updated
recently updated
newest added

I've exported a mobile net model using the export_encoder script using mobilenet weights for mobilenet model. Now how do I export decoder for this? I cannot see a mobile type...

Not an issue. The code works perfectly for me. I saw the original code expects 1024x1024 image size. So, I was just wondering where the 684 fixed size for height...

There are three interesting projects: - https://github.com/SysCV/sam-hq for HQ segmenting - https://github.com/ChaoningZhang/MobileSAM for fast & lightweight segmenting - https://github.com/CASIA-IVA-Lab/FastSAM also for fast & lightweight segmenting It would be fantastic if...

Running converters it returns me this error : ValueError: Unsupported ONNX opset version: 17

Great job on this, exactly what I was looking for! However, when I attempt to export the encoder using: python -m samexporter.export_encoder --checkpoint original_models/sam_vit_l_0b3195.pth --output output_models/sam_vit_l_0b3195.encoder/model.onnx --model-type vit_l --quantize-out output_models/sam_vit_l_0b3195.encoder.quant.onnx...