Comments (14)
dcn_v2-onnx.py
from dcnv2_latest.
@CharlesShang
用dcn_v2-onnx.py替换 dcn_v2.py 后,又报另一个错:
RuntimeError: No Op registered for Plugin with domain_version of 9
请问楼主有啥解决方法吗?
from dcnv2_latest.
@huaze555 遇到相同问题,老哥你解决了嘛?
from dcnv2_latest.
我也遇到了这个问题,又解决方案吗?
from dcnv2_latest.
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.
from dcnv2_latest.
我的解决了,找了另外一份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.
我的解决了,找了另外一份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.
from dcnv2_latest.
版本不对。找到配套的版本
…
---原始邮件--- 发件人: @.> 发送时间: 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.
from dcnv2_latest.
你看看你的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.
我的解决了,找了另外一份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.
试试 onnx.export()里增加这个参数指定: enable_onnx_checker=False
from dcnv2_latest.
Related Issues (20)
- How can I add 'groups' into deformable conv?
- what's ATen? HOT 4
- /DCNv2_latest/src/cpu/dcn_v2_cpu.cpp:7:10: fatal error: TH/TH.h: No such file or directory
- using pytorch1.11, I still can not compile DCNv2 because of #include <ATen/ceil_div.h> HOT 11
- testcuda.py returns error but testcpu.py works
- python 3.7、cuda10.2 pytorch1.7可以吗?为什么我这里报了很多错误 HOT 1
- Export to ONNX HOT 3
- DONT ADD MY WECHAT
- No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
- 使用GPU训练时出现error in modulated_deformable_im2col_cuda: out of memory HOT 2
- DCNv2在TensorRT上的布署plugin能用这个吗?
- 编译DCNv2出现这个错误vision.obj : error LNK2001: 无法解析的外部符号 __imp___tls_index_?init@?1??lazy_init_num_threads@internal@at@@YAXXZ@4_NA
- hi,i have a question
- pytorch1.8可以使用吗,不可以的话需要用哪个版本 HOT 1
- RuntimeError: Not compiled with GPU support HOT 3
- pytorch 1.12.1+python 3.7+cuda 11.8 is ok HOT 1
- Error when run testcuda.py
- No module named '_ext' HOT 2
- Any support to torch2.x CUDA11.7+
- error: command 'g++' failed with exit status 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcnv2_latest.