You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 7, 2025. It is now read-only.
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
Describe the bug
Error: Could not infer shapes: unsupported: Reshape with shape containing a -1 elementTo 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=1Expected behavior
It to prepare the model