-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are some operators not supported yet, including einsum, repeat_interleave #1299
Comments
Can you upload your model? |
Please find below the link to download my model https://drive.google.com/file/d/1h2r5q8rZfWEvkTDUiGhnqrtsNQPhM-Fp/view?usp=sharing |
Hello @damopi , we have already added these two operators. You need to pull the latest code and compile it. Please note that due to firewall restrictions, we are unable to download your model and therefore cannot verify the accuracy of the model. You will need to validate it yourself. |
Hello, I compiled and executed the latest code with version 1.2.6 but I get the following result: |
by the way, where can I upload my model so you can verify it? |
发现一个问题,matmul的输入是权重和激活值,但netron中显示matmul的权重是empty tensor,因此我推断在保存静态图过程中出现了错误。你可以尝试使用下列代码导出静态图 x_spec = InputSpec([None, 3, 3], 'float32', name='inputs')
# 使用save_inference_model导出模型
paddle.enable_static()
net.eval()
paddle.jit.save(net, 'model/model', [x_spec]) |
Hi, Executing your code to export my model, I got the following result: File "export_DMP.py", line 158, in forward My code: |
我太不清楚你的业务,如果你无法解决可以问一下文心一言或者ChatGPT |
I am trying to export Segment Anything Model parameters of PaddlePaddle format https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.9.1/contrib/SegmentAnything, using the file included in the following PR https://github.com/PaddlePaddle/PaddleSeg/pull/3291/files. |
Please fill in the information below so that we can solve the problem quickly, Thanks !
Describe the bug
I tried to export model to onnx, and the terminal shows "there are some operator not supported yet..."
Informations (please complete the following information):
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: