From c4bebc63714662aa2d7446be1728bb0feca07361 Mon Sep 17 00:00:00 2001 From: nihuini Date: Tue, 3 Sep 2019 14:17:52 +0800 Subject: [PATCH] x86 conv3x3s1 winograd43 produce wrong result, revert to the good-old winograd23 version --- src/layer/x86/convolution_x86.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layer/x86/convolution_x86.cpp b/src/layer/x86/convolution_x86.cpp index 402a9decc..35dae1acd 100644 --- a/src/layer/x86/convolution_x86.cpp +++ b/src/layer/x86/convolution_x86.cpp @@ -105,8 +105,8 @@ int Convolution_x86::create_pipeline(const Option& opt) // conv3x3s1_winograd23_transform_kernel_int8_sse(weight_data, weight_3x3_winograd23_data, num_input, num_output); conv3x3s1_winograd43_transform_kernel_int8_sse(weight_data, weight_3x3_winograd23_data, num_input, num_output); else - // conv3x3s1_winograd23_transform_kernel_sse(weight_data, weight_3x3_winograd23_data, num_input, num_output); - conv3x3s1_winograd43_transform_kernel_sse(weight_data, weight_3x3_winograd43_data, num_input, num_output); + conv3x3s1_winograd23_transform_kernel_sse(weight_data, weight_3x3_winograd23_data, num_input, num_output); +// conv3x3s1_winograd43_transform_kernel_sse(weight_data, weight_3x3_winograd43_data, num_input, num_output); } if (use_int8_inference == false) @@ -616,8 +616,8 @@ int Convolution_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Option if (use_winograd3x3 && outw >= 8 && outh >=8) { - // conv3x3s1_winograd23_sse(bottom_blob_bordered, top_blob, weight_3x3_winograd23_data, bias_data, opt); - conv3x3s1_winograd43_sse(bottom_blob_bordered, top_blob, weight_3x3_winograd43_data, bias_data, opt); + conv3x3s1_winograd23_sse(bottom_blob_bordered, top_blob, weight_3x3_winograd23_data, bias_data, opt); +// conv3x3s1_winograd43_sse(bottom_blob_bordered, top_blob, weight_3x3_winograd43_data, bias_data, opt); } else //conv(bottom_blob_bordered, top_blob, weight_data, bias_data, opt);