We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92b06ab commit 4c58433Copy full SHA for 4c58433
lite/operators/roi_perspective_transform_op.cc
@@ -32,7 +32,7 @@ bool RoiPerspectiveTransformOp::CheckShape() const {
32
<< "The format of input tensor must be NCHW. But received input dims is: "
33
<< x_dims;
34
auto rois_dims = param_.rois->dims();
35
- CHECK_EQ(rois_dims.size(), 1UL)
+ CHECK_EQ(rois_dims.size(), 2UL)
36
<< "ROIs should be a 2-D LoDTensor of shape (num_rois, 8) given as [[x0, "
37
"y0, x1, y1, x2, y2, x3, y3], ...]. But received rois dims: "
38
<< rois_dims;
0 commit comments