未验证 提交 4d80a21f 编写于 作者: X xuefei Niu 提交者: GitHub

Add RandomDistort Prob Notes (#7116)

上级 94413f8c
...@@ -457,6 +457,10 @@ class GridMask(BaseOperator): ...@@ -457,6 +457,10 @@ class GridMask(BaseOperator):
@register_op @register_op
class RandomDistort(BaseOperator): class RandomDistort(BaseOperator):
"""Random color distortion. """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: Args:
hue (list): hue settings. in [lower, upper, probability] format. hue (list): hue settings. in [lower, upper, probability] format.
saturation (list): saturation settings. in [lower, upper, probability] format. saturation (list): saturation settings. in [lower, upper, probability] format.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册