Skip to content

Commit

Permalink
fix cpp infer order, test=document_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nemonameless committed Apr 22, 2022
1 parent 3100604 commit 4bd1ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/cpp/src/preprocess_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ const std::vector<std::string> Preprocessor::RUN_ORDER = {"InitInfo",
"WarpAffine",
"NormalizeImage",
"PadStride",
"Permute",
"Pad",};
"Pad",
"Permute"};

void Preprocessor::Run(cv::Mat* im, ImageBlob* data) {
for (const auto& name : RUN_ORDER) {
Expand Down

0 comments on commit 4bd1ad7

Please sign in to comment.