Skip to content

Commit 4c58433

Browse files
committed
test=develop
1 parent 92b06ab commit 4c58433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lite/operators/roi_perspective_transform_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ bool RoiPerspectiveTransformOp::CheckShape() const {
3232
<< "The format of input tensor must be NCHW. But received input dims is: "
3333
<< x_dims;
3434
auto rois_dims = param_.rois->dims();
35-
CHECK_EQ(rois_dims.size(), 1UL)
35+
CHECK_EQ(rois_dims.size(), 2UL)
3636
<< "ROIs should be a 2-D LoDTensor of shape (num_rois, 8) given as [[x0, "
3737
"y0, x1, y1, x2, y2, x3, y3], ...]. But received rois dims: "
3838
<< rois_dims;

0 commit comments

Comments
 (0)