Commit 2f3d616
authored
🔨 Replace
* Add multi random choice transform
* Add DRAEMAugmenter class and Perlin noise generation to new_perlin.py
- Introduced DRAEMAugmenter for advanced image augmentations using torchvision v2.
- Implemented various augmentation techniques including ColorJitter, RandomAdjustSharpness, and custom transformations.
- Added functionality for comparing augmentation methods and visualizing results.
- Included utility functions for metrics computation and image processing.
- Established logging for better traceability of operations.
This commit enhances the image processing capabilities within the Anomalib framework, facilitating more robust anomaly detection workflows.
* Add the new perlin noise
Signed-off-by: Samet Akcay <[email protected]>
* Add the new perlin noise
Signed-off-by: Samet Akcay <[email protected]>
* add generate_perlin_noise relative import
Signed-off-by: Samet Akcay <[email protected]>
* add tiffile as a dependency
Signed-off-by: Samet Akcay <[email protected]>
* Remove upper bound from wandb
Signed-off-by: Samet Akcay <[email protected]>
* Added skimage
Signed-off-by: Samet Akcay <[email protected]>
* add scikit-learn as a dependency
Signed-off-by: Samet Akcay <[email protected]>
* limit ollama to < 0.4.0 as it has breaking changes
Signed-off-by: Samet Akcay <[email protected]>
* Fix data generators in test helpers
Signed-off-by: Samet Akcay <[email protected]>
* Update the perlin augmenters
Signed-off-by: Samet Akcay <[email protected]>
* Fix numpy validator tests caused by numpy upgrade
Signed-off-by: Samet Akcay <[email protected]>
* Fix CS-Flow tests
Signed-off-by: Samet Akcay <[email protected]>
* Fix the tests
Signed-off-by: Samet Akcay <[email protected]>
---------
Signed-off-by: Samet Akcay <[email protected]>imgaug with Native PyTorch Transforms (#2436)1 parent c16f51e commit 2f3d616
File tree
16 files changed
+453
-342
lines changed- src/anomalib
- data
- transforms
- utils
- generators
- models/image
- draem
- dsr
- tests
- helpers
- integration/model
- unit
- data/validators/numpy
- metrics
16 files changed
+453
-342
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
0 commit comments