mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
Albumentations >= 1.0.3 (#4068)
This commit is contained in:
parent
ee76a68f1d
commit
7fdcc77bf4
@ -27,5 +27,5 @@ pandas
|
|||||||
# extras --------------------------------------
|
# extras --------------------------------------
|
||||||
# Cython # for pycocotools https://github.com/cocodataset/cocoapi/issues/172
|
# Cython # for pycocotools https://github.com/cocodataset/cocoapi/issues/172
|
||||||
# pycocotools>=2.0 # COCO mAP
|
# pycocotools>=2.0 # COCO mAP
|
||||||
# albumentations>=1.0.2
|
# albumentations>=1.0.3
|
||||||
thop # FLOPs computation
|
thop # FLOPs computation
|
||||||
|
@ -17,7 +17,7 @@ class Albumentations:
|
|||||||
self.transform = None
|
self.transform = None
|
||||||
try:
|
try:
|
||||||
import albumentations as A
|
import albumentations as A
|
||||||
check_version(A.__version__, '1.0.2') # version requirement
|
check_version(A.__version__, '1.0.3') # version requirement
|
||||||
|
|
||||||
self.transform = A.Compose([
|
self.transform = A.Compose([
|
||||||
A.Blur(p=0.1),
|
A.Blur(p=0.1),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user