Releases: openvinotoolkit/anomalib
Releases · openvinotoolkit/anomalib
v0.5.1
What's Changed
Added
- 🧪 Add tests for tools by @ashwinvaidya17 in #1069
- Add kolektor dataset by @Ravindu987 in #983
Changed
- Rename
metadata_path
tometadata
inOpenvinoInferencer
in #1101 - 📝 [Notebooks] - Simplify the dobot notebooks. by @samet-akcay in #1084
- Upgrade python to 3.10 by @samet-akcay in #1035
- 📝 [Notebooks] - Install anomalib via pip in the Jupyter Notebooks by @samet-akcay in #1091
- Update code-scan workflow to use Trivy by @yunchu in #1097
Fixed
- Fix
init_state_dict
bug inwrap_nncf_model
in #1101 - Fix mypy pep561 by @WenjingKangIntel in #1088
- 📝 [Notebooks] Fix the broken formatting by @samet-akcay in #1090
Full Changelog: v0.5.0...v0.5.1
v0.5.0
[v0.5.0] - 2023-05-09
Added
- 📚 Add OpenVINO Inference to getting started notebook. by @samet-akcay in #897
- Mvtec 3d by @alexriedel1 in #907
- MVTec 3D and Folder3D by @alexriedel1 in #942
- add reorder=True argument in aupro by @triet1102 in #944
- always reorder inputs when computing AUROC by @djdameln in #945
- always reorder for aupr metric by @triet1102 in #975
- Add
README.md
files tonotebooks
directories and its subdirectories (#993) - Set transformations from the config file by @alexriedel1 in #990
- Add contributors to
README.md
by @samet-akcay in #995 - Add codeowners file by @samet-akcay in #1019
- Configure reference frame for multi-frame video clips by @djdameln in #1023
- [Algo] Attribute-based Representations for Accurate and Interpretable Video Anomaly Detection by @djdameln in #1040
Changed
- Switch to src layout by @samet-akcay in #921
- Remove
config
flag fromOpenVINOInferencer
(#939) - Add ruff as the main linter by @samet-akcay in #936
- Add a new workflow for code scanning by @yunchu in #940
- Enable bandit scanning by @yunchu in #954
- 🐳 Update Containers and Readme by @ashwinvaidya17 in #952
- Refactor AUPRO metric by @triet1102 in #991
- enable auto-fixing for ruff in pre-commit by @djdameln in #1004
- Refactor strings and ints into enum.Enum by @WenjingKangIntel in #1044
- Modify codecov upload by @ashwinvaidya17 in #1080
Deprecated
- Remove torchvision and torchtext by @samet-akcay in #903
- Remove codacy from ci docs by @ashwinvaidya17 in #924
- Remove config dependency from
OpenVINOInferencer
by @samet-akcay in #939 - Remove config from torch inferencer by @samet-akcay in #1001
Fixed
- Bugfix code logic to allow for passing of
nn.Module
toTorchFXFeatureExtractor
by @ORippler in #935 - fix broken links to tutorials (ex guides) by @sergiev in #957
- Fixed outdated info in readme by @blaz-r in #969
- Fix ruff isort integration by @samet-akcay in #976
- Fix/samples dataframe annotation by @samet-akcay in #981
- Fixed openvino_inferencer in gradio_inference by @blaz-r in #972
- Fix issue in tutorial by @Ravindu987 in #997
- Fix tarfile vulnerability by @djdameln in #1003
- Cuda 11.4 dockerfile fix by @phcarval in #1021
- Make anomalib PEP 561 compliant for mypy by @WenjingKangIntel in #1038
- [Bug: 839] Crop in SSPCAB implementation by @isaacncz in #1057
- [Bug: 865] datamodule.setup() assertion failed by @isaacncz in #1058
- Fix logger message for test_split_ratio by @ugotsoul in #1071
- Fix notebook readme formatting by @samet-akcay in #1075
New Contributors
- @triet1102 made their first contribution in #944
- @sergiev made their first contribution in #957
- @blaz-r made their first contribution in #969
- @ineiti made their first contribution in #987
- @Ravindu987 made their first contribution in #997
- @phcarval made their first contribution in #1021
- @WenjingKangIntel made their first contribution in #1038
- @isaacncz made their first contribution in #1057
- @ugotsoul made their first contribution in #1071
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
Added
- Add Dobot notebook (#928)
- Add ShanghaiTech Campus video anomaly detection dataset (#869)
- Add
pyupgrade
topre-commit
configs, and refactor based onpyupgrade
andrefurb
(#845) - Add CFA model implementation (#783)
- Add RKDE model implementation (#821)
- Add Visual Anomaly (VisA) dataset adapter (#824)
- Add Synthetic anomalous dataset for validation and testing (#822)
- Add Detection task type support (#822)
- Add UCSDped and Avenue dataset implementation (#822)
- Add base classes for video dataset and video datamodule (#822)
- Add base classes for image dataset and image dataModule (#822)
- ✨ Add CSFlow model (#657)
- Log loss for existing trainable models (#804)
- Add section for community project (#768)
- ✨ Add torchfx feature extractor (#675)
- Add tiling notebook (#712)
- Add posargs to tox to enable testing a single file (#695)
- Add option to load metrics with kwargs (#688)
- 🐞 Add device flag to TorchInferencer (#601)
Changed
- Bump OpenVINO version to
2022.3.0
(#932) - Remove the dependecy on a specific
torchvision
andtorchmetrics
packages. - Bump PyTorch Lightning version to v.1.9.* (#870)
- Make input image normalization and center cropping configurable from config (#822)
- Improve flexibility and configurability of subset splitting (#822)
- Switch to new datamodules design (#822)
- Make normalization and center cropping configurable through config (#795)
- Switch to new changelog format. (#777)
- Rename feature to task (#769)
- make device configurable in OpenVINO inference (#755)
- 🚨 Fix torchmetrics version (#754)
- Improve NNCF initilization (#740)
- Migrate markdownlint + issue templates (#738)
- 🐞 Patch Timm Feature Extractor (#714)
- Padim arguments improvements (#664)
- 📊 Update DFM results (#674)
- Optimize anomaly score calculation for PatchCore (#633)
Deprecated
- Deprecated PreProcessor class (#795)
- Deprecate OptimalF1 metric in favor of AnomalyScoreThreshold and F1Score (#796)
Fixed
- Fix bug in
anomalib/data/utils/image.py
to check if the path is directory (#919) - Fix bug in MVTec dataset download (#842)
- Add early stopping to CS-Flow model (#817)
- Fix remote container by removing version pinning in Docker files (#797)
- Fix PatchCore performance deterioration by reverting changes to Average Pooling layer (#791)
- Fix zero seed (#766)
- Fix #699 (#700)
- 🐞 Fix folder dataset for classification tasks (#708)
- Update torchmetrics to fix compute_on_cpu issue (#711)
- Correct folder mask path (#660)
- Fix >100% confidence issue for OpenVINO inference (#667)
- Update pre-commit links and some other minor fixes (#672)
- Fix black formatting issues. (#674)
New Contributors
- @jpcbertoldo made their first contribution in #660
- @tanemaki made their first contribution in #766
- @Jonas1302 made their first contribution in #771
- @yunchu made their first contribution in #885
- @strelka145 made their first contribution in #919
Full Changelog: v0.3.7...v0.4.0
Dobot Dataset and API
This is to release the assets for the Dobot The Magician, an education robot arm portable and capable to run various automation tasks. The release contains an API to control the robot and a sample dataset captured via the robot.
v0.4.0rc2
[v0.4.0rc2] - 2023-02-10
Added
- Add ShanghaiTech Campus video anomaly detection dataset (#869)
- Add
pyupgrade
topre-commit
configs, and refactor based onpyupgrade
andrefurb
(#845) - Add CFA model implementation (#783)
- Add RKDE model implementation (#821)
- Add Visual Anomaly (VisA) dataset adapter (#824)
- Add Synthetic anomalous dataset for validation and testing (#822)
- Add Detection task type support (#822)
- Add UCSDped and Avenue dataset implementation (#822)
- Add base classes for video dataset and video datamodule (#822)
- Add base classes for image dataset and image dataModule (#822)
- ✨ Add CSFlow model (#657)
- Log loss for existing trainable models (#804)
- Add section for community project (#768)
- ✨ Add torchfx feature extractor (#675)
- Add tiling notebook (#712)
- Add posargs to tox to enable testing a single file (#695)
- Add option to load metrics with kwargs (#688)
- 🐞 Add device flag to TorchInferencer (#601)
Changed
- Remove the dependecy on a specific
torchvision
andtorchmetrics
packages. - Bump PyTorch Lightning version to v.1.9.* (#870)
- Make input image normalization and center cropping configurable from config (#822)
- Improve flexibility and configurability of subset splitting (#822)
- Switch to new datamodules design (#822)
- Make normalization and center cropping configurable through config (#795)
- Switch to new changelog format. (#777)
- Rename feature to task (#769)
- make device configurable in OpenVINO inference (#755)
- 🚨 Fix torchmetrics version (#754)
- Improve NNCF initilization (#740)
- Migrate markdownlint + issue templates (#738)
- 🐞 Patch Timm Feature Extractor (#714)
- Padim arguments improvements (#664)
- 📊 Update DFM results (#674)
- Optimize anomaly score calculation for PatchCore (#633)
Deprecated
- Deprecated PreProcessor class (#795)
- Deprecate OptimalF1 metric in favor of AnomalyScoreThreshold and F1Score (#796)
Fixed
- Fix bug in MVTec dataset download (#842)
- Add early stopping to CS-Flow model (#817)
- Fix remote container by removing version pinning in Docker files (#797)
- Fix PatchCore performance deterioration by reverting changes to Average Pooling layer (#791)
- Fix zero seed (#766)
- Fix #699 (#700)
- 🐞 Fix folder dataset for classification tasks (#708)
- Update torchmetrics to fix compute_on_cpu issue (#711)
- Correct folder mask path (#660)
- Fix >100% confidence issue for OpenVINO inference (#667)
- Update pre-commit links and some other minor fixes (#672)
- Fix black formatting issues. (#674)
Full Changelog: v0.4.0rc1...v0.4.0rc2
v0.4.0rc1
[v0.4.0rc1] - 2023-02-07
Added
- Add ShanghaiTech Campus video anomaly detection dataset (#869)
- Add
pyupgrade
topre-commit
configs, and refactor based onpyupgrade
andrefurb
(#845) - Add CFA model implementation (#783)
- Add RKDE model implementation (#821)
- Add Visual Anomaly (VisA) dataset adapter (#824)
- Add Synthetic anomalous dataset for validation and testing (#822)
- Add Detection task type support (#822)
- Add UCSDped and Avenue dataset implementation (#822)
- Add base classes for video dataset and video datamodule (#822)
- Add base classes for image dataset and image dataModule (#822)
- ✨ Add CSFlow model (#657)
- Log loss for existing trainable models (#804)
- Add section for community project (#768)
- ✨ Add torchfx feature extractor (#675)
- Add tiling notebook (#712)
- Add posargs to tox to enable testing a single file (#695)
- Add option to load metrics with kwargs (#688)
- 🐞 Add device flag to TorchInferencer (#601)
Changed
- Bump PyTorch Lightning version to v.1.9.* (#870)
- Make input image normalization and center cropping configurable from config (#822)
- Improve flexibility and configurability of subset splitting (#822)
- Switch to new datamodules design (#822)
- Make normalization and center cropping configurable through config (#795)
- Switch to new changelog format. (#777)
- Rename feature to task (#769)
- make device configurable in OpenVINO inference (#755)
- 🚨 Fix torchmetrics version (#754)
- Improve NNCF initilization (#740)
- Migrate markdownlint + issue templates (#738)
- 🐞 Patch Timm Feature Extractor (#714)
- Padim arguments improvements (#664)
- 📊 Update DFM results (#674)
- Optimize anomaly score calculation for PatchCore (#633)
Deprecated
- Deprecated PreProcessor class (#795)
- Deprecate OptimalF1 metric in favor of AnomalyScoreThreshold and F1Score (#796)
Fixed
- Fix bug in MVTec dataset download (#842)
- Add early stopping to CS-Flow model (#817)
- Fix remote container by removing version pinning in Docker files (#797)
- Fix PatchCore performance deterioration by reverting changes to Average Pooling layer (#791)
- Fix zero seed (#766)
- Fix #699 (#700)
- 🐞 Fix folder dataset for classification tasks (#708)
- Update torchmetrics to fix compute_on_cpu issue (#711)
- Correct folder mask path (#660)
- Fix >100% confidence issue for OpenVINO inference (#667)
- Update pre-commit links and some other minor fixes (#672)
- Fix black formatting issues. (#674)
New Contributors
RKDE Weights
This release adds the feature extractor weights for the RKDE model implementation.
v0.3.7
What's Changed
- Feature/comet logging by @sherpan in #517
- 🐞 Fix linting issues by @ashwinvaidya17 in #535
- 🐞 Bug Fix: Solve NaN values of anomaly scores for PatchCore model by @bsl546 in #549
- 🐞 Bug Fix: Help description for argument task by @youngquan in #547
- reutrn results of load_state_dict func by @zywvvd in #546
- 🔨 Pass
pre-trained
from config toModelLightning
by @samet-akcay in #529 - Benchmarking tool with Comet by @sherpan in #545
- Add map_location when loading the weights by @samet-akcay in #562
- Add patchcore to openvino export test + upgrade lightning by @ashwinvaidya17 in #565
- 🐞 Fix category check for folder dataset in anomalib CLI by @samet-akcay in #567
- Refactor
PreProcessor
and fixVisualizer
denormalization issue. by @samet-akcay in #570 - 🔨 Check for successful openvino conversion by @ashwinvaidya17 in #571
- Comet HPO by @sherpan in #563
- Fix patchcore image-level score computation by @djdameln in #580
- Fix anomaly map computation in CFlow when batch size is 1. by @samet-akcay in #589
- Documentation refactor by @samet-akcay in #576
- ✨ Add notebook for hpo by @ashwinvaidya17 in #592
- 🐞 Fix comet HPO by @ashwinvaidya17 in #597
- ✨ Replace keys from benchmarking script by @ashwinvaidya17 in #595
- Update README.md by @Owaiskhan9654 in #623
- 🐳 Containerize CI by @ashwinvaidya17 in #616
- add deprecation warning to denormalize class by @djdameln in #629
- Anomalib CLI Improvements - Update metrics and create post_processing section in the config file by @samet-akcay in #607
- Convert adaptive_threshold to Enum in configs by @samet-akcay in #637
- Create meta_data.json with ONNX export as well as OpenVINO export by @calebmm in #636
- 🖌 refactor export callback by @ashwinvaidya17 in #640
- 🐞 Address docs build by @ashwinvaidya17 in #639
- Optimized inference with onnx for patchcore. by @acai66 in #652
New Contributors
- @sherpan made their first contribution in #517
- @bsl546 made their first contribution in #549
- @youngquan made their first contribution in #547
- @zywvvd made their first contribution in #546
- @Owaiskhan9654 made their first contribution in #623
- @calebmm made their first contribution in #636
- @acai66 made their first contribution in #652
Full Changelog: v0.3.6...v0.3.7
v0.3.6
What's Changed
- Add publish workflow + update references to main by @ashwinvaidya17 in #480
- Fix Dockerfile by @ORippler in #478
- Fix onnx export by rewriting GaussianBlur by @ORippler in #476
- DFKDE refactor to accept any layer name like other models by @ashishbdatta in #482
- 🐞 Log benchmarking results in sub folder by @ashwinvaidya17 in #483
- 🐞 Fix Visualization keys in new CLI by @ashwinvaidya17 in #487
- fix Perlin augmenter for non divisible image sizes by @djdameln in #490
- 📝 Update the license headers by @samet-akcay in #491
- change default parameter values for DRAEM by @djdameln in #495
- Add reset methods to metrics by @ashwinvaidya17 in #488
- Feature Extractor Refactor by @ashishbdatta in #451
- Convert
AnomalyMapGenerator
tonn.Module
by @samet-akcay in #497 - Add github pr labeler to automatically label PRs by @samet-akcay in #498
- Add coverage by @ashwinvaidya17 in #499
- 🐞 Change if check by @ashwinvaidya17 in #501
- SSPCAB implementation by @djdameln in #500
- 🛠 Refactor Normalization by @ashwinvaidya17 in #496
- Enable generic exporting of a trained model to ONNX or OpenVINO IR by @ashishbdatta in #509
- Updated documentation to add examples for exporting model by @ashishbdatta in #515
- Ignore pixel metrics in classification task by @djdameln in #516
- Update export documentation by @djdameln in #521
- FIX: PaDiM didn't use config.model.pre_trained. by @jingt2ch in #514
- Reset adaptive threshold between epochs by @djdameln in #527
- Add PRO metric by @djdameln in #508
- Set full_state_update attribute in custom metrics by @djdameln in #531
- 🐞 Set normalization method from anomaly module by @ashwinvaidya17 in #530
New Contributors
- @ashishbdatta made their first contribution in #482
- @jingt2ch made their first contribution in #514
Full Changelog: v0.3.5...v0.3.6
v.0.3.5 - Minor bug-fix release
v.0.3.5 - 2022-08-02
What's Changed
- 🐞 Fix inference for draem by @djdameln in #470
- 🐞 🛠 Bug fix in the inferencer by @samet-akcay in #475