mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
Fix bug for part of detection model (#243)
* fix error for part of detection model * fix error for part of detection model * add patch paddle inference
This commit is contained in:
@@ -157,6 +157,8 @@ bool PPYOLOE::Preprocess(Mat* mat, std::vector<FDTensor>* outputs) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Cast::Run(mat, "float");
|
||||
|
||||
outputs->resize(2);
|
||||
(*outputs)[0].name = InputInfoOfRuntime(0).name;
|
||||
|
Reference in New Issue
Block a user