Comments (6)
@ArtyZe How did you manage to export to ONNX model? When I try to export to onnx, I get RuntimeError: No Op registered for Plugin with domain_version of 9
Thanks in advance for you help!
from dcnv2_latest.
@ArtyZe DCN's onnx is a custom op not listed on ONNX standard, your visualization result might not accurate. For validation, you can check your onnx inference result using onnx-runtime.
from dcnv2_latest.
@ArtyZe How did you manage to export to ONNX model? When I try to export to onnx, I get
RuntimeError: No Op registered for Plugin with domain_version of 9
Thanks in advance for you help!
Hi, You got see code below in file dcnv2_onnx.py ?
It's a torch supported way to register ops to torch/onnx.
So 1. replace your dcnv2.py file with dcnv2_onnx.py then export model to onnx or 2. add above code to your own code and then export model to onnx
from dcnv2_latest.
@ArtyZe DCN's onnx is a custom op not listed on ONNX standard, your visualization result might not accurate. For validation, you can check your onnx inference result using onnx-runtime.
You are right. It's a tool bug of netron for custom ops. Data exist but netron displays nothing. It's right when I export data of this op with python
from dcnv2_latest.
@maxclaey did you find a solution to this? I'm running into the same issue. @jinfagang Do you happen to know what this error comes from?
edit: Turns out I needed operator_export_type=torch.onnx.OperatorExportTypes.ONNX_ATEN_FALLBACK
in torch.onnx.export()
from dcnv2_latest.
@ArtyZe
I have tried your solution using dcnv2_onnx.py
but I am still facing the same error RuntimeError: No Op registered for Plugin with domain_version of 9
. Could you please share with me the file that you used to convert to onnx.
Thanks.
from dcnv2_latest.
Related Issues (20)
- 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
- error: command '/usr/bin/nvcc' failed with exit code 1
- run in mode CPU,results differente with GPU. fixed
- python3.8+pytorch 1.12.1+cuda 11.8 is ok HOT 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.