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
I use this repo to export a SimpleViT onnx model. And I tried to compile the onnx model with relay but I got the following error.
Check failed: src_idx < ishape.size() (3 vs. 3) :
I thought this was raised by multihead for after changing heads to 1 the error does not occur.
But after I changed the heads to 1, I've got another error.
Check failed: (reporter->AssertEQ(xk, yk)) is false: BatchDot: shapes of x and y is inconsistent, x shape=[1, 64, 1], y shape=[1, 64, 1024]
I think this error is raised by node /transformer/layers.0.1/net/net.0/ReduceMean because it's the last node that relay processed.
I don't know what to solve these problems. Here is my code generating onnx model.
I use this repo to export a SimpleViT onnx model. And I tried to compile the onnx model with relay but I got the following error.
I thought this was raised by multihead for after changing heads to 1 the error does not occur.
But after I changed the heads to 1, I've got another error.
I think this error is raised by node
/transformer/layers.0.1/net/net.0/ReduceMean
because it's the last node that relay processed.I don't know what to solve these problems. Here is my code generating onnx model.
And here is my code to compile the onnx model.
The text was updated successfully, but these errors were encountered: