Skip to content

Commit ae0b0d5

Browse files
committed
fix doc. test=develop
1 parent 56e21c5 commit ae0b0d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/fluid/operators/yolov3_loss_op.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class Yolov3LossOpMaker : public framework::OpProtoAndCheckerMaker {
121121
"mask for calculate objectness loss in gradient kernel.")
122122
.AsIntermediate();
123123
AddOutput("GTMatchMask",
124-
"This is an intermediate tensor with shape if [N, B], "
124+
"This is an intermediate tensor with shape of [N, B], "
125125
"B is the max box number of GT boxes. This parameter caches "
126126
"matched mask index of each GT boxes for gradient calculate.")
127127
.AsIntermediate();
@@ -175,7 +175,7 @@ class Yolov3LossOpMaker : public framework::OpProtoAndCheckerMaker {
175175
thresh, the confidence score loss of this anchor box will be ignored.
176176
177177
Therefore, the yolov3 loss consist of three major parts, box location loss,
178-
confidence score loss, and classification loss. The L1 loss is used for
178+
confidence score loss, and classification loss. The L2 loss is used for
179179
box coordinates (w, h), and sigmoid cross entropy loss is used for box
180180
coordinates (x, y), confidence score loss and classification loss.
181181

0 commit comments

Comments
 (0)