diff --git a/ppdet/data/transform/operators.py b/ppdet/data/transform/operators.py index 01af29ffc4f481e4e044979542ca1d4387c56374..c88ca89695df42c9b50b28e55473a70ba37d1241 100644 --- a/ppdet/data/transform/operators.py +++ b/ppdet/data/transform/operators.py @@ -457,6 +457,10 @@ class GridMask(BaseOperator): @register_op class RandomDistort(BaseOperator): """Random color distortion. + Note: + The 'probability' in [lower, upper, probability] is the probability of not using this transformation, + not the probability of using this transformation. And this only applies in this operator(RandomDistort), + 'probability' in other BaseOperator means the probability of using that transformation. Args: hue (list): hue settings. in [lower, upper, probability] format. saturation (list): saturation settings. in [lower, upper, probability] format.