mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-17 22:21:48 +08:00
[Backend] Enable TensorRT BatchedNMSDynamic_TRT plugin (#449)
* Enable TensorRT EfficientNMS plugin * remove some temporary code * Update trt_backend.cc * Update utils.h
This commit is contained in:
6
fastdeploy/runtime.h
Executable file → Normal file
6
fastdeploy/runtime.h
Executable file → Normal file
@@ -338,12 +338,6 @@ struct FASTDEPLOY_DECL RuntimeOption {
|
||||
std::string model_file = ""; // Path of model file
|
||||
std::string params_file = ""; // Path of parameters file, can be empty
|
||||
ModelFormat model_format = ModelFormat::AUTOREC; // format of input model
|
||||
|
||||
// inside parameters, only for inside usage
|
||||
// remove multiclass_nms in Paddle2ONNX
|
||||
bool remove_multiclass_nms_ = false;
|
||||
// for Paddle2ONNX to export custom operators
|
||||
std::map<std::string, std::string> custom_op_info_;
|
||||
};
|
||||
|
||||
/*! @brief Runtime object used to inference the loaded model on different devices
|
||||
|
Reference in New Issue
Block a user