-
Notifications
You must be signed in to change notification settings - Fork 378
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
[BUG] #50
Comments
Thanks for your issue! I found it is a bug of onnx optimizers. Would you mind if I share your model with onnx team so that they may try to fix the bug? |
可以
…------------------ 原始邮件 ------------------
发件人: "daquexian"<notifications@github.com>;
发送时间: 2020年3月23日(星期一) 中午1:12
收件人: "daquexian/onnx-simplifier"<onnx-simplifier@noreply.github.com>;
抄送: "corleone"<395934383@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [daquexian/onnx-simplifier] [BUG] (#50)
Thanks for your issue! I found it is a bug of onnx optimizers. Would you mind if I share your model with onnx team so that they may try to fix the bug?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have posted an issue in ONNX repo: onnx/onnx#2677. |
thank you
…------------------ 原始邮件 ------------------
发件人: "daquexian"<notifications@github.com>;
发送时间: 2020年3月23日(星期一) 中午1:27
收件人: "daquexian/onnx-simplifier"<onnx-simplifier@noreply.github.com>;
抄送: "corleone"<395934383@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [daquexian/onnx-simplifier] [BUG] (#50)
I have posted an issue in ONNX repo: onnx/onnx#2677.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@corleonechensiyu As a temporary workaround, you can specify |
好的 我试试
发自我的iPhone
…------------------ Original ------------------
From: daquexian <notifications@github.com>
Date: Mon,Mar 23,2020 2:15 PM
To: daquexian/onnx-simplifier <onnx-simplifier@noreply.github.com>
Cc: corleonechensiyu <395934383@qq.com>, Mention <mention@noreply.github.com>
Subject: Re: [daquexian/onnx-simplifier] [BUG] (#50)
@corleonechensiyu As a temporary workaround, you can specify --skip-optimization when runnin onnxsim
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
#47 may also help you. |
@corleonechensiyu @zhuyu-cs onnx-simplifier v0.2.6 is published. It added "--skip-fuse-bn" to avoid these failures. This issue will be closed and the problem should be tracked in onnx/onnx#2677. |
谢谢大老师! |
daquexian dalao!! |
Describe the bug
Checking 0/3...
Tensor scores changes after simplifying. The max diff is 0.37125229835510254.
Note that the checking is not always correct.
After simplifying:
[[[9.3386704e-01 2.9077111e-03 2.2453293e-03 ... 1.6835716e-03
1.1354900e-03 1.8100661e-03]
[9.4730669e-01 1.0944547e-03 1.0280557e-03 ... 2.2252749e-03
3.2085853e-03 3.3723232e-03]
[9.1126448e-01 4.0056766e-03 2.4932963e-03 ... 5.8777770e-04
2.2106536e-03 1.0412371e-03]
...
[2.5697947e-01 3.6060717e-02 2.1950582e-03 ... 9.7272865e-02
2.8366329e-02 8.7439425e-02]
[2.8084219e-01 2.3728541e-01 3.0571911e-02 ... 7.2766706e-02
1.6120823e-02 6.8334460e-02]
[1.5737572e-01 1.9133696e-03 9.7480938e-03 ... 7.4628435e-02
6.2059723e-03 3.0124951e-02]]]
Before simplifying:
[[[0.86023927 0.00735333 0.00441171 ... 0.00390399 0.00354641 0.00487716]
[0.89039016 0.00274161 0.00309724 ... 0.00576726 0.00513357 0.00982196]
[0.8634894 0.00552442 0.00474672 ... 0.00136774 0.00317875 0.00178858]
...
[0.5530022 0.02890183 0.00509811 ... 0.03678409 0.03503098 0.03874877]
[0.54851794 0.07100447 0.02439926 ... 0.03236982 0.02336247 0.02174926]
[0.508326 0.00574843 0.01278591 ... 0.0319036 0.01349589 0.02038678]]]
Check failed, please be careful to use the simplified model.
Model
已发邮箱
The text was updated successfully, but these errors were encountered: