Support remove multiclass_nms to enable ppyoloe to tensorrt (#40)

* Add custom operator for onnxruntime ans fix paddle backend

* Polish cmake files and runtime apis

* Remove copy libraries

* fix some issue

* fix bug

* fix bug

* Support remove multiclass_nms to enable paddledetection run tensorrt

* Support remove multiclass_nms to enable paddledetection run tensorrt

* Support remove multiclass_nms to enable paddledetection run tensorrt

* Support remove multiclass_nms to enable paddledetection run tensorrt

* add common operator multiclassnms

* fix compile problem

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
This commit is contained in:
Jason
2022-07-26 11:16:01 +08:00
committed by GitHub
parent fc71d79e58
commit 17e4dc6b5e
18 changed files with 460 additions and 56 deletions

View File

@@ -33,7 +33,6 @@ class PPYOLOE(FastDeployModel):
model_format)
assert self.initialized, "PPYOLOE model initialize failed."
def predict(self, input_image, conf_threshold=0.5, nms_iou_threshold=0.7):
def predict(self, input_image):
assert input_image is not None, "The input image data is None."
return self._model.predict(input_image, conf_threshold,
nms_iou_threshold)
return self._model.predict(input_image)