mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[Benchmark]Add SegmentationDiff to compare SegmentationResult diff (#1404)
* avoid mem copy for cpp benchmark * set CMAKE_BUILD_TYPE to Release * Add SegmentationDiff * change pointer to reference * fixed bug * cast uint8 to int32
This commit is contained in:
1
fastdeploy/runtime/backends/tensorrt/utils.h
Normal file → Executable file
1
fastdeploy/runtime/backends/tensorrt/utils.h
Normal file → Executable file
@@ -241,6 +241,7 @@ class FDTrtLogger : public nvinfer1::ILogger {
|
||||
FDASSERT(false, "%s", msg);
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
bool enable_info_ = false;
|
||||
bool enable_warning_ = false;
|
||||
|
Reference in New Issue
Block a user