RVM-Inference icon indicating copy to clipboard operation
RVM-Inference copied to clipboard

🔥Robust Video Matting C++ inference toolkit with ONNXRuntime、MNN、NCNN and TNN, via lite.ai.toolkit.

Results 20 RVM-Inference issues
Sort by recently updated
recently updated
newest added

你好,我看官方提供了TensorFlow ,Pytorch,ONNX的模型文件,然后MNN也提供了用MNNConvert转模型的方法。 请问是如何转成rvm_mobilenetv3_fp32-480-640.mnn这种480*640的模型的呢,不知道是模型转换的哪个参数呢? 然后我看模型转换里面还有--fp16 可以将将conv/matmul/LSTM的float32参数保存为float16,模型将减小一半,精度基本无损。这是不是意味着可以用--fp16参数,然后得到的结果也就是16位精度的结果呢? 例如我现在想弄一个rvm_mobilenetv3_fp32-360-480.mnn,请问该输入什么参数呢? ![image](https://user-images.githubusercontent.com/30204573/158776175-bb2b9468-652b-4090-9530-c692df1d0781.png)

![1647260380(1)](https://user-images.githubusercontent.com/52107229/158171025-7c56a939-127b-4ac9-9af9-601f55d16dc6.jpg) ![1647260472(1)](https://user-images.githubusercontent.com/52107229/158171036-071b1859-4632-4826-9af7-08d814acc7f3.jpg) 是库的链接问题吗?我已经在EXE根目录下放了所有的lib和dll

``` std::vector input_node_names = { "src", "r1i", "r2i", "r3i", "r4i" }; std::vector output_node_names = { "fgr", "pha", "r1o", "r2o", "r3o", "r4o" }; r1i_tensor = mnn_interpreter->getSessionInput(mnn_session, "r1i"); r2i_tensor = mnn_interpreter->getSessionInput(mnn_session, "r2i");...

挺不错的项目,感谢你的开源。我看了一下,支持图片和视频文件的抠图,请问如果我的数据源是通过摄像头采集到的一帧一帧的数据呢?能否用这个库来完成?谢谢

鉴于问这个问题的人比较多,我写了一份详细的知乎教程,请参考: * [🔧填坑: RobustVideoMatting(5k+🔥 star)视频抠图静态ONNX模型转换](https://zhuanlan.zhihu.com/p/459088407)

![image](https://user-images.githubusercontent.com/94675255/153401310-f6046846-5357-4e7f-8caa-22ea7cd8a1d0.png) 是我的推理代码有问题吗?

这是我的model的forward ![QQ图片20220217173302](https://user-images.githubusercontent.com/72776705/154447019-8b6470c5-0ea4-441e-be40-321af17d60d2.png) 这是报错 ![CI4BHW JTC5 XECR%Q QGKM](https://user-images.githubusercontent.com/72776705/154447441-00798a30-b321-4c7d-b2ab-83c44436d386.png) 我是这样运行的 python Exporter.py --model-variant mobilenetv3 --precision float32 --opset 13 --device cpu --output D:\下载\test.onnx

我跑视频,加载完模型之后就阻塞住了

Hello How are you? Thanks for contributing to this project. I am going to use your ncnn version of rvm model on Windows C++. But there is an issue when...