Open hwef opened 1 year ago
here is sourcecode std::string encoder_model_path = "E:\OroChiLab\SegmentAnything-OnnxRunner_cmake\models\encoder\vit_b\sam_preprocess-b.onnx";
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
here is sourcecode std::string encoder_model_path = "E:\OroChiLab\SegmentAnything-OnnxRunner_cmake\models\encoder\vit_b\sam_preprocess-b.onnx";