Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Naville committed Dec 31, 2019
1 parent 002ac36 commit e4fafa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/quantization/Helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ void Helper::preprocessInput(MNN::CV::ImageProcess* pretreat, int targetWidth, i
(float)(originalHeight - 1) / (float)(targetHeight - 1));
// crop method
// trans.setTranslate(16.0f, 16.0f);
pretreat->setMatrix(trans);
pretreat->convert(bitmap32bits, originalWidth, originalHeight, 0, input);

stbi_image_free(bitmap32bits);
Expand Down

0 comments on commit e4fafa7

Please sign in to comment.