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

Update dataloader.py

上级 0a34b171
......@@ -98,8 +98,6 @@ class YoloDataset(Dataset):
return image_data, []
def __getitem__(self, index):
if index == 0:
shuffle(self.train_lines)
lines = self.train_lines
n = self.train_batches
index = index % n
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册