提交 e41f07ce 编写于 作者: P pennypm 提交者: Zeyu Chen

Update data_aug.py (#40)

fix hsv_color_jitter bug
上级 2d04181b
......@@ -361,7 +361,7 @@ def hsv_color_jitter(crop_img,
if brightness_jitter_ratio > 0 or \
saturation_jitter_ratio > 0 or \
contrast_jitter_ratio > 0:
random_jitter(crop_img, saturation_jitter_ratio,
crop_img = random_jitter(crop_img, saturation_jitter_ratio,
brightness_jitter_ratio, contrast_jitter_ratio)
return crop_img
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册