正在显示
2 个修改的文件
包含
18 行增加
和
0 行删除
| 1 | +## 如何在windows下运行 | ||
| 2 | +参照:教程https://github.com/xlite-dev/lite.ai.toolkit/issues/207 | ||
| 3 | +由于测试机器没有gpu, | ||
| 4 | +第一次:直接根据教程将opencv的库和onnxruntime的库放入 lite.ai.toolkit\lib中 | ||
| 5 | +并且在x64 native tools command prompt for vs 2022命令下 | ||
| 6 | +''' | ||
| 7 | +mkdir tte | ||
| 8 | +cd tte | ||
| 9 | +cmake -DCMAKE_BUILD_TYPE=Realese -DINCLUDE_OPENCV=ON -DENABLE_MNN=OFF -DENABLE_NCNN=OFF -DENABLE_TNN=OFF .. | ||
| 10 | +''' | ||
| 11 | +编译成功后打开tte/RobustVideoMatting.lite.ai.toolkit.sln的文件在vs studio中,执行build命令 | ||
| 12 | +出现错误,不过看了一下都是相似的 | ||
| 13 | +class NCNN_EXPORT xxxx 的错误,然后以为是ncnn的库没有导入 | ||
| 14 | + | ||
| 15 | +第二次:加入ncnn的库 | ||
| 16 | +继续编译还是有这个问题 | ||
| 17 | + | ||
| 18 | + | ||
| 1 | ## RVM Inference | 19 | ## RVM Inference |
| 2 | <div align='left'> | 20 | <div align='left'> |
| 3 | <img src=https://img.shields.io/github/stars/DefTruth/RobustVideoMatting.lite.ai.toolkit.svg?style=social > | 21 | <img src=https://img.shields.io/github/stars/DefTruth/RobustVideoMatting.lite.ai.toolkit.svg?style=social > |
image.png
0 → 100644
203.3 KB
-
请 注册 或 登录 后发表评论