[onnx2keras] [nfnets] AttributeError: 'tuple' object has no attribute 'ndims' #1025
Unanswered
LamyaMohaned
asked this question in
Q&A
Replies: 1 comment
-
@LamyaMohaned sorry, this is out of the scope that I have spare time to address, I'll move to discussions in case anyone else can help you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I want to convert nfnet (eca_nfnet_l2, dm_nfnet_f3) models from pytorch to keras, so I used pytorch2keras package. Also, I tried converting the model first to onnx using torch.onnx then converting it to keras using keras2onnx alone. But, in the two cases I'm facing this error with onnx2keras:
AttributeError: 'tuple' object has no attribute 'ndims'
I've use these two packages in converting many pytorch models without any problems (resnet, densenet, resnext, efficientnet).
To Reproduce
Steps to reproduce the behavior:
Screenshots
error message:
Desktop (please complete the following information):
Additional context
I'm not sure if onnx2keras supports nfnet models, so do you recommend any other packages?
Beta Was this translation helpful? Give feedback.
All reactions