提交 5845f8f2 编写于 作者: L LutaoChu 提交者: wuzewu

fix color jitter bug (#119)

上级 d47b726c
......@@ -327,7 +327,7 @@ def random_jitter(cv_img, saturation_range, brightness_range, contrast_range):
brightness_ratio = np.random.uniform(-brightness_range, brightness_range)
contrast_ratio = np.random.uniform(-contrast_range, contrast_range)
order = [1, 2, 3]
order = [0, 1, 2]
np.random.shuffle(order)
for i in range(3):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册