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

Update utils.py

上级 43d5fe39
......@@ -111,7 +111,7 @@ def get_random_data_with_Mosaic(annotation_line, input_shape, max_boxes=50, hue=
index = 0
place_x = [0,0,int(w*min_offset_x),int(w*min_offset_x)]
place_y = [0,int(h*min_offset_y),int(w*min_offset_y),0]
place_y = [0,int(h*min_offset_y),int(h*min_offset_y),0]
for line in annotation_line:
# 每一行进行分割
line_content = line.split()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册