torch 导出onnx RuntimeError: Exporting the operator _convolution_mode to ONNX opset version 12 is not supported

self.conv1 = nn.Conv1d(in_channels=self.input_channel, out_channels=num_filters,
kernel_size=3, stride=1,padding='valid')

不支持valid,same

去掉可以转换

posted @ 2022-09-27 11:40  刘文华  阅读(1006)  评论(0编辑  收藏  举报