-
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
Add: fix image transform to float #1902
Add: fix image transform to float #1902
Conversation
131a940
to
dabd0ff
Compare
* 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 * Update src/anomalib/deploy/inferencers/torch_inferencer.py Co-authored-by: Samet Akcay <[email protected]> --------- Co-authored-by: Samet Akcay <[email protected]>
β¦toolkit#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]>
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.
Hi, thanks for finding and addressing this bug. This must've slipped through the v1 testing. I have one comment concerning the scaling of the input tensors, see below.
Signed-off-by: Bepitic <[email protected]>
Signed-off-by: Bepitic <[email protected]>
a76e7f3
to
7be9ec3
Compare
Signed-off-by: Bepitic <[email protected]>
Co-authored-by: Dick Ameln <[email protected]>
Thank you so fast, π |
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.
Thanks a lot for your contribution!
* 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]>
π 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.