Skip to content
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

Sync upstream #1

Merged

Conversation

ashwinvaidya17
Copy link
Owner

Description

  • Provide a summary of the modification as well as the issue that has been resolved. List any dependencies that this modification necessitates.

  • Fixes # (issue)

Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • My code follows the pre-commit style and check guidelines of this project.
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes

alexriedel1 and others added 29 commits February 24, 2022 10:46
* c_idx cast to LongTensor in random sparse projection

* cast on creation

* black formatting
* 🩹 fix checkpoint issue

* Backup multi-GPU test

* Backup thresholds

* Update thresholds + backup script for benchmarking

* Backup ganomaly thresholds

* Backup cflow and stfpm thresholds

* Fix all thresholds

* Update num categories to 3

* Fix pill threshold

* Fix tile  threshold

* Fix patchcore pill threshold

* Fix stfpm metal_nut threshold

* Add all close to tests

* Update cable threshold

* Update toothbrush

* Update transistor

* Update transistor

* Fix stfpm cable threshold

* Fix stfpm carpet threshold

* Add tolerance to file

* Change tox threshold + resturcture tests

* Restore benchmarking params

* Restore benchmarking params

* Update bottle threshold

* Update toothbrush threshold

* Update capsule  threshold

* Reduce thresholds + remove nncf tests

* Add badges to readme

Co-authored-by: Ashwin Vaidya <[email protected]>
* Add third-party-programs.txt file and update license

* Fix precommit warnings

* Update third-party-programs.txt

* Update README.md

Co-authored-by: Samet Akcay <[email protected]>
* 🔨 Increase inference + openvino support

* Rename fit_normality_model to model

* Address DFKDE comments

* Addressed DFM pytlint comments

Co-authored-by: Ashwin Vaidya <[email protected]>
Co-authored-by: Samet Akcay <[email protected]>
* fix image size bug and add test case

* fix padim inference

* docstrings

* use dummy dataset for image size tests

* detach before moving to cpu
* fix image size bug and add test case

* fix padim inference

* docstrings

* use dummy dataset for image size tests

* detach before moving to cpu

* fix bug for non-square input images
* address scalar thresholds issue

* add tests for adaptive threshold metric
* renamed download-progress-bar as download

* added new download functions to init

* Added Btech data module

* Added btech tests

* Move split functions into a util module

* Modified mvtec

* added btech to get-datamodule

* fix typo in btech docstring

* update docstring

* cleanedup dataset download utils

* Address mypy

* modify config files and update readme.md

* Fix dataset path
* Update for nncf_task

* linter

* update nncf commit

* Rename CompressionCallback to OpenVINOCallback

* struct

* rename compression to openvino in config

* rm
* calculate feature map shape patchcore

* passed to wrong function

* unpack values from torch tensor directly

* get feature map shape before reshaping

* updating docstrings in patchcore

* fix line length

* w, h (too short) -> width, height

* typing torch.Size of feature_map_shape

* removing trailing whitespaces
* renamed download-progress-bar as download

* added new download functions to init

* Added Btech data module

* Added btech tests

* Move split functions into a util module

* Modified mvtec

* added btech to get-datamodule

* fix typo in btech docstring

* update docstring

* cleanedup dataset download utils

* Address mypy

* modify config files and update readme.md

* Fix dataset path

* WiP: Created make_dataset function

* Renamed folder dataset into custom

* Added custom dataset tests

* updated config.yaml file to show custom dataset is available

* Added custom dataset to get_datamodule

* Address PR comments

* fix dataset path

* Debugging the ci

* Fixed folder dataset tests

* Added code quality checks back to the ci

* Added code coverage back to pre-merge tests
* Added extension as an option when saving the result images.

* Added an extension check

* reverted visualizer callback

* Convert bmp images to png after downloading btech dataset.

* pylint

* ignore arguments differ
* renamed download-progress-bar as download

* added new download functions to init

* Added Btech data module

* Added btech tests

* Move split functions into a util module

* Modified mvtec

* added btech to get-datamodule

* fix typo in btech docstring

* update docstring

* cleanedup dataset download utils

* Address mypy

* modify config files and update readme.md

* Fix dataset path

* WiP: Created make_dataset function

* Renamed folder dataset into custom

* Added custom dataset tests

* updated config.yaml file to show custom dataset is available

* Added custom dataset to get_datamodule

* Address PR comments

* fix dataset path

* Debugging the ci

* Fixed folder dataset tests

* Added code quality checks back to the ci

* Added code coverage back to pre-merge tests

* Do not import openvino at the top level. Cause some import issues when openvino is not install

* Move nncf to openvino-requirements.txt

* Move opencv to base requirements.txt/

* Added extension as an option when saving the result images.

* Added an extension check

* python verion 3.7

* Added opencv contrib python

* reverted visualizer callback

* Convert bmp images to png after downloading btech dataset.

* pylint

* ignore arguments differ

* Version to 0.2.5

* Ignore arguments-differ

* loosen pandas version

* import openvino with absolute import
* renamed download-progress-bar as download

* added new download functions to init

* Added Btech data module

* Added btech tests

* Move split functions into a util module

* Modified mvtec

* added btech to get-datamodule

* fix typo in btech docstring

* update docstring

* cleanedup dataset download utils

* Address mypy

* modify config files and update readme.md

* Fix dataset path

* WiP: Created make_dataset function

* Renamed folder dataset into custom

* Added custom dataset tests

* updated config.yaml file to show custom dataset is available

* Added custom dataset to get_datamodule

* Address PR comments

* fix dataset path

* Debugging the ci

* Fixed folder dataset tests

* Added code quality checks back to the ci

* Added code coverage back to pre-merge tests

* Do not import openvino at the top level. Cause some import issues when openvino is not install

* Move nncf to openvino-requirements.txt

* Move opencv to base requirements.txt/

* Added extension as an option when saving the result images.

* Added an extension check

* python verion 3.7

* Added opencv contrib python

* reverted visualizer callback

* Convert bmp images to png after downloading btech dataset.

* pylint

* ignore arguments differ

* Version to 0.2.5

* Ignore arguments-differ

* loosen pandas version

* import openvino with absolute import

* Added torchtext to requirements for kaggle support
* Fix classification label bug in folder dataset

* bump black to 22.3.0

* bump black to 22.3.0

* format with new black
* Added MVTec license

* Renamed MVTec as MVTec AD
* remove `save_to_csv` flag from config __init__

* Removed `save_to_csv` from config files

* Added csv option to logger in the config files

* Add csv tests to logger tests

* remove save to csv callback

* 🛠 Modify `get_loggers` function to also get csv logger.

* ✏️ Remove blank line.
* Refactor test

* fix key issue

* Change from Path to str

* Check for empty path

* Set default path to None
Co-authored-by: LukasBommes <[email protected]>
* fix visualization of fully defected masks

* add test case

Co-authored-by: Samet Akcay <[email protected]>
@ashwinvaidya17 ashwinvaidya17 merged commit a70b156 into ashwinvaidya17:development Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants