samexporter
samexporter copied to clipboard
Export Segment Anything Models to ONNX
Samexporter requires `timm==0.9.2` while SAM2 requires `timm=^0.9.16` so poetry fails to resolve conflict. I'd propose loosening requirements on timm
Thank you very much for such great work! I've noticed that you started using onnx simplify in sam-2 export. Is there any reason why you decided to do so? The...
I plan to conduct video inference, but it seems that having only encoder and decoder is not enough. Perhaps it includes:Image encoder,Memory attention. Prompt encoder and mask decoder,Memory encoder,Memory bank....
I tried it in Windows: ``` python -m samexporter.inference ^ --encoder_model output_models\sam2_hiera_large.encoder.onnx ^ --decoder_model output_models\sam2_hiera_large.decoder.onnx ^ --image images\truck.jpg ^ --prompt images\truck_prompt.json ^ --output output_images\sam2_truck.png ^ --sam_variant sam2 ^ --show ```...
Any plan to add support for SAM2.1?
[sam-cpp-macos](https://github.com/ryouchinsa/sam-cpp-macos) is the Segment Anything Model 2 CPP Wrapper for macOS and Ubuntu CPU/GPU. This code is to run a SAM2 ONNX model in c++ code and implemented on the...