OroChippw / SegmentAnything-OnnxRunner

SegmentAnything-OnnxRunner is an example using Meta AI Research's SAM onnx model in C++.The encoder and decoder of SAM are decoupled in this repository.
MIT License
97 stars 19 forks source link

how can i make a sam_preprocess-b.onnx #21

Open hwef opened 1 year ago

hwef commented 1 year ago

here is sourcecode std::string encoder_model_path = "E:\OroChiLab\SegmentAnything-OnnxRunner_cmake\models\encoder\vit_b\sam_preprocess-b.onnx";

OroChippw commented 1 year ago

if you want to build sam_preprocess.onnx .you can look this file https://github.com/OroChippw/segment-anything/blob/master/export_pre_model.py