# 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 |
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), |