pytorch2keras icon indicating copy to clipboard operation
pytorch2keras copied to clipboard

AttributeError: Cannot convert ConvTranspose2d with output_padding != 0

Open jaggernaut007 opened this issue 4 years ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Snippet of your code

Expected behavior A clear and concise description of what you expected to happen.

Logs If applicable, add error message to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. iOS] Ubuntu
  • Python [e.g. Python 2, Python 3] : Python3
  • Version [e.g. v0.1.11] Latest

Additional context DEBUG:onnx2keras:convtranpose:ConvTranspose without bias Traceback (most recent call last): File "src/margipose/bin/export_model.py", line 64, in main() File "src/margipose/bin/export_model.py", line 57, in main k_model = pytorch_to_keras(model,input_var,verbose=True) File "/home/shreyas/.local/lib/python3.8/site-packages/pytorch2keras/converter.py", line 81, in pytorch_to_keras k_model = onnx_to_keras(onnx_model=onnx_model, input_names=input_names, File "/home/shreyas/.local/lib/python3.8/site-packages/onnx2keras/converter.py", line 174, in onnx_to_keras AVAILABLE_CONVERTERS[node_type]( File "/home/shreyas/.local/lib/python3.8/site-packages/onnx2keras/convolution_layers.py", line 289, in convert_convtranspose raise AttributeError('Cannot convert ConvTranspose2d with output_padding != 0') AttributeError: Cannot convert ConvTranspose2d with output_padding != 0

jaggernaut007 avatar May 25 '20 08:05 jaggernaut007

Any updates on this? Thanks in advance.

frytoli avatar Mar 13 '22 14:03 frytoli