mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
Update ppseg with eigen functions (#238)
* Update ppseg backend support type * Update ppseg preprocess if condition * Update README.md * Update README.md * Update README.md * Update ppseg with eigen functions * Delete old argmax function * Update README.md * Delete apply_softmax in ppseg example demo * Update ppseg code with createFromTensor function * Delete FDTensor2CVMat function * Update README.md * Update README.md * Update README.md * Update README.md * Update ppseg model.cc with transpose&&softmax in place convert * Update segmentation_result.md * Update model.cc * Update README.md * Update README.md Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
@@ -27,8 +27,8 @@ void BindPPSeg(pybind11::module& m) {
|
||||
self.Predict(&mat, res);
|
||||
return res;
|
||||
})
|
||||
.def_readwrite("with_softmax",
|
||||
&vision::segmentation::PaddleSegModel::with_softmax)
|
||||
.def_readwrite("apply_softmax",
|
||||
&vision::segmentation::PaddleSegModel::apply_softmax)
|
||||
.def_readwrite("is_vertical_screen",
|
||||
&vision::segmentation::PaddleSegModel::is_vertical_screen);
|
||||
}
|
||||
|
Reference in New Issue
Block a user