未验证 提交 94002d7b 编写于 作者: C Chang Xu 提交者: GitHub

Fix Reader (#1285)

上级 968985e2
......@@ -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.
先完成此消息的编辑!
想要评论请 注册