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

Update yolo_training.py

上级 7a621d24
......@@ -529,7 +529,6 @@ class Generator(object):
targets.append(np.array(y,dtype = np.float32))
if len(targets) == self.batch_size:
tmp_inp = np.array(inputs)
tmp_targets = np.array(targets)
inputs = []
targets = []
yield tmp_inp, tmp_targets
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册