김성주

fixed minor error

......@@ -114,7 +114,7 @@ with tf.Session() as sess:
loss_total, loss_xy, loss_wh, loss_conf, loss_class = AverageMeter(), AverageMeter(), AverageMeter(), AverageMeter(), AverageMeter()
### train part
for i in trange(args.train_batch_num+1):
for i in trange(args.train_batch_num):
_, __y_pred, __y_true, __loss, __global_step, __lr = sess.run(
[train_op, y_pred, y_true, loss, global_step, learning_rate],
feed_dict={is_training: True})
......
......@@ -1770,7 +1770,7 @@
" loss_total, loss_xy, loss_wh, loss_conf, loss_class = AverageMeter(), AverageMeter(), AverageMeter(), AverageMeter(), AverageMeter()\n",
"\n",
" ### train part\n",
" for i in trange(train_batch_num+1):\n",
" for i in trange(train_batch_num):\n",
" _, __y_pred, __y_true, __loss, __global_step, __lr = sess.run(\n",
" [train_op, y_pred, y_true, loss, global_step, learning_rate],\n",
" feed_dict={is_training: True})\n",
......