color aug typo fix

This commit is contained in:
sinofis 2020-10-25 20:16:32 +01:00
commit 2c23b99dfd

View file

@ -200,7 +200,7 @@ class SampleProcessor(object):
# Apply random color transfer # Apply random color transfer
if ct_mode is not None and ct_sample is not None or ct_mode == 'fs-aug': if ct_mode is not None and ct_sample is not None or ct_mode == 'fs-aug':
if 'fs-aug': if ct_mode == 'fs-aug':
img = imagelib.color_augmentation(img) img = imagelib.color_augmentation(img)
else: else:
if ct_sample_bgr is None: if ct_sample_bgr is None: