Workaround for fluid's color conversion tests failures.Part 2. (#8293)
This commit is contained in:
parent
680e53a005
commit
0071abffdf
@ -974,7 +974,7 @@ TEST_P(ColorConvertYUV420TestIE, AccuracyTest)
|
|||||||
const auto in_layout = Layout::NCHW;
|
const auto in_layout = Layout::NCHW;
|
||||||
auto out_layout = Layout::ANY;
|
auto out_layout = Layout::ANY;
|
||||||
cv::Size size;
|
cv::Size size;
|
||||||
double tolerance = 1.0;
|
double tolerance = 0.0;
|
||||||
std::tie(in_fmt, out_layout, size, tolerance) = GetParam();
|
std::tie(in_fmt, out_layout, size, tolerance) = GetParam();
|
||||||
|
|
||||||
cv::Mat in_mat_y(size, CV_MAKE_TYPE(depth, 1));
|
cv::Mat in_mat_y(size, CV_MAKE_TYPE(depth, 1));
|
||||||
|
@ -280,7 +280,7 @@ INSTANTIATE_TEST_SUITE_P(ColorConvertYUV420Fluid, ColorConvertYUV420TestIE,
|
|||||||
cv::Size( 320, 200),
|
cv::Size( 320, 200),
|
||||||
cv::Size( 300, 300),
|
cv::Size( 300, 300),
|
||||||
cv::Size( 150, 150)),
|
cv::Size( 150, 150)),
|
||||||
Values(0)));
|
Values(1)));
|
||||||
|
|
||||||
INSTANTIATE_TEST_SUITE_P(Reorder_HWC2CHW, ColorConvertTestIE,
|
INSTANTIATE_TEST_SUITE_P(Reorder_HWC2CHW, ColorConvertTestIE,
|
||||||
Combine(Values(CV_8U, CV_32F, CV_16S, CV_16F),
|
Combine(Values(CV_8U, CV_32F, CV_16S, CV_16F),
|
||||||
|
Loading…
Reference in New Issue
Block a user