File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
python/paddle/vision/transforms Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -848,13 +848,13 @@ class ColorJitter(BaseTransform):
848
848
"""Randomly change the brightness, contrast, saturation and hue of an image.
849
849
850
850
Args:
851
- brightness: How much to jitter brightness.
851
+ brightness (float) : How much to jitter brightness.
852
852
Chosen uniformly from [max(0, 1 - brightness), 1 + brightness]. Should be non negative numbers.
853
- contrast: How much to jitter contrast.
853
+ contrast (float) : How much to jitter contrast.
854
854
Chosen uniformly from [max(0, 1 - contrast), 1 + contrast]. Should be non negative numbers.
855
- saturation: How much to jitter saturation.
855
+ saturation (float) : How much to jitter saturation.
856
856
Chosen uniformly from [max(0, 1 - saturation), 1 + saturation]. Should be non negative numbers.
857
- hue: How much to jitter hue.
857
+ hue (float) : How much to jitter hue.
858
858
Chosen uniformly from [-hue, hue]. Should have 0<= hue <= 0.5.
859
859
keys (list[str]|tuple[str], optional): Same as ``BaseTransform``. Default: None.
860
860
You can’t perform that action at this time.
0 commit comments