GithubHelp home page GithubHelp logo

Comments (14)

huaze555 avatar huaze555 commented on June 11, 2024

dcn_v2-onnx.py

from dcnv2_latest.

huaze555 avatar huaze555 commented on June 11, 2024

@CharlesShang
用dcn_v2-onnx.py替换 dcn_v2.py 后,又报另一个错:
RuntimeError: No Op registered for Plugin with domain_version of 9

请问楼主有啥解决方法吗?

from dcnv2_latest.

XinnWang avatar XinnWang commented on June 11, 2024

@huaze555 遇到相同问题,老哥你解决了嘛?

from dcnv2_latest.

scuizhibin avatar scuizhibin commented on June 11, 2024

我也遇到了这个问题,又解决方案吗?

from dcnv2_latest.

mrljwlm avatar mrljwlm commented on June 11, 2024

the same error, anyone can give me some help?
TypeError: symbolic() takes 9 positional arguments but 10 were given (occurred when translating _DCNv2)

from dcnv2_latest.

scuizhibin avatar scuizhibin commented on June 11, 2024

from dcnv2_latest.

mrljwlm avatar mrljwlm commented on June 11, 2024

我的解决了,找了另外一份DCN项目:https://github.com/lbin/DCNv2
将这个项目下的dcn_v2-onnx.py替换https://github.com/lbin/DCNv2中的dcn_v2.py 进行生成,然后导出
我的环境时 pytorch1.7.1+cu110 rtx3090

from dcnv2_latest.

mrljwlm avatar mrljwlm commented on June 11, 2024

我的解决了,找了另外一份DCN项目:https://github.com/lbin/DCNv2
将这个项目下的dcn_v2-onnx.py替换https://github.com/lbin/DCNv2中的dcn_v2.py 进行生成,然后导出
我的环境时 pytorch1.7.1+cu110 rtx3090

又遇到新的错误
RuntimeError: No Op registered for Plugin with domain_version of 12

==> Context: Bad node spec: input: "432" input: "437" input: "438" input: "backbone.layers.1.0.conv2.weight" input: "backbone.layers.1.0.conv2.bias" output: "439" name: "Plugin_31" op_type: "Plugin" attribute { name: "info" s: "{"dilation": [1, 1], "padding": [1, 1], "stride": [2, 2], "deformable_groups": 1}" type: STRING } attribute { name: "name" s: "DCNv2" type: STRING }

from dcnv2_latest.

scuizhibin avatar scuizhibin commented on June 11, 2024

from dcnv2_latest.

mrljwlm avatar mrljwlm commented on June 11, 2024

版本不对。找到配套的版本

---原始邮件--- 发件人: @.> 发送时间: 2021年3月12日(周五) 中午12:29 收件人: @.>; 抄送: @.@.>; 主题: Re: [jinfagang/DCNv2_latest] pytorch转onnx时,报错 (#1) 我的解决了,找了另外一份DCN项目:https://github.com/lbin/DCNv2 将这个项目下的dcn_v2-onnx.py替换https://github.com/lbin/DCNv2中的dcn_v2.py 进行生成,然后导出 我的环境时 pytorch1.7.1+cu110 rtx3090 又遇到新的错误 RuntimeError: No Op registered for Plugin with domain_version of 12 ==> Context: Bad node spec: input: "432" input: "437" input: "438" input: "backbone.layers.1.0.conv2.weight" input: "backbone.layers.1.0.conv2.bias" output: "439" name: "Plugin_31" op_type: "Plugin" attribute { name: "info" s: "{"dilation": [1, 1], "padding": [1, 1], "stride": [2, 2], "deformable_groups": 1}" type: STRING } attribute { name: "name" s: "DCNv2" type: STRING } — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

是pytorch的版本和dcn不匹配吗?

from dcnv2_latest.

scuizhibin avatar scuizhibin commented on June 11, 2024

from dcnv2_latest.

mrljwlm avatar mrljwlm commented on June 11, 2024

你看看你的g. op传进去的参数,然后看看你的源码的参数。

---原始邮件--- 发件人: @.> 发送时间: 2021年3月12日(周五) 中午1:32 收件人: @.>; 抄送: @.@.>; 主题: Re: [jinfagang/DCNv2_latest] pytorch转onnx时,报错 (#1) 版本不对。找到配套的版本 … ---原始邮件--- 发件人: @.> 发送时间: 2021年3月12日(周五) 中午12:29 收件人: @.>; 抄送: @.@.>; 主题: Re: [jinfagang/DCNv2_latest] pytorch转onnx时,报错 (#1) 我的解决了,找了另外一份DCN项目:https://github.com/lbin/DCNv2 将这个项目下的dcn_v2-onnx.py替换https://github.com/lbin/DCNv2中的dcn_v2.py 进行生成,然后导出 我的环境时 pytorch1.7.1+cu110 rtx3090 又遇到新的错误 RuntimeError: No Op registered for Plugin with domain_version of 12 ==> Context: Bad node spec: input: "432" input: "437" input: "438" input: "backbone.layers.1.0.conv2.weight" input: "backbone.layers.1.0.conv2.bias" output: "439" name: "Plugin_31" op_type: "Plugin" attribute { name: "info" s: "{"dilation": [1, 1], "padding": [1, 1], "stride": [2, 2], "deformable_groups": 1}" type: STRING } attribute { name: "name" s: "DCNv2" type: STRING } — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. 是pytorch的版本和dcn不匹配吗? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

torch.onnx.export(net, img, export_path, opset_version=12)
是这个opset_version=12 ?我有其他操作要用到opset_version 12,我在g.op中应怎么指定这个版本?感谢感谢

from dcnv2_latest.

leon5678 avatar leon5678 commented on June 11, 2024

我的解决了,找了另外一份DCN项目:https://github.com/lbin/DCNv2
将这个项目下的dcn_v2-onnx.py替换https://github.com/lbin/DCNv2中的dcn_v2.py 进行生成,然后导出
我的环境时 pytorch1.7.1+cu110 rtx3090

又遇到新的错误
RuntimeError: No Op registered for Plugin with domain_version of 12

==> Context: Bad node spec: input: "432" input: "437" input: "438" input: "backbone.layers.1.0.conv2.weight" input: "backbone.layers.1.0.conv2.bias" output: "439" name: "Plugin_31" op_type: "Plugin" attribute { name: "info" s: "{"dilation": [1, 1], "padding": [1, 1], "stride": [2, 2], "deformable_groups": 1}" type: STRING } attribute { name: "name" s: "DCNv2" type: STRING }

遇到同样的问题,请问您解决了吗?

from dcnv2_latest.

arnoldfychen avatar arnoldfychen commented on June 11, 2024

试试 onnx.export()里增加这个参数指定: enable_onnx_checker=False

from dcnv2_latest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.