mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[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:
6
examples/vision/matting/modnet/python/README.md
Normal file → Executable file
6
examples/vision/matting/modnet/python/README.md
Normal file → Executable 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): 输入数据,注意需为HWC,BGR格式
|
||||
> > * **conf_threshold**(float): 检测框置信度过滤阈值
|
||||
> > * **nms_iou_threshold**(float): NMS处理过程中iou阈值
|
||||
|
||||
> **返回**
|
||||
>
|
||||
|
Reference in New Issue
Block a user