Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fengyuentau
Copy link
Member

@fengyuentau fengyuentau commented May 16, 2022

We have a model in opencv/opencv_zoo#51, which has asymmetric paddings in convolution layers. The model is managed to be quantized, but the current version of opencv does not support asymmetric paddings in quantized int8 convolution layer. So this PR adds the asymmetric padding support for quantized int8 convolution layer in ONNX importer.

Test data: opencv/opencv_extra#973

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@vpisarev
Copy link
Contributor

👍

@opencv-pushbot opencv-pushbot merged commit bb5462e into opencv:4.x May 19, 2022
@fengyuentau fengyuentau deleted the qconv_asympad branch July 18, 2022 03:07
@alalek alalek mentioned this pull request Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: dnn (onnx) ONNX suport issues in DNN module feature test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants