mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[Other] Fix some memory leak problem (#1422)
* Fix memory leak problem for paddleseg model * Fix bug * Update postprocessor.cc --------- Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
This commit is contained in:
@@ -80,10 +80,6 @@ class FASTDEPLOY_DECL PaddleSegPostprocessor {
|
||||
const int64_t& out_num,
|
||||
SegmentationResult* result);
|
||||
|
||||
virtual bool FDTensorCast2Uint8(FDTensor* infer_result,
|
||||
const int64_t& offset,
|
||||
std::vector<uint8_t>* uint8_result_buffer);
|
||||
|
||||
bool is_with_softmax_ = false;
|
||||
|
||||
bool is_with_argmax_ = true;
|
||||
|
Reference in New Issue
Block a user