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

πŸš€ V1 #1663

Merged
merged 91 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from 90 commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
49930e8
Merge feature/lightning-version-upgrade to feature/custom-trainer (#1…
ashwinvaidya17 Aug 24, 2023
6dd9cc6
Partially restore tests (#1298)
ashwinvaidya17 Sep 4, 2023
2a726ac
[Custom Trainer] Remove future annotations (#1299)
ashwinvaidya17 Sep 4, 2023
a67d5ad
[Custom Trainer] Refactor postprocessing (#1302)
ashwinvaidya17 Sep 11, 2023
af14bb9
[Custom Trainer] refactor normalization callbacks (#1310)
ashwinvaidya17 Sep 12, 2023
9cf4e60
[Custom Trainer] Refactor thresholding (#1311)
ashwinvaidya17 Sep 13, 2023
384e26b
[Custom Trainer] Refactor Metrics (#1312)
ashwinvaidya17 Sep 14, 2023
de3669a
[Custom Trainer] Refactor visualization callback (#1313)
ashwinvaidya17 Sep 14, 2023
c87ac33
[Custom Trainer] Initial engine design (#1348)
ashwinvaidya17 Sep 22, 2023
87dd7b8
Merge branch 'main' of github.com:openvinotoolkit/anomalib into featu…
Oct 4, 2023
d4fc532
[Custom Trainer] Partially fix tests (#1359)
ashwinvaidya17 Oct 4, 2023
89a7060
[Custom Trainer] Add CLI support (#1381)
ashwinvaidya17 Oct 5, 2023
87cde1c
[Custom Trainer] Partially restore tests (#1391)
ashwinvaidya17 Oct 10, 2023
b438b8d
Add new ruff rules (#1390)
samet-akcay Oct 10, 2023
bb26e3d
Code quality/enable rules (#1394)
samet-akcay Oct 10, 2023
9884ab4
Enable Ruff rules - Part III (#1397)
samet-akcay Oct 11, 2023
bffcecf
Enable Ruff Rules - Part 4 (#1402)
samet-akcay Oct 11, 2023
06be589
[Custom Trainer] Switch to manual optimization for ganomaly (#1404)
djdameln Oct 12, 2023
d88cb3e
Enable Ruff Rules - Part 5 (#1403)
samet-akcay Oct 12, 2023
e4d9a16
[Custom Trainer] Add import checks (#1393)
ashwinvaidya17 Oct 12, 2023
9d81f9d
[Custom Trainer] Remove max epochs > 1 (#1400)
ashwinvaidya17 Oct 13, 2023
18787a4
[Custom Trainer] Add default values (#1395)
ashwinvaidya17 Oct 13, 2023
6615856
Enable Ruff Rules - Part 6 (#1407)
samet-akcay Oct 13, 2023
be3ae27
Enable Ruff Rules - Part 7 (#1408)
samet-akcay Oct 14, 2023
550d67d
Enable Ruff Rules - Part 8 (#1412)
samet-akcay Oct 16, 2023
adf6348
Enable Ruff Rules - Part 9 (#1419)
samet-akcay Oct 16, 2023
5114eeb
Merge main into feature/custom_trainer (#1420)
ashwinvaidya17 Oct 17, 2023
64bc93a
Enable Ruff Rules - Part 10 (#1423)
samet-akcay Oct 17, 2023
969ccfa
Enable Ruff Rules - Part 11 (#1425)
samet-akcay Oct 17, 2023
d608a55
[Custom Trainer] Add a verbose help output structure to the CLI (#1396)
harimkang Oct 17, 2023
57041ea
Add new configs (#1418)
ashwinvaidya17 Oct 18, 2023
fac1b72
Add CLI Tests (#1426)
ashwinvaidya17 Oct 24, 2023
262575a
Restructure test directories. (#1438)
samet-akcay Oct 25, 2023
d26d7b8
Replace black with ruff formatter (#1439)
samet-akcay Oct 26, 2023
e629840
[Custom Trainer] Refactor export (#1440)
ashwinvaidya17 Oct 31, 2023
a665aa5
Add ruff checks to tests (#1455)
ashwinvaidya17 Nov 1, 2023
9eb453d
Add dummy image dataset generator helper class (#1444)
samet-akcay Nov 1, 2023
d4c6ed1
Remove configurable parameters (#1453)
ashwinvaidya17 Nov 8, 2023
a379908
[v1] - Tests: Add datamodule tests. (#1456)
samet-akcay Nov 8, 2023
d90d5ca
[Custom Trainer] Add train subcommand (#1465)
ashwinvaidya17 Nov 9, 2023
2903ec7
Refactor `Tensor` annotation to `torch.Tensor` (#1477)
samet-akcay Nov 15, 2023
5bab848
Refactor tests Part 1 (#1473)
ashwinvaidya17 Nov 17, 2023
9bbab06
Add API tests Part 2 (#1474)
ashwinvaidya17 Nov 17, 2023
0261f0a
Partially migrate unit tests Part 3 (#1480)
ashwinvaidya17 Nov 18, 2023
50eeded
Reorg Part I: Data (#1483)
samet-akcay Nov 20, 2023
cac9453
Reorg Part II: Remove `pre_processor` and `post_processor` subpackage…
samet-akcay Nov 20, 2023
a7fa173
Migrate deploy tests Part 4 (#1481)
ashwinvaidya17 Nov 20, 2023
f606146
Migrate model components unit tests Part 5 (#1482)
ashwinvaidya17 Nov 20, 2023
b5da1ac
Reorg Part III: Move the main anomalib components from `anomalib.util…
samet-akcay Nov 20, 2023
db0a6fc
Migrate tools test Part 6 (#1488)
ashwinvaidya17 Nov 20, 2023
2d12920
🚜 Refactor padim and patchcore models (#1300)
samet-akcay Nov 20, 2023
c5747b9
Migrate unit tests Part 7 (#1490)
ashwinvaidya17 Nov 20, 2023
1081dc5
Fix circular import in cdf normalizer (#1494)
djdameln Nov 21, 2023
6991810
πŸ› οΈ Refactor: Split models to image and video (#1493)
samet-akcay Nov 28, 2023
6ac1403
v1: Update the readme file (#1503)
samet-akcay Nov 28, 2023
52d954e
Extend Engine Tests (#1509)
ashwinvaidya17 Nov 30, 2023
7b78df4
v1: Create the new documentation via `sphinx-design` and `myst` (#1518)
samet-akcay Dec 6, 2023
1c545e1
v1 - πŸ“ Update and Enhance Docstrings (#1532)
samet-akcay Dec 11, 2023
9fadb78
Fix AI-VAD issues (#1524)
djdameln Dec 11, 2023
5749016
πŸ“ v1 - Docs: Create a dedicated section for each model. (#1540)
samet-akcay Dec 13, 2023
faacbb8
Update __init__.py
samet-akcay Jan 2, 2024
03481d9
OpenVINO NNCF updates (#1534)
adrianboguszewski Jan 5, 2024
569320c
[Docs] Add average score to the FastFlow's performance results tables…
willyfh Jan 8, 2024
4734e9f
Update the paper title in CS-FLOW and CFLOW readme (#1579)
blaz-r Jan 8, 2024
3929cef
v1 - [Refactor] Reflect the changes in #1562 into v1 (#1595)
samet-akcay Jan 8, 2024
2e773e1
✏️ Refactor `ExportMode` to `ExportType` (#1594)
samet-akcay Jan 8, 2024
edb7fb7
πŸ“š v1 - Modify the PR template (#1596)
samet-akcay Jan 8, 2024
c9b959f
[Bug] v1: Fix default input normalization method (#1583)
willyfh Jan 8, 2024
e3c0fe5
Modify `Engine.predict` (#1514)
ashwinvaidya17 Jan 9, 2024
ce978dc
Fix issue with incorrect image save location (#1515)
ashwinvaidya17 Jan 9, 2024
4fd953f
Upgrade gradio version to 4.x (#1608)
ashwinvaidya17 Jan 10, 2024
4f0ef6d
✍ InferenceDataset->PredictDataset (#1544)
ashwinvaidya17 Jan 10, 2024
5722730
`FeatureExtractor` -> `TimmFeatureExtractor` (#1543)
ashwinvaidya17 Jan 10, 2024
28d8557
Add `LearningType` and refactor enums (#1598)
djdameln Jan 10, 2024
1117b45
πŸ“˜ Add custom data tutorial (#1571)
samet-akcay Jan 10, 2024
a846dc7
Add URL verification for downloading dataset (#1620)
yunchu Jan 11, 2024
36bdaf1
🐞 v1 - Fix training with mps accelerator (#1618)
samet-akcay Jan 11, 2024
1ff1bc7
Update Engine docstrings (#1549)
ashwinvaidya17 Jan 11, 2024
e27402e
Fixed shape error, allowing arbitary image sizes for EfficientAD
samet-akcay Jan 12, 2024
77b904e
Revert the previous commit
samet-akcay Jan 13, 2024
69184e3
Extend supported models in TimmFeatureExtractor (#1443)
blaz-r Jan 13, 2024
7587d88
πŸ”’ v1 - Address security issues (#1637)
samet-akcay Jan 15, 2024
5220f69
🐞 Fix mps float64 tensor conversion issue (#1644)
samet-akcay Jan 17, 2024
b204c50
🐞 Fix metadata_path arg to metadata in OpenVINO inferencer (#1648)
samet-akcay Jan 17, 2024
ff808e3
πŸ”’ Address path traversal issues (#1643)
samet-akcay Jan 19, 2024
531b6b7
πŸ”’ Add `SECURITY.md` file (#1655)
samet-akcay Jan 22, 2024
1ece3a4
πŸš€ Add zero-/few-shot model support and WinCLIP model implementation (…
djdameln Jan 22, 2024
926bae2
WinCLIP attribution (#1662)
djdameln Jan 23, 2024
7c1e3dc
πŸ”€ Merge main to v1 (#1652)
ashwinvaidya17 Jan 23, 2024
6f79b02
Merge branch 'main' of github.com:openvinotoolkit/anomalib into v1
Jan 23, 2024
3efc0ba
Update license headers
samet-akcay Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ body:
value: |
OS information:
- OS: [e.g. Ubuntu 20.04]
- Python version: [e.g. 3.8.10]
- Python version: [e.g. 3.10.0]
- Anomalib version: [e.g. 0.3.6]
- PyTorch version: [e.g. 1.9.0]
- CUDA/cuDNN version: [e.g. 11.1]
Expand Down
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
## πŸ“ Description

Provide a clear summary of the changes and the issue that has been addressed.

πŸ› οΈ Fixes # (issue number)
- Provide a clear summary of the changes and the issue that has been addressed.
- πŸ› οΈ Fixes # (issue number)

## ✨ Changes

Expand All @@ -13,6 +12,7 @@ Select what type of change your PR is:
- [ ] πŸš€ New feature (non-breaking change which adds functionality)
- [ ] πŸ’₯ Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] πŸ“š Documentation update
- [ ] πŸ”’ Security update

## βœ… Checklist

Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
datasets
pre_trained
!anomalib/datasets
!tests/pre_merge/datasets
results
!anomalib/core/results

# Test-related files and directories
tmp*

# Jupyter Notebooks
notebooks/500_use_cases/501_dobot/
!notebooks/500_use_cases/501_dobot/*.ipynb
Expand Down
34 changes: 12 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
default_language_version:
node: system
node: 18.15.0

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
# list of supported hooks: https://pre-commit.com/hooks.html
- id: trailing-whitespace
Expand All @@ -13,23 +13,21 @@ repos:
- id: debug-statements
- id: detect-private-key

# python code formatting
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black

# Ruff version.
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.275"
rev: "v0.1.5"
hooks:
# Run the linter.
- id: ruff
exclude: "tests"
exclude: "tests/legacy"
args: ["--fix"]
# Run the formatter
- id: ruff-format
exclude: "tests/legacy"

# python static type checking
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.4.1"
rev: "v1.7.0"
hooks:
- id: mypy
additional_dependencies: [types-PyYAML]
Expand All @@ -39,25 +37,17 @@ repos:
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
hooks:
- id: nbqa-black
- id: nbqa-ruff
# Ignore unsorted imports. This is because jupyter notebooks can import
# packages in a different order than the rest of the codebase.
args: ["--ignore=I001"]
args: ["--ignore=D100,D407,I001"]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode
rev: v3.1.0
hooks:
- id: prettier

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.35.0
rev: v0.37.0
hooks:
- id: markdownlint

- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
hooks:
- id: bandit
args: ["-c", ".ci/ipas_default.config"]
additional_dependencies: ["bandit"]
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ formats:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: requirements/docs.txt
- requirements: docs/requirements.txt
- method: pip
path: .
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### Changed

- Changed default inference device to AUTO in https://github.com/openvinotoolkit/anomalib/pull/1534

### Deprecated

- Support only Python 3.10 and greater in https://github.com/openvinotoolkit/anomalib/pull/1299

### Fixed

## [v0.7.0] - 2023-08-28
Expand Down
Loading
Loading