Giter Site home page Giter Site logo

Comments (6)

SeanLiu081 avatar SeanLiu081 commented on May 28, 2024

the onnx/trt result :
image

the pytorch result:
image

from spiga.

edmosRovi avatar edmosRovi commented on May 28, 2024

Hello, I'm interested in how to convert the modelo to ONNX formato. I have try it but my ONNX modelo nota works, fails in the execution. Please could you tell me how do you get the ONNX model??
I opened an issue here but nobody answer me yet:
#4

from spiga.

john09282922 avatar john09282922 commented on May 28, 2024

Hi, can u share onnx file?

from spiga.

edmosRovi avatar edmosRovi commented on May 28, 2024

Sure, I leave a link with two onnx I did when I tested it, one using opset16 and the other opset 17. Any help you can give me to make this network work in onnx will be welcome. Thank you very much.

https://we.tl/t-AEaFfgzM7P

from spiga.

john09282922 avatar john09282922 commented on May 28, 2024

Thanks for open-sourcing this great work. I have encountered a problem now. When I convert the model to onnx and tensorrt, the landmark result of trt/onnx is different from the result of pytorch model. I find the problem is self.conv_window in onnx,you can see the result before self.conv_window and after self.conv_window. I print the crops[0, :5, :5] before self.conv_window[0] of torch and onnx,they are same, image image After self.conv_window[0],the visual_fts[0,:5,:5] are different, image image

Hi, sean, Did u solve this problem? would you mind sharing onnx file??

from spiga.

lokeycookie avatar lokeycookie commented on May 28, 2024

@SeanLiu081
is it possible for you to share what steps you took to generate the onnx files?

from spiga.

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.