2023-03-08 16:55:49.501311 [W:onnxruntime:, execution_frame.cc:835 VerifyOutputSizes]…
- User
2023-03-08 16:55:49.501311 [W:onnxruntime:, execution_frame.cc:835 VerifyOutputSizes] Expected shape from model of {-1} does not match actual shape of {10,3} for output label onnx giving me this error
Assistant
The error message you provided indicates that there is a mismatch between the expected shape of an output tensor from your ONNX (Open Neural Network Exchange) model and the actual shape that you are trying to use.
To resolve this issue, you should check the shape of the output tensor that the ONNX model is expecting and make sure it matches the shape that you are trying to use. You can do this by inspecting the ONNX model and looking at the shape of the output tensor in the graph. If the shapes don't match, you may need to modify the ONNX model or the way you are calling it to ensure that the correct shape is being passed in.
Another possibility is that the ONNX model is expecting a batch dimension in the input tensor, and you may need to add an extra dimension to the input tensor to match the expected shape.
In any case, the solution to this issue will depend on the specifics of your ONNX model and how you are using it, so you may need to provide more context or details about your setup to get a more specific answer.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.