未验证 提交 cf2c96ac 编写于 作者: F Feng Ni 提交者: GitHub

Fix yolox cpp infer order (#5808)

* fix yolox cpp infer

* fix cpp infer order, test=document_fix
上级 53c2b8b6
...@@ -254,8 +254,8 @@ const std::vector<std::string> Preprocessor::RUN_ORDER = {"InitInfo", ...@@ -254,8 +254,8 @@ const std::vector<std::string> Preprocessor::RUN_ORDER = {"InitInfo",
"WarpAffine", "WarpAffine",
"NormalizeImage", "NormalizeImage",
"PadStride", "PadStride",
"Permute", "Pad",
"Pad",}; "Permute"};
void Preprocessor::Run(cv::Mat* im, ImageBlob* data) { void Preprocessor::Run(cv::Mat* im, ImageBlob* data) {
for (const auto& name : RUN_ORDER) { for (const auto& name : RUN_ORDER) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册