Aimol-l / OrtInference

Using OnnxRuntime to inference yolov10,yolov10+SAM ,yolov10+bytetrack and SAM2 by c++ .
MIT License
37 stars 5 forks source link

onnxruntime环境配置问题 #3

Closed UraLee closed 1 week ago

UraLee commented 1 week ago

想问问onnxruntime环境怎么配,我这边用pip加上指定路径,结果报缺onnxruntimeConfig.cmake 屏幕截图 2024-10-05 155755

Aimol-l commented 1 week ago

想问问onnxruntime环境怎么配,我这边用pip加上指定路径,结果报缺onnxruntimeConfig.cmake 屏幕截图 2024-10-05 155755

这个问题不应该在这里提出,你应该先学习cmake的使用。 主要问题是find_package的搜索路径中没找到ort相关的文件,把ort的相关.cmake添加到搜索路径上。