[Model] add RobustVideoMatting model (#400)

* add yolov5cls

* fixed bugs

* fixed bugs

* fixed preprocess bug

* add yolov5cls readme

* deal with comments

* Add YOLOv5Cls Note

* add yolov5cls test

* add rvm support

* support rvm model

* add rvm demo

* fixed bugs

* add rvm readme

* add TRT support

* add trt support

* add rvm test

* add EXPORT.md

* rename export.md

* rm poros doxyen

* deal with comments

* deal with comments

* add rvm video_mode note

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
This commit is contained in:
WJJ1995
2022-10-26 14:30:04 +08:00
committed by GitHub
parent ba501fd963
commit 718698a32a
22 changed files with 1080 additions and 16 deletions

6
examples/vision/matting/modnet/python/README.md Normal file → Executable file
View File

@@ -52,16 +52,14 @@ MODNet模型加载和初始化其中model_file为导出的ONNX模型格式
### predict函数
> ```python
> MODNet.predict(image_data, conf_threshold=0.25, nms_iou_threshold=0.5)
> MODNet.predict(image_data)
> ```
>
> 模型预测结口,输入图像直接输出检测结果。
> 模型预测结口,输入图像直接输出抠图结果。
>
> **参数**
>
> > * **image_data**(np.ndarray): 输入数据注意需为HWCBGR格式
> > * **conf_threshold**(float): 检测框置信度过滤阈值
> > * **nms_iou_threshold**(float): NMS处理过程中iou阈值
> **返回**
>