|
|
|
|
|
|
|
|
A.ToGray(p=0.01)], |
|
|
A.ToGray(p=0.01)], |
|
|
bbox_params=A.BboxParams(format='yolo', label_fields=['class_labels'])) |
|
|
bbox_params=A.BboxParams(format='yolo', label_fields=['class_labels'])) |
|
|
|
|
|
|
|
|
logging.info(colorstr('albumentations: ') + ', '.join(f'{x}' for x in self.transform.transforms)) |
|
|
|
|
|
|
|
|
logging.info(colorstr('albumentations: ') + ', '.join(f'{x}' for x in self.transform.transforms if x.p)) |
|
|
except ImportError: # package not installed, skip |
|
|
except ImportError: # package not installed, skip |
|
|
pass |
|
|
pass |
|
|
except Exception as e: |
|
|
except Exception as e: |