未验证 提交 0384aa23 编写于 作者: C Chang Xu 提交者: GitHub

Fix Reader (#1286)

上级 b84cceb5
......@@ -99,7 +99,12 @@ def distort_color(img):
return img
def process_image(sample, mode, color_jitter, rotate, crop_size, resize_size):
def process_image(sample,
mode,
color_jitter,
rotate,
crop_size=DATA_DIM,
resize_size=RESIZE_DIM):
img_path = sample[0]
try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册