Merge pull request #12267 from alalek:dnn_unstable_tests

pull/12272/head
Alexander Alekhin 7 years ago
commit 18833d5121
  1. 6
      modules/dnn/test/test_halide_layers.cpp

@ -113,7 +113,11 @@ TEST_P(Convolution, Accuracy)
bool skipCheck = false; bool skipCheck = false;
if (cvtest::skipUnstableTests && backendId == DNN_BACKEND_OPENCV && if (cvtest::skipUnstableTests && backendId == DNN_BACKEND_OPENCV &&
(targetId == DNN_TARGET_OPENCL || targetId == DNN_TARGET_OPENCL_FP16) && (targetId == DNN_TARGET_OPENCL || targetId == DNN_TARGET_OPENCL_FP16) &&
kernel == Size(3, 1) && stride == Size(1, 1) && pad == Size(0, 1)) (
(kernel == Size(3, 1) && stride == Size(1, 1) && pad == Size(0, 1)) ||
(stride.area() > 1 && !(pad.width == 0 && pad.height == 0))
)
)
skipCheck = true; skipCheck = true;
int sz[] = {outChannels, inChannels / group, kernel.height, kernel.width}; int sz[] = {outChannels, inChannels / group, kernel.height, kernel.width};

Loading…
Cancel
Save