We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
作者您好,我这边部署了该工程,Opencv和OpenVion环境都配好运行OK,但是加载模型一直失败不知道是什么原因。 下面是我的调用代码: int main() { std::string xml_path = "FastSAM-s.xml"; std::string image_path = "F:\平台\SAMC++\FastSAM_Awsome_Openvino-main\images\cat.jpg";
FastSAM fastsam; try { if (fastsam.Initialize(xml_path, 0.4, 0.3, true)) { auto start = std::chrono::steady_clock::now(); fastsam.Infer(image_path); auto end = std::chrono::steady_clock::now(); auto tt = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count();; // slog::info << "infer time:" << tt << " ms. \n"; } } catch (ov::Exception ex) { } return 0;
}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
作者您好,我这边部署了该工程,Opencv和OpenVion环境都配好运行OK,但是加载模型一直失败不知道是什么原因。
下面是我的调用代码:
int main()
{
std::string xml_path = "FastSAM-s.xml";
std::string image_path = "F:\平台\SAMC++\FastSAM_Awsome_Openvino-main\images\cat.jpg";
}
The text was updated successfully, but these errors were encountered: