GithubHelp home page GithubHelp logo

Comments (6)

maxclaey avatar maxclaey commented on June 11, 2024 1

@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.

lucasjinreal avatar lucasjinreal commented on June 11, 2024

@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 avatar ArtyZe commented on June 11, 2024

@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 ?
image
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 avatar ArtyZe commented on June 11, 2024

@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.

austinmw avatar austinmw commented on June 11, 2024

@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.

MoaazAbdulrahman avatar MoaazAbdulrahman commented on June 11, 2024

@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)

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.