Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
PET_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김성주
2020-05-17 03:14:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0af1fa34e0bb1a3623ff3e4d9e71458fe01ae55a
0af1fa34
1 parent
033f4743
fixed minor error
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
code/yolov3/train.py
code/yolov3/yolov3.ipynb
code/yolov3/train.py
View file @
0af1fa3
...
...
@@ -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
})
...
...
code/yolov3/yolov3.ipynb
View file @
0af1fa3
...
...
@@ -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
"
,
...
...
Please
register
or
login
to post a comment