Skip to content

Error in step tidy: "Error Node (/Unsqueeze) has input size 2 not in range [min=1, max=1]" #802

Answered by MFJI
MFJI asked this question in Q&A
Discussion options

You must be logged in to vote

It seems like a version problem. If I use brevitas==0.7.1, torch==1.8.2, torchvision==0.9.2, onnx==1.11.0,onnxoptimizer==0.2.0 and use code bo.export_finn_onnx(model.module.cpu(), (1,3,224,224),'./xxx.onnx') to export and it works. I am considering it as a torch version problem. I will try whether a higher version of brevitas and onnx works or not.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fpjentzsch
Comment options

Answer selected by fpjentzsch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants