-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: pad() got multiple values for argument 'name' #673
Comments
There is a recent fix #650. Please install tensorflow 2.2 and do a source build for onnx-tf. The problem should be resolved. |
Thanks. That solved the issue. |
Is there a way I can fix this problem when using tf 1.x? I need to use tensorflow 1.x version because of some other requirements. Thanks! |
Yes, we will backport the fix into the tf-1.x branch. A PR will be created shortly and a new onnx-tf release should be available in about a week. |
How did you solve the issue? I changed tf to tf1.x. But I got this error. (the major issue is at the last line). Can you tell me how to convert onnx to tensorflow, plz? TypeError Traceback (most recent call last) 8 frames TypeError: pad() got multiple values for argument 'name' |
@HuangGuanbin I am in TensorFlow 2. |
have you solved it? I got same problem in tf1.15 |
I solved it refers to 6685fd4 |
I am trying to convert the PyTorch checkpoints of
tunit
model to TensorFlow using ONNX. I was able to generate the ONNX files but I could not export the TensorFlow file from the ONNX files and ended up with the following error:Here's the Colab Notebook that reproduces the issue. Please note that I used the animalFaces10_0_00 pre-trained checkpoints. I first copied the files from here to my personal Drive, created a folder called animalFaces10_0_00, and copied the files to that folder.
The text was updated successfully, but these errors were encountered: