Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example / doc / func tests for Torch support #66

Merged

Conversation

goodsong81
Copy link
Contributor

@goodsong81 goodsong81 commented Sep 11, 2024

[Changes]

  • Add example script for Torch->ONNX XAI support
    • How to run
    python examples/run_torch_onnx.py
  • Update documentations
    image
  • Add functional tests

[Future work]

  • Optional torch installation

Copy link

codecov bot commented Sep 11, 2024

Codecov Report

Attention: Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.30%. Comparing base (a95e871) to head (202b049).
Report is 3 commits behind head on releases/1.1.0.

Files with missing lines Patch % Lines
openvino_xai/methods/white_box/base.py 88.88% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           releases/1.1.0      #66   +/-   ##
===============================================
  Coverage           94.29%   94.30%           
===============================================
  Files                  27       27           
  Lines                1857     1860    +3     
===============================================
+ Hits                 1751     1754    +3     
  Misses                106      106           
Flag Coverage Δ
dev-py310 94.30% <91.66%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@goodsong81 goodsong81 changed the base branch from develop to releases/1.1.0 September 11, 2024 05:46
@goodsong81 goodsong81 added this to the 1.1.0 milestone Sep 11, 2024
@goodsong81 goodsong81 marked this pull request as ready for review September 11, 2024 07:20
docs/source/user-guide.md Show resolved Hide resolved
docs/source/user-guide.md Outdated Show resolved Hide resolved
examples/run_torch_onnx.py Outdated Show resolved Hide resolved
openvino_xai/api/api.py Show resolved Hide resolved
Copy link
Contributor

@GalyaZalesskaya GalyaZalesskaya left a comment

Choose a reason for hiding this comment

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

Great update! Thank you for your work!

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/source/user-guide.md Outdated Show resolved Hide resolved
docs/source/user-guide.md Outdated Show resolved Hide resolved
docs/source/user-guide.md Outdated Show resolved Hide resolved
examples/run_torch_onnx.py Show resolved Hide resolved
examples/run_torch_onnx.py Outdated Show resolved Hide resolved
tests/func/test_torch_onnx_timm_full.py Show resolved Hide resolved
Copy link
Contributor

@GalyaZalesskaya GalyaZalesskaya left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@goodsong81 goodsong81 merged commit 41ddb11 into openvinotoolkit:releases/1.1.0 Sep 12, 2024
5 of 6 checks passed
@goodsong81 goodsong81 deleted the torch/doc-example-test branch September 12, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants