Skip to content

G-API: Introduce level optimization flag for ONNXRT backend#26293

Merged
asmorkalov merged 8 commits intoopencv:4.xfrom
SeptimiuIoachimNeagaIntel:EISW-140103_optimization_flag
Oct 17, 2024
Merged

G-API: Introduce level optimization flag for ONNXRT backend#26293
asmorkalov merged 8 commits intoopencv:4.xfrom
SeptimiuIoachimNeagaIntel:EISW-140103_optimization_flag

Conversation

@SeptimiuIoachimNeagaIntel
Copy link
Copy Markdown
Contributor

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

@TolyaTalamanov TolyaTalamanov changed the title EISW-140103 Enable - disabling ORT optimizations flag - in protopipe app G-API: Introduce level optimization flag for ONNXRT backend Oct 11, 2024
@TolyaTalamanov TolyaTalamanov self-requested a review October 11, 2024 11:57
@TolyaTalamanov TolyaTalamanov added this to the 4.11.0 milestone Oct 11, 2024
Copy link
Copy Markdown
Contributor

@TolyaTalamanov TolyaTalamanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to also implement python binding for this handler:
https://github.com/opencv/opencv/blob/8d74d456567c556386e639ea070e8f590def4b42/modules/gapi/include/opencv2/gapi/infer/bindings_onnx.hpp to make it consistent with other handlers

Copy link
Copy Markdown
Contributor

@TolyaTalamanov TolyaTalamanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@dmatveev Could you have a look, please?

@asmorkalov asmorkalov merged commit 3919f33 into opencv:4.x Oct 17, 2024
@asmorkalov asmorkalov mentioned this pull request Oct 23, 2024
ting-xin pushed a commit to ting-xin/opencv that referenced this pull request Nov 17, 2024
…40103_optimization_flag

G-API: Introduce level optimization flag for ONNXRT backend opencv#26293

### Pull Request Readiness Checklist

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

- [x] I agree to contribute to the project under Apache 2 License.
- [x] 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
- [x] 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.
- [x] The feature is well documented and sample code can be built with the project CMake
thewoz pushed a commit to CobbsLab/OPENCV that referenced this pull request Feb 13, 2025
…40103_optimization_flag

G-API: Introduce level optimization flag for ONNXRT backend opencv#26293

### Pull Request Readiness Checklist

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

- [x] I agree to contribute to the project under Apache 2 License.
- [x] 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
- [x] 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.
- [x] The feature is well documented and sample code can be built with the project CMake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants