未验证 提交 fab463f4 编写于 作者: B Bubbliiiing 提交者: GitHub

Update yolo_training.py

上级 37a3a518
......@@ -418,7 +418,7 @@ class Generator(object):
dy = place_y[index]
new_image = Image.new('RGB', (w,h), (128,128,128))
new_image.paste(image, (dx, dy))
image_data = np.array(new_image)/255
image_data = np.array(new_image)
index = index + 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册