diff --git a/CHANGELOG.md b/CHANGELOG.md index a7d53ce60d..816bfdc5ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,219 +1,255 @@ # Changelog +## v.0.3.4 + +## What's Changed + +- Add encoding to LONG_DESCRIPTION in setup.py by @samet-akcay in +- Fix visualization by @ORippler in +- Fix openvino circular import issue by @samet-akcay in +- Fix inferener arg names and weight path issue. by @samet-akcay in +- Remove the redundant `loss_val` by @samet-akcay in +- πŸ“ƒ Add documentation for gradio inference by @ashwinvaidya17 in +- Add `pre_train` as a configurable parameter by @samet-akcay in +- πŸ›  Fix config files and refactor dfkde by @samet-akcay in +- Add metric visualizations by @ORippler in +- Fix: data split issue by @jeongHwarr in +- 🚚 Move perlin noise to common folder by @ashwinvaidya17 in +- Support null seed by @ashwinvaidya17 in +- 🐞 Change if statement by @ashwinvaidya17 in +- Fix visualizer for `classification`, `mode=simple` by @ORippler in +- Feature/aupro test by @ORippler in +- Replace PyTorchLightning extras dependency by @ashwinvaidya17 in +- πŸ›  Fix `tox` configuration by @samet-akcay in +- Ignore ipynb files to detect the repo language by @samet-akcay in +- Move configuration from tox to pyproject by @samet-akcay in +- Add Torch Inferencer and Update Openvino and Gradio Inferencers. by @samet-akcay in +- Address markdownlint issues by @samet-akcay in +- 🐞 Fix HPO by @ashwinvaidya17 in +- Remove docs requirements by @ashwinvaidya17 in +- Add codacy badge to readme by @samet-akcay in + +New Contributors + +- @ORippler made their first contribution in +- @jeongHwarr made their first contribution in + +**Full Changelog**: + ## v.0.3.3 ## What's Changed -- 🚚 Move initialization log message to base class by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/363 -- 🚚 Move logging from train.py to the getter functions by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/365 -- 🚜 Refactor loss computation by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/364 -- πŸ“ Add a technical blog post to explain how to run anomalib. by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/359 -- πŸ“š Add datamodule jupyter notebooks. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/357 -- πŸ“ Add benchmarking notebook by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/353 -- βž• Add PyPI downloads badge to the readme. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/370 -- πŸ“ƒ Update README.md by @innat in https://github.com/openvinotoolkit/anomalib/pull/382 -- πŸ’» Create Anomalib CLI by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/378 -- 🐞 Fix configs to remove logging heatmaps from classification models. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/387 -- ✨ Add FastFlow model training testing inference via Anomalib API by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/386 -- 🐞 PaDim occasionally NaNs in anomaly map by @VdLMV in https://github.com/openvinotoolkit/anomalib/pull/392 -- πŸ–Ό Inference + Visualization by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/390 +- 🚚 Move initialization log message to base class by @djdameln in +- 🚚 Move logging from train.py to the getter functions by @samet-akcay in +- 🚜 Refactor loss computation by @djdameln in +- πŸ“ Add a technical blog post to explain how to run anomalib. by @ashwinvaidya17 in +- πŸ“š Add datamodule jupyter notebooks. by @samet-akcay in +- πŸ“ Add benchmarking notebook by @ashwinvaidya17 in +- βž• Add PyPI downloads badge to the readme. by @samet-akcay in +- πŸ“ƒ Update README.md by @innat in +- πŸ’» Create Anomalib CLI by @samet-akcay in +- 🐞 Fix configs to remove logging heatmaps from classification models. by @samet-akcay in +- ✨ Add FastFlow model training testing inference via Anomalib API by @samet-akcay in +- 🐞 PaDim occasionally NaNs in anomaly map by @VdLMV in +- πŸ–Ό Inference + Visualization by @djdameln in New Contributors -- @innat made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/382 -- @VdLMV made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/392 +- @innat made their first contribution in +- @VdLMV made their first contribution in -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/compare/v.0.3.2...v.0.3.3 +**Full Changelog**: ## v.0.3.2 ## What's Changed -- Refactor `AnomalyModule` and `LightningModules` to explicitly define class arguments. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/315 -- 🐞 Fix inferencer in Gradio by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/332 -- fix too many open images warning by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/334 -- Upgrade wandb version by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/340 -- Minor fix: Update folder dataset + notebooks link by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/338 -- Upgrade TorchMetrics version by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/342 -- πŸš€ Set pylint version in tox.ini by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/345 -- Add metrics configuration callback to benchmarking by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/346 -- βž• Add FastFlow Model by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/336 -- ✨ Add toy dataset to the repository by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/350 -- Add DRAEM Model by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/344 -- πŸ“ƒUpdate documentation by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/280 -- 🏷️ Refactor Datamodule names by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/354 -- ✨ Add Reverse Distillation by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/343 - -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/compare/v.0.3.1...v.0.3.2 +- Refactor `AnomalyModule` and `LightningModules` to explicitly define class arguments. by @samet-akcay in +- 🐞 Fix inferencer in Gradio by @ashwinvaidya17 in +- fix too many open images warning by @djdameln in +- Upgrade wandb version by @ashwinvaidya17 in +- Minor fix: Update folder dataset + notebooks link by @ashwinvaidya17 in +- Upgrade TorchMetrics version by @djdameln in +- πŸš€ Set pylint version in tox.ini by @ashwinvaidya17 in +- Add metrics configuration callback to benchmarking by @ashwinvaidya17 in +- βž• Add FastFlow Model by @samet-akcay in +- ✨ Add toy dataset to the repository by @ashwinvaidya17 in +- Add DRAEM Model by @djdameln in +- πŸ“ƒUpdate documentation by @ashwinvaidya17 in +- 🏷️ Refactor Datamodule names by @samet-akcay in +- ✨ Add Reverse Distillation by @ashwinvaidya17 in + +**Full Changelog**: ## v.0.3.1 ## What's Changed -- πŸ”§ Properly assign values to dataframe in folder dataset. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/272 -- βž• Add warnings ⚠️ for inproper task setting in config files. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/274 -- Updated CHANGELOG.md by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/276 -- βž• Add long description to `setup.py` to make `README.md` PyPI friendly. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/279 -- ✨ Add hash check to data download by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/284 -- βž• Add Gradio by @julien-blanchon in https://github.com/openvinotoolkit/anomalib/pull/283 -- πŸ”¨ Fix nncf key issue in nightly job by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/238 -- Visualizer improvements pt1 by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/293 -- πŸ§ͺ Fix nightly by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/299 -- πŸ§ͺ Add tests for benchmarking script by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/297 -- βž• add input_info to nncf config when not defined by user by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/307 -- 🐞 Increase tolerance + nightly path fix by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/318 -- βž• Add jupyter notebooks directory and first tutorial for `getting-started` by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/292 +- πŸ”§ Properly assign values to dataframe in folder dataset. by @samet-akcay in +- βž• Add warnings ⚠️ for inproper task setting in config files. by @samet-akcay in +- Updated CHANGELOG.md by @samet-akcay in +- βž• Add long description to `setup.py` to make `README.md` PyPI friendly. by @samet-akcay in +- ✨ Add hash check to data download by @ashwinvaidya17 in +- βž• Add Gradio by @julien-blanchon in +- πŸ”¨ Fix nncf key issue in nightly job by @ashwinvaidya17 in +- Visualizer improvements pt1 by @djdameln in +- πŸ§ͺ Fix nightly by @ashwinvaidya17 in +- πŸ§ͺ Add tests for benchmarking script by @ashwinvaidya17 in +- βž• add input_info to nncf config when not defined by user by @djdameln in +- 🐞 Increase tolerance + nightly path fix by @ashwinvaidya17 in +- βž• Add jupyter notebooks directory and first tutorial for `getting-started` by @samet-akcay in New Contributors -- @julien-blanchon made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/283 +- @julien-blanchon made their first contribution in -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/compare/v0.3.0...v.0.3.1 +**Full Changelog**: ## v.0.3.0 ### What's Changed -- πŸ›  ⚠️ Fix configs to properly use pytorch-lightning==1.6 with GPU by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/234 -- πŸ›  Fix `get_version` in `setup.py` to avoid hard-coding version. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/229 -- 🐞 Fix image loggers by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/233 -- Configurable metrics by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/230 -- Make OpenVINO throughput optional in benchmarking by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/239 -- πŸ”¨ Minor fix: Ensure docs build runs only on isea-server by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/245 -- 🏷 Rename `--model_config_path` to `config` by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/246 -- Revert "🏷 Rename `--model_config_path` to `config`" by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/247 -- βž• Add `--model_config_path` deprecation warning to `inference.py` by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/248 -- Add console logger by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/241 -- Add segmentation mask to inference output by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/242 -- πŸ›  Fix broken mvtec link, and split url to fit to 120 by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/264 -- πŸ›  Fix mask filenames in folder dataset by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/249 - -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/compare/v0.2.6...v0.3.0 +- πŸ›  ⚠️ Fix configs to properly use pytorch-lightning==1.6 with GPU by @samet-akcay in +- πŸ›  Fix `get_version` in `setup.py` to avoid hard-coding version. by @samet-akcay in +- 🐞 Fix image loggers by @ashwinvaidya17 in +- Configurable metrics by @djdameln in +- Make OpenVINO throughput optional in benchmarking by @ashwinvaidya17 in +- πŸ”¨ Minor fix: Ensure docs build runs only on isea-server by @ashwinvaidya17 in +- 🏷 Rename `--model_config_path` to `config` by @samet-akcay in +- Revert "🏷 Rename `--model_config_path` to `config`" by @samet-akcay in +- βž• Add `--model_config_path` deprecation warning to `inference.py` by @samet-akcay in +- Add console logger by @samet-akcay in +- Add segmentation mask to inference output by @ashwinvaidya17 in +- πŸ›  Fix broken mvtec link, and split url to fit to 120 by @samet-akcay in +- πŸ›  Fix mask filenames in folder dataset by @samet-akcay in + +**Full Changelog**: ## v.0.2.6 ### What's Changed -- ✏️ Add `torchtext==0.9.1` to support Kaggle environments. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/165 -- πŸ›  Fix `KeyError:'label'` in classification folder dataset by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/175 -- πŸ“ Added MVTec license to the repo by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/177 -- load best model from checkpoint by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/195 -- Replace `SaveToCSVCallback` with PL `CSVLogger` by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/198 -- WIP Refactor test by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/197 -- πŸ”§ Dockerfile enhancements by @LukasBommes in https://github.com/openvinotoolkit/anomalib/pull/172 -- πŸ›  Fix visualization issue for fully defected images by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/194 -- ✨ Add hpo search using `wandb` by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/82 -- Separate train and validation transformations by @alexriedel1 in https://github.com/openvinotoolkit/anomalib/pull/168 -- πŸ›  Fix docs workflow by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/200 -- πŸ”„ CFlow: Switch soft permutation to false by default to speed up training. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/201 -- Return only `image`, `path` and `label` for classification tasks in `Mvtec` and `Btech` datasets. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/196 -- πŸ—‘ Remove `freia` as dependency and include it in `anomalib/models/components` by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/174 -- Visualizer show classification and segmentation by @alexriedel1 in https://github.com/openvinotoolkit/anomalib/pull/178 -- ↗️ Bump up `pytorch-lightning` version to `1.6.0` or higher by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/193 -- πŸ›  Refactor DFKDE model by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/207 -- πŸ›  Minor fixes: Update callbacks to AnomalyModule by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/208 -- πŸ›  Minor update: Update pre-commit docs by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/206 -- ✨ Directory streaming by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/210 -- ✏️ Updated documentation for development on Docker by @LukasBommes in https://github.com/openvinotoolkit/anomalib/pull/217 -- 🏷 Fix Mac M1 dependency conflicts by @dreaquil in https://github.com/openvinotoolkit/anomalib/pull/158 -- 🐞 Set tiling off in pathcore to correctly reproduce the stats. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/222 -- 🐞fix support for non-square images by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/204 -- Allow specifying feature layer and pool factor in DFM by @nahuja-intel in https://github.com/openvinotoolkit/anomalib/pull/215 -- πŸ“ Add GANomaly metrics to readme by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/224 -- ↗️ Bump the version to 0.2.6 by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/223 -- πŸ“ πŸ›  Fix inconsistent benchmarking throughput/time by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/221 -- assign test split for folder dataset by @alexriedel1 in https://github.com/openvinotoolkit/anomalib/pull/220 -- πŸ›  Refactor model implementations by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/225 +- ✏️ Add `torchtext==0.9.1` to support Kaggle environments. by @samet-akcay in +- πŸ›  Fix `KeyError:'label'` in classification folder dataset by @samet-akcay in +- πŸ“ Added MVTec license to the repo by @samet-akcay in +- load best model from checkpoint by @djdameln in +- Replace `SaveToCSVCallback` with PL `CSVLogger` by @samet-akcay in +- WIP Refactor test by @ashwinvaidya17 in +- πŸ”§ Dockerfile enhancements by @LukasBommes in +- πŸ›  Fix visualization issue for fully defected images by @djdameln in +- ✨ Add hpo search using `wandb` by @ashwinvaidya17 in +- Separate train and validation transformations by @alexriedel1 in +- πŸ›  Fix docs workflow by @ashwinvaidya17 in +- πŸ”„ CFlow: Switch soft permutation to false by default to speed up training. by @samet-akcay in +- Return only `image`, `path` and `label` for classification tasks in `Mvtec` and `Btech` datasets. by @samet-akcay in +- πŸ—‘ Remove `freia` as dependency and include it in `anomalib/models/components` by @samet-akcay in +- Visualizer show classification and segmentation by @alexriedel1 in +- ↗️ Bump up `pytorch-lightning` version to `1.6.0` or higher by @samet-akcay in +- πŸ›  Refactor DFKDE model by @ashwinvaidya17 in +- πŸ›  Minor fixes: Update callbacks to AnomalyModule by @ashwinvaidya17 in +- πŸ›  Minor update: Update pre-commit docs by @ashwinvaidya17 in +- ✨ Directory streaming by @ashwinvaidya17 in +- ✏️ Updated documentation for development on Docker by @LukasBommes in +- 🏷 Fix Mac M1 dependency conflicts by @dreaquil in +- 🐞 Set tiling off in pathcore to correctly reproduce the stats. by @samet-akcay in +- 🐞fix support for non-square images by @ashwinvaidya17 in +- Allow specifying feature layer and pool factor in DFM by @nahuja-intel in +- πŸ“ Add GANomaly metrics to readme by @ashwinvaidya17 in +- ↗️ Bump the version to 0.2.6 by @samet-akcay in +- πŸ“ πŸ›  Fix inconsistent benchmarking throughput/time by @ashwinvaidya17 in +- assign test split for folder dataset by @alexriedel1 in +- πŸ›  Refactor model implementations by @djdameln in New Contributors -- @LukasBommes made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/172 -- @dreaquil made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/158 -- @nahuja-intel made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/215 +- @LukasBommes made their first contribution in +- @dreaquil made their first contribution in +- @nahuja-intel made their first contribution in -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/compare/v.0.2.5...v0.2.6 +**Full Changelog**: ## v.0.2.5 ### What's Changed -- Bugfix: fix random val/test split issue by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/48 -- Fix Readmes by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/46 -- Updated changelog by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/49 -- add distinction between image and pixel threshold in postprocessor by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/50 -- Fix docstrings by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/22 -- Fix networkx requirement by @LeonidBeynenson in https://github.com/openvinotoolkit/anomalib/pull/52 -- Add min-max normalization by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/53 -- Change hardcoded dataset path to environ variable by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/51 -- Added cflow algorithm by @blakshma in https://github.com/openvinotoolkit/anomalib/pull/47 -- perform metric computation on cpu by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/64 -- Fix Inferencer by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/60 -- Updated readme for cflow and change default config to reflect results by @blakshma in https://github.com/openvinotoolkit/anomalib/pull/68 -- Fixed issue with model loading by @blakshma in https://github.com/openvinotoolkit/anomalib/pull/69 -- Docs/sa/fix readme by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/71 -- Updated coreset subsampling method to improve accuracy by @blakshma in https://github.com/openvinotoolkit/anomalib/pull/73 -- Revert "Updated coreset subsampling method to improve accuracy" by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/79 -- Replace `SupportIndex` with `int` by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/76 -- Added reference to official CFLOW repo by @blakshma in https://github.com/openvinotoolkit/anomalib/pull/81 -- Fixed issue with k_greedy method by @blakshma in https://github.com/openvinotoolkit/anomalib/pull/80 -- Fix Mix Data type issue on inferencer by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/77 -- Create CODE_OF_CONDUCT.md by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/86 -- ✨ Add GANomaly by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/70 -- Reorder auc only when needed by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/91 -- Bump up the pytorch lightning to master branch due to vulnurability issues by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/55 -- πŸš€ CI: Nightly Build by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/66 -- Refactor by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/87 -- Benchmarking Script by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/17 -- 🐞 Fix tensor detach and gpu count issues in benchmarking script by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/100 -- Return predicted masks in predict step by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/103 -- Add Citation to the Readme by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/106 -- Nightly build by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/104 -- c_idx cast to LongTensor in random sparse projection by @alexriedel1 in https://github.com/openvinotoolkit/anomalib/pull/113 -- Update Nightly by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/126 -- Updated logos by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/131 -- Add third-party-programs.txt file and update license by @LeonidBeynenson in https://github.com/openvinotoolkit/anomalib/pull/132 -- πŸ”¨ Increase inference + openvino support by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/122 -- Fix/da/image size bug by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/135 -- Fix/da/image size bug by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/140 -- optimize compute_anomaly_score by using torch native funcrtions by @alexriedel1 in https://github.com/openvinotoolkit/anomalib/pull/141 -- Fix IndexError in adaptive threshold computation by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/146 -- Feature/data/btad by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/120 -- Update for nncf_task by @AlexanderDokuchaev in https://github.com/openvinotoolkit/anomalib/pull/145 -- fix non-adaptive thresholding bug by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/152 -- Calculate feature map shape patchcore by @alexriedel1 in https://github.com/openvinotoolkit/anomalib/pull/148 -- Add `transform_config` to the main `config.yaml` file. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/156 -- Add Custom Dataset Training Support by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/154 -- Added extension as an option when saving the result images. by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/162 -- Update `anomalib` version and requirements by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/163 +- Bugfix: fix random val/test split issue by @djdameln in +- Fix Readmes by @ashwinvaidya17 in +- Updated changelog by @samet-akcay in +- add distinction between image and pixel threshold in postprocessor by @djdameln in +- Fix docstrings by @ashwinvaidya17 in +- Fix networkx requirement by @LeonidBeynenson in +- Add min-max normalization by @djdameln in +- Change hardcoded dataset path to environ variable by @ashwinvaidya17 in +- Added cflow algorithm by @blakshma in +- perform metric computation on cpu by @djdameln in +- Fix Inferencer by @ashwinvaidya17 in +- Updated readme for cflow and change default config to reflect results by @blakshma in +- Fixed issue with model loading by @blakshma in +- Docs/sa/fix readme by @samet-akcay in +- Updated coreset subsampling method to improve accuracy by @blakshma in +- Revert "Updated coreset subsampling method to improve accuracy" by @samet-akcay in +- Replace `SupportIndex` with `int` by @samet-akcay in +- Added reference to official CFLOW repo by @blakshma in +- Fixed issue with k_greedy method by @blakshma in +- Fix Mix Data type issue on inferencer by @samet-akcay in +- Create CODE_OF_CONDUCT.md by @samet-akcay in +- ✨ Add GANomaly by @ashwinvaidya17 in +- Reorder auc only when needed by @djdameln in +- Bump up the pytorch lightning to master branch due to vulnurability issues by @samet-akcay in +- πŸš€ CI: Nightly Build by @ashwinvaidya17 in +- Refactor by @ashwinvaidya17 in +- Benchmarking Script by @ashwinvaidya17 in +- 🐞 Fix tensor detach and gpu count issues in benchmarking script by @ashwinvaidya17 in +- Return predicted masks in predict step by @djdameln in +- Add Citation to the Readme by @samet-akcay in +- Nightly build by @ashwinvaidya17 in +- c_idx cast to LongTensor in random sparse projection by @alexriedel1 in +- Update Nightly by @ashwinvaidya17 in +- Updated logos by @samet-akcay in +- Add third-party-programs.txt file and update license by @LeonidBeynenson in +- πŸ”¨ Increase inference + openvino support by @ashwinvaidya17 in +- Fix/da/image size bug by @djdameln in +- Fix/da/image size bug by @djdameln in +- optimize compute_anomaly_score by using torch native funcrtions by @alexriedel1 in +- Fix IndexError in adaptive threshold computation by @djdameln in +- Feature/data/btad by @samet-akcay in +- Update for nncf_task by @AlexanderDokuchaev in +- fix non-adaptive thresholding bug by @djdameln in +- Calculate feature map shape patchcore by @alexriedel1 in +- Add `transform_config` to the main `config.yaml` file. by @samet-akcay in +- Add Custom Dataset Training Support by @samet-akcay in +- Added extension as an option when saving the result images. by @samet-akcay in +- Update `anomalib` version and requirements by @samet-akcay in New Contributors -- @LeonidBeynenson made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/52 -- @blakshma made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/47 -- @alexriedel1 made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/113 -- @AlexanderDokuchaev made their first contribution in https://github.com/openvinotoolkit/anomalib/pull/145 +- @LeonidBeynenson made their first contribution in +- @blakshma made their first contribution in +- @alexriedel1 made their first contribution in +- @AlexanderDokuchaev made their first contribution in -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/compare/v.0.2.4...v.0.2.5 +**Full Changelog**: ## v.0.2.4 ### What's Changed -- Bump up the version to 0.2.4 by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/45 -- fix heatmap color scheme by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/44 +- Bump up the version to 0.2.4 by @samet-akcay in +- fix heatmap color scheme by @djdameln in -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/compare/v.0.2.3...v.0.2.4 +**Full Changelog**: ## v.0.2.3 ### What's Changed -- Address docs build failing issue by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/39 -- Fix docs pipeline πŸ“„ by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/41 -- Feature/dick/anomaly score normalization by @djdameln in https://github.com/openvinotoolkit/anomalib/pull/35 -- Shuffle train dataloader by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/42 +- Address docs build failing issue by @ashwinvaidya17 in +- Fix docs pipeline πŸ“„ by @ashwinvaidya17 in +- Feature/dick/anomaly score normalization by @djdameln in +- Shuffle train dataloader by @samet-akcay in -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/compare/v0.2.2...v.0.2.3 +**Full Changelog**: ## v0.2.0 Pre-release (2021-12-15) @@ -234,4 +270,4 @@ Contributors - @djdameln - @samet-akcay -**Full Changelog**: https://github.com/openvinotoolkit/anomalib/commits/v0.2.0 +**Full Changelog**: diff --git a/anomalib/__init__.py b/anomalib/__init__.py index 266bf33855..fd27cd0ea7 100644 --- a/anomalib/__init__.py +++ b/anomalib/__init__.py @@ -14,4 +14,4 @@ # See the License for the specific language governing permissions # and limitations under the License. -__version__ = "0.3.3" +__version__ = "0.3.4" diff --git a/tools/benchmarking/post-process.sh b/tools/benchmarking/post-process.sh deleted file mode 100755 index 449179a295..0000000000 --- a/tools/benchmarking/post-process.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -e - -# Copyright (C) 2020 Intel Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions -# and limitations under the License. - -results_dir=$1 - -pushd $results_dir - -echo "tools/train.py CPU %:" -grep tools/train.py top.log | awk '{ sum += $9} END { if (NR > 0) printf ("%0.3f\n", sum / NR)}' - -echo "Memory Read, Write, IO (GB/s):" -grep ^MEM -A2 pcm.log | grep SKT | awk '{print $3}' | awk '{sum += $1 } END { if (NR > 0) printf ("%0.3f, ", sum / NR)}' -grep ^MEM -A2 pcm.log | grep SKT | awk '{print $4}' | awk '{sum += $1 } END { if (NR > 0) printf ("%0.3f, ", sum / NR)}' -grep ^MEM -A2 pcm.log | grep SKT | awk '{print $5}' | awk '{sum += $1 } END { if (NR > 0) printf ("%0.3f\n", sum / NR)}' - - -echo "Total CPU%:" -grep "top -" top.log -A 16 | grep -v top | grep -v Tasks | grep -v "%Cpu(s)" | grep -v KiB | grep -v PID | awk '{ printf "%s"",",$9 }' | sed -e 's/,,,/\n/g' | awk '{ for(i=1; i<=NF; i++) j+=$i; print j; j=0 }' | awk '{ sum +=$1 } END { if (NR > 0) print sum / NR}' -echo "Top Average Percent Memory usage:" -avg=`grep 'KiB Mem' top.log | awk '{ sum += $8 } END { if (NR > 0) printf ("%0.3f\n", sum / NR)}'` -total=`grep 'KiB Mem' top.log | awk '{ sum += $4 } END { if (NR > 0) printf ("%0.3f\n", sum / NR)}'` -echo "scale=4; $avg / $total" | bc -echo "Top Memory utilization (KiB):" -echo "$avg" -popd diff --git a/tools/benchmarking/train.sh b/tools/benchmarking/train.sh deleted file mode 100755 index fce3c399a8..0000000000 --- a/tools/benchmarking/train.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2020 Intel Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions -# and limitations under the License. - -# Kill all subprocesses and exit when ctrl-c is pressed -function stop_all() { - echo "Stopping processes" - pkill top - pkill pcm - tokill=`ps aux | grep tools/train.py | grep -v grep | head -n 1 | awk '{print $2}'` - kill "${tokill}" -} - -trap "echo; echo Killing processes...; stop_all; exit 0" SIGINT SIGTERM - -#Install PCM if it is not already -if [ -d "./pcm" ] -then - echo PCM installed - modprobe msr -else - git clone https://github.com/opcm/pcm.git - pushd pcm - make - make install - apt install sysstat - modprobe msr - popd -fi - -#Creat output dir -DATETIME=`date -u +"%Y%b%d_%H%M"` -mkdir -p output/$DATETIME -rundir="$PWD/output/$DATETIME" -echo ${rundir} - -#Run training -pushd .. -python tools/train.py "$@" 2>&1 | tee -a ${rundir}/train.log & -popd -sleep 10 - -#Collect system-level metrics -top -b -i -o %CPU > "${rundir}"/top.log & -echo TOP STARTED -./pcm/pcm.x > "${rundir}"/pcm.log & -echo PCM STARTED - -echo NVIDIA LOOP STARTING -for i in `seq 1 60` -do - nvidia-smi --query-gpu=utilization.gpu --format=csv >> "${rundir}"/gpu_utilization.log - nvidia-smi --query-gpu=utilization.memory --format=csv >> "${rundir}"/gpu_mem.log - nvidia-smi --query-gpu=temperature.gpu --format=csv >> "${rundir}"/gpu_temp.log - sleep 1 -done - -#Cleanup when done -pkill top -pkill pcm