-
Notifications
You must be signed in to change notification settings - Fork 58
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
GroundingDINO模型onnx转bmodel报错 #82
Comments
用groudingdino 这个例程提供的mlir版本试试。 |
请问这个是什么原因呢,用的milr版本是readme里的1.9版本。我的dino是微调权重后的,然后直接使用GroundingDINO_Torch将pytorch成功转成了onnx |
我试着转了一下onnx,onnx转bmodel也没问题呢,您这边微调权重有改模型结构吗? |
我用netron看了onnx没有更改模型结构,然后版本已经和您用的一样了,但是现在转bmodel时,在转换过程的最后报错。
|
|
我看你好像是直接在mlir的tools目录下运行的命令,这样可能不太对,正确的操作步骤是找一个空的目录放mlir发布包,然后运行source envsetup.sh设置环境变量。 |
我用了download.sh里提供的GroundingDINO.onnx确实可以正常的转成bmodel,但是如果我使用GroundingDINO_Torch工具将pytorch转成onnx的话就不行,即使用的是官方提供的pth,能请您帮忙看一看吗,这是我的pth和转的onnx,通过dfss下载的GroundingDINO_Torch。
|
我用你的权重转模型也有问题,此问题已提供给mlir工具链团队解决,请耐心等待 |
报下面这个错误
跑的是官方demo,打印onnx节点是有/Constant_2_output_0这个输出节点的
The text was updated successfully, but these errors were encountered: