Describe the bug
A clear and concise description of what the bug is.
To ReproduceSnippet 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
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):
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