From e65f23a788b4033cfbb928b0699ff7184bb6c1ee Mon Sep 17 00:00:00 2001 From: Channingss Date: Wed, 16 Dec 2020 08:43:41 +0000 Subject: [PATCH] fix conv_transpose --- x2paddle/op_mapper/onnx2paddle/opset9/opset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x2paddle/op_mapper/onnx2paddle/opset9/opset.py b/x2paddle/op_mapper/onnx2paddle/opset9/opset.py index ead2370..250d9a1 100644 --- a/x2paddle/op_mapper/onnx2paddle/opset9/opset.py +++ b/x2paddle/op_mapper/onnx2paddle/opset9/opset.py @@ -1564,7 +1564,7 @@ class OpSet9(): ) * strides[1] - 2 * paddings[1] + dilations[1] * ( kernel_shape[1] - 1) + 1 + out_padding[1] attr = { - 'num_filters': num_out_channels, + 'num_filters': num_out_channels * num_groups, 'output_size': output_size or None, 'filter_size': kernel_shape, 'padding': paddings, -- GitLab