Skip to content

Commit 334f697

Browse files
committed
test=develop
1 parent 3046799 commit 334f697

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

python/paddle/fluid/layers/detection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,9 +2010,10 @@ def box_clip(input, im_info, name=None):
20102010
output = helper.create_variable_for_type_inference(dtype=input.dtype)
20112011
inputs = {"Input": input, "ImInfo": im_info}
20122012
helper.append_op(type="box_clip", inputs=inputs, outputs={"Output": output})
2013-
2013+
20142014
return output
20152015

2016+
20162017
def multiclass_nms(bboxes,
20172018
scores,
20182019
score_threshold,

python/paddle/fluid/tests/test_detection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ def test_box_clip(self):
479479
out = layers.box_clip(input_box, im_info)
480480
self.assertIsNotNone(out)
481481

482+
482483
class TestMulticlassNMS(unittest.TestCase):
483484
def test_multiclass_nms(self):
484485
program = Program()

0 commit comments

Comments
 (0)