mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-08 18:11:00 +08:00
[Model] Update PPSeg Preprocess (#1007)
* 更新PPSeg pybind and python * 更新PPSeg pybind and python
This commit is contained in:
@@ -49,7 +49,8 @@ model = fd.vision.segmentation.PaddleSegModel(
|
||||
runtime_option=runtime_option,
|
||||
model_format=fd.ModelFormat.RKNN)
|
||||
|
||||
model.preprocessor.disable_normalize_and_permute()
|
||||
model.preprocessor.disable_normalize()
|
||||
model.preprocessor.disable_permute()
|
||||
|
||||
# 预测图片分割结果
|
||||
im = cv2.imread(args.image)
|
||||
|
Reference in New Issue
Block a user