Describe the bugError: Could not infer shapes: unsupported: Reshape with shape containing a -1 element
To Reproduce
Using onnx-clip model which you can grab at https://lakera-clip.s3.eu-west-1.amazonaws.com/clip_image_model_vitb32.onnx (about 336 MiB)
$ nnx prepare -i data/clip_image_model_vitb32.onnx data/clip_image_model_vitb32.onnx.prepared --set image_batch_size=1
Describe the bug
Error: Could not infer shapes: unsupported: Reshape with shape containing a -1 element
To Reproduce Using onnx-clip model which you can grab at
https://lakera-clip.s3.eu-west-1.amazonaws.com/clip_image_model_vitb32.onnx
(about 336 MiB)$ nnx prepare -i data/clip_image_model_vitb32.onnx data/clip_image_model_vitb32.onnx.prepared --set image_batch_size=1
Expected behavior It to prepare the model