mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 01:22:59 +08:00
Update evaluation function to support calculate average inference time (#106)
* Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Add evaluation calculate time and fix some bugs * Update classification __init__ * Move to ppseg Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
@@ -115,9 +115,6 @@ void NCHW2NHWC(FDTensor& infer_result) {
|
||||
infer_result.shape = {num, height, width, channel};
|
||||
}
|
||||
|
||||
void FDTensor2FP32CVMat(cv::Mat& mat, FDTensor& infer_result,
|
||||
bool contain_score_map);
|
||||
|
||||
void NMS(DetectionResult* output, float iou_threshold = 0.5);
|
||||
|
||||
void NMS(FaceDetectionResult* result, float iou_threshold = 0.5);
|
||||
|
Reference in New Issue
Block a user