Albumentations >= 1.0.3 (#4068)
Browse files- requirements.txt +1 -1
- utils/augmentations.py +1 -1
requirements.txt
CHANGED
@@ -27,5 +27,5 @@ pandas
|
|
27 |
# extras --------------------------------------
|
28 |
# Cython # for pycocotools https://github.com/cocodataset/cocoapi/issues/172
|
29 |
# pycocotools>=2.0 # COCO mAP
|
30 |
-
# albumentations>=1.0.
|
31 |
thop # FLOPs computation
|
|
|
27 |
# extras --------------------------------------
|
28 |
# Cython # for pycocotools https://github.com/cocodataset/cocoapi/issues/172
|
29 |
# pycocotools>=2.0 # COCO mAP
|
30 |
+
# albumentations>=1.0.3
|
31 |
thop # FLOPs computation
|
utils/augmentations.py
CHANGED
@@ -17,7 +17,7 @@ class Albumentations:
|
|
17 |
self.transform = None
|
18 |
try:
|
19 |
import albumentations as A
|
20 |
-
check_version(A.__version__, '1.0.
|
21 |
|
22 |
self.transform = A.Compose([
|
23 |
A.Blur(p=0.1),
|
|
|
17 |
self.transform = None
|
18 |
try:
|
19 |
import albumentations as A
|
20 |
+
check_version(A.__version__, '1.0.3') # version requirement
|
21 |
|
22 |
self.transform = A.Compose([
|
23 |
A.Blur(p=0.1),
|