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

Update dataloader.py

上级 b5d65db2
......@@ -112,7 +112,7 @@ class YoloDataset(Dataset):
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.
先完成此消息的编辑!
想要评论请 注册