From 5fb2856584d0d0fcde54f86d249c5fc9adab41e5 Mon Sep 17 00:00:00 2001 From: jerrywgz Date: Wed, 16 Jan 2019 13:13:55 +0000 Subject: [PATCH] test_develop --- paddle/fluid/operators/detection/box_clip_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/detection/box_clip_op.cc b/paddle/fluid/operators/detection/box_clip_op.cc index 1e6ad7cbb3..609bd5606b 100644 --- a/paddle/fluid/operators/detection/box_clip_op.cc +++ b/paddle/fluid/operators/detection/box_clip_op.cc @@ -35,7 +35,7 @@ class BoxClipOp : public framework::OperatorWithKernel { "The last dimension of InputBox must be 4"); PADDLE_ENFORCE_EQ(im_info_dims.size(), 2, "The rank of Input(InputBox) in BoxClipOp must be 2"); - PADDLE_ENFORCE_EQ(im_info_dims[1], 2, + PADDLE_ENFORCE_EQ(im_info_dims[1], 3, "The last dimension of ImInfo must be 3"); } ctx->ShareDim("InputBox", /*->*/ "OutputBox"); -- GitLab