-
Notifications
You must be signed in to change notification settings - Fork 692
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
Changed prediction label assignment for OpenVINO inferencer #1872
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixed incorrect label assignment. Was True/False, now it's "Anomalous/Normal" as for the PyTorch inferencer in torch_inferencer.py
TurboJonte
requested review from
samet-akcay,
ashwinvaidya17 and
djdameln
as code owners
March 18, 2024 22:11
TurboJonte
changed the title
Update openvino_inferencer.py
Changed prediction label assignment for OpenVINO inferencer
Mar 18, 2024
samet-akcay
reviewed
Mar 20, 2024
9 tasks
samet-akcay
reviewed
Mar 20, 2024
Fix pre-commit errors
samet-akcay
approved these changes
Mar 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for your contribution!
samet-akcay
added a commit
that referenced
this pull request
Mar 26, 2024
…1907) * 📚 Add action to check broken links (#1838) * Fix broken links * Add link checker * Fix link in template * linter * nightly check --------- Co-authored-by: Samet Akcay <[email protected]> * Use LabelName ENUM for label assignment (#1881) * Use LabelName ENUM for label assignment * Update src/anomalib/deploy/inferencers/torch_inferencer.py Co-authored-by: Samet Akcay <[email protected]> --------- Co-authored-by: Samet Akcay <[email protected]> * Changed prediction label assignment for OpenVINO inferencer (#1872) * Update openvino_inferencer.py Fixed incorrect label assignment. Was True/False, now it's "Anomalous/Normal" as for the PyTorch inferencer in torch_inferencer.py * Fix ruff --------- Co-authored-by: Samet <[email protected]> * Bump onnx version as the previous version caused security issues --------- Co-authored-by: Alexander Dokuchaev <[email protected]> Co-authored-by: TurboJonte <[email protected]>
samet-akcay
added a commit
that referenced
this pull request
Mar 26, 2024
* 📚 Add action to check broken links (#1838) * Fix broken links * Add link checker * Fix link in template * linter * nightly check --------- Co-authored-by: Samet Akcay <[email protected]> * Use LabelName ENUM for label assignment (#1881) * Use LabelName ENUM for label assignment * Update src/anomalib/deploy/inferencers/torch_inferencer.py Co-authored-by: Samet Akcay <[email protected]> --------- Co-authored-by: Samet Akcay <[email protected]> * Changed prediction label assignment for OpenVINO inferencer (#1872) * Update openvino_inferencer.py Fixed incorrect label assignment. Was True/False, now it's "Anomalous/Normal" as for the PyTorch inferencer in torch_inferencer.py * Fix ruff --------- Co-authored-by: Samet <[email protected]> * Add: fix image transform to float Signed-off-by: Bepitic <[email protected]> * upd: video dtpe transform from torchvision Signed-off-by: Bepitic <[email protected]> * Added the scale. Signed-off-by: Bepitic <[email protected]> * Update src/anomalib/data/base/video.py Co-authored-by: Dick Ameln <[email protected]> --------- Signed-off-by: Bepitic <[email protected]> Co-authored-by: Alexander Dokuchaev <[email protected]> Co-authored-by: Samet Akcay <[email protected]> Co-authored-by: TurboJonte <[email protected]> Co-authored-by: Dick Ameln <[email protected]>
samet-akcay
added a commit
that referenced
this pull request
Mar 27, 2024
* Update CHANGELOG.md (#1899) * Update __init__.py * Fix metric bug (#1900) * check metrics by name instead of key * remove prefix from temp metric collection * 🔒 Bump onnx version as the previous version caused security issues (#1907) * 📚 Add action to check broken links (#1838) * Fix broken links * Add link checker * Fix link in template * linter * nightly check --------- Co-authored-by: Samet Akcay <[email protected]> * Use LabelName ENUM for label assignment (#1881) * Use LabelName ENUM for label assignment * Update src/anomalib/deploy/inferencers/torch_inferencer.py Co-authored-by: Samet Akcay <[email protected]> --------- Co-authored-by: Samet Akcay <[email protected]> * Changed prediction label assignment for OpenVINO inferencer (#1872) * Update openvino_inferencer.py Fixed incorrect label assignment. Was True/False, now it's "Anomalous/Normal" as for the PyTorch inferencer in torch_inferencer.py * Fix ruff --------- Co-authored-by: Samet <[email protected]> * Bump onnx version as the previous version caused security issues --------- Co-authored-by: Alexander Dokuchaev <[email protected]> Co-authored-by: TurboJonte <[email protected]> * Add: fix image transform to float (#1902) * 📚 Add action to check broken links (#1838) * Fix broken links * Add link checker * Fix link in template * linter * nightly check --------- Co-authored-by: Samet Akcay <[email protected]> * Use LabelName ENUM for label assignment (#1881) * Use LabelName ENUM for label assignment * Update src/anomalib/deploy/inferencers/torch_inferencer.py Co-authored-by: Samet Akcay <[email protected]> --------- Co-authored-by: Samet Akcay <[email protected]> * Changed prediction label assignment for OpenVINO inferencer (#1872) * Update openvino_inferencer.py Fixed incorrect label assignment. Was True/False, now it's "Anomalous/Normal" as for the PyTorch inferencer in torch_inferencer.py * Fix ruff --------- Co-authored-by: Samet <[email protected]> * Add: fix image transform to float Signed-off-by: Bepitic <[email protected]> * upd: video dtpe transform from torchvision Signed-off-by: Bepitic <[email protected]> * Added the scale. Signed-off-by: Bepitic <[email protected]> * Update src/anomalib/data/base/video.py Co-authored-by: Dick Ameln <[email protected]> --------- Signed-off-by: Bepitic <[email protected]> Co-authored-by: Alexander Dokuchaev <[email protected]> Co-authored-by: Samet Akcay <[email protected]> Co-authored-by: TurboJonte <[email protected]> Co-authored-by: Dick Ameln <[email protected]> * Fix video bug and add tests (#1910) * 📚 Add action to check broken links (#1838) * Fix broken links * Add link checker * Fix link in template * linter * nightly check --------- Co-authored-by: Samet Akcay <[email protected]> * squeeze temporal dimension when clip length is 1 * add unit test for video input tensor dtype * add test for single frame clips * update changelog * add author --------- Co-authored-by: Alexander Dokuchaev <[email protected]> Co-authored-by: Samet Akcay <[email protected]> * Temporarily set devices to 1 * 🐞 Add greyscale conversion (#1911) Add greyscale conversion Signed-off-by: Ashwin Vaidya <[email protected]> * 🐞 Fix publish workflow (#1912) Disable tty prompt for gpg import Signed-off-by: Ashwin Vaidya <[email protected]> --------- Signed-off-by: Bepitic <[email protected]> Signed-off-by: Ashwin Vaidya <[email protected]> Co-authored-by: Dick Ameln <[email protected]> Co-authored-by: Alexander Dokuchaev <[email protected]> Co-authored-by: TurboJonte <[email protected]> Co-authored-by: Paco <[email protected]> Co-authored-by: Dick Ameln <[email protected]> Co-authored-by: Ashwin Vaidya <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed incorrect label assignment.
Was True/False, now it's "Anomalous/Normal" as for the PyTorch inferencer in torch_inferencer.py
📝 Description
✨ Changes
Select what type of change your PR is:
✅ Checklist
Before you submit your pull request, please make sure you have completed the following steps:
For more information about code review checklists, see the Code Review Checklist.