Git Product home page Git Product logo

Comments (8)

wang-xinyu avatar wang-xinyu commented on June 7, 2024

You can try to debug it by getting the output of middle layers.

from tensorrtx.

wafaer avatar wafaer commented on June 7, 2024

You can try to debug it by getting the output of middle layers.

Sorry, I'm a newbie, I don't quite understand what you mean, could you be more detailed, thank you.

from tensorrtx.

wang-xinyu avatar wang-xinyu commented on June 7, 2024

For example, you have added 10 layers, from layer1 to layer10, now you only check the output tensor of layer10, and the result is wrong.

For debug purpose, you can first get the output of layer1, to see if the result is correct. If yes, then check layer2.
Check the layer output one by one, until you found which layer has issue.

from tensorrtx.

wafaer avatar wafaer commented on June 7, 2024

For example, you have added 10 layers, from layer1 to layer10, now you only check the output tensor of layer10, and the result is wrong.

For debug purpose, you can first get the output of layer1, to see if the result is correct. If yes, then check layer2. Check the layer output one by one, until you found which layer has issue.

Hello, the modified model is the same as the original model. The Dimensions, DynamicRangeMin, DynamicRangeMax, and AllowedFormats of each layer's tensors are the same. What output should I check? If all the outputs are the same, what should I do?

from tensorrtx.

wang-xinyu avatar wang-xinyu commented on June 7, 2024

Have you check the values of the output tensor for each layer?

from tensorrtx.

wafaer avatar wafaer commented on June 7, 2024

Dimensions、DynamicRangeMin、DynamicRangeMax和AllowedFormats

Yes, I have checked every layer, including tensor Dimensions, DynamicRangeMin, DynamicRangeMax and AllowedFormats. They are all the same. Is it because I checked the tensor output type incorrectly? Let me reiterate my question: engine inference built after modifying the model. Is empty.

from tensorrtx.

wafaer avatar wafaer commented on June 7, 2024

Have you check the values of the output tensor for each layer?

I don’t think we should check the Dimensions output by each layer’s tensor. If it is different from the source model, the engine model will not be generated, but I really don’t know what to check. Do you have any ideas? Specifically, we should check which outputs are wrong and lead to inferential reasoning.

from tensorrtx.

stale avatar stale commented on June 7, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from tensorrtx.

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.