-
Notifications
You must be signed in to change notification settings - Fork 714
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 <samet.akcay@intel.com>
* Use LabelName ENUM for label assignment * Update src/anomalib/deploy/inferencers/torch_inferencer.py Co-authored-by: Samet Akcay <samet.akcay@intel.com> --------- Co-authored-by: Samet Akcay <samet.akcay@intel.com>
β¦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 <samet.akcay@intel.com>
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 <bepitic@gmail.com>
Signed-off-by: Bepitic <bepitic@gmail.com>
a76e7f3
to
7be9ec3
Compare
Signed-off-by: Bepitic <bepitic@gmail.com>
Co-authored-by: Dick Ameln <amelndjd@gmail.com>
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 <samet.akcay@intel.com> * 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 <samet.akcay@intel.com> --------- Co-authored-by: Samet Akcay <samet.akcay@intel.com> * 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 <samet.akcay@intel.com> * Bump onnx version as the previous version caused security issues --------- Co-authored-by: Alexander Dokuchaev <alexander.dokuchaev@intel.com> Co-authored-by: TurboJonte <turbojonte@gmail.com> * 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 <samet.akcay@intel.com> * 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 <samet.akcay@intel.com> --------- Co-authored-by: Samet Akcay <samet.akcay@intel.com> * 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 <samet.akcay@intel.com> * Add: fix image transform to float Signed-off-by: Bepitic <bepitic@gmail.com> * upd: video dtpe transform from torchvision Signed-off-by: Bepitic <bepitic@gmail.com> * Added the scale. Signed-off-by: Bepitic <bepitic@gmail.com> * Update src/anomalib/data/base/video.py Co-authored-by: Dick Ameln <amelndjd@gmail.com> --------- Signed-off-by: Bepitic <bepitic@gmail.com> Co-authored-by: Alexander Dokuchaev <alexander.dokuchaev@intel.com> Co-authored-by: Samet Akcay <samet.akcay@intel.com> Co-authored-by: TurboJonte <turbojonte@gmail.com> Co-authored-by: Dick Ameln <amelndjd@gmail.com> * 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 <samet.akcay@intel.com> * 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 <alexander.dokuchaev@intel.com> Co-authored-by: Samet Akcay <samet.akcay@intel.com> * Temporarily set devices to 1 * π Add greyscale conversion (#1911) Add greyscale conversion Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com> * π Fix publish workflow (#1912) Disable tty prompt for gpg import Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com> --------- Signed-off-by: Bepitic <bepitic@gmail.com> Signed-off-by: Ashwin Vaidya <ashwinnitinvaidya@gmail.com> Co-authored-by: Dick Ameln <dick.ameln@intel.com> Co-authored-by: Alexander Dokuchaev <alexander.dokuchaev@intel.com> Co-authored-by: TurboJonte <turbojonte@gmail.com> Co-authored-by: Paco <bepitic@gmail.com> Co-authored-by: Dick Ameln <amelndjd@gmail.com> Co-authored-by: Ashwin Vaidya <ashwin.vaidya@intel.com>
π 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.