Code Monkey home page Code Monkey logo

Comments (5)

codylcs avatar codylcs commented on July 22, 2024 1

@codylcs thanks for your reply, but I don't know how to change T..T. Could you please give me the lite_hrnet.py file? S2

i just have uploaded litehrnet.py,u can try now

from lite_hrnet_onnx.

codylcs avatar codylcs commented on July 22, 2024

Thank for your guide,
But when I try convert lite_hrnet with your code with model Lite-HRNet-18, it raise the error:
RuntimeError: Failed to export an ONNX attribute 'onnx::Gather', since it's not constant, please try to make things (e.g., kernel size) static if possible
RuntimeError: Failed to export an ONNX attribute 'onnx::Gather', since it's not constant, please try to make things (e.g., kernel size) static if possible
could you please fix it for me? Thank you very much!

u should chane directly replace the "adaptive_avg_pool2d" with the normal average pooling with a definite pooling size.
Then, it can be converted to onnx format. question here

this change i just have not upload to this rep

from lite_hrnet_onnx.

tucachmo2202 avatar tucachmo2202 commented on July 22, 2024

@codylcs thanks for your reply, but I don't know how to change T..T. Could you please give me the lite_hrnet.py file? S2

from lite_hrnet_onnx.

codylcs avatar codylcs commented on July 22, 2024

@codylcs thanks for your reply, but I don't know how to change T..T. Could you please give me the lite_hrnet.py file? S2

yes, i will upload lite_hrnet.py

from lite_hrnet_onnx.

tucachmo2202 avatar tucachmo2202 commented on July 22, 2024

i just have uploaded litehrnet.py,u can try now

It worked perfectly. Thanks a lot!

from lite_hrnet_onnx.

Related Issues (5)

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.