Giter Club home page Giter Club logo

Comments (8)

iwanggp avatar iwanggp commented on May 18, 2024 1

这个用trtexec 命令转换还是有点问题的,现在用代码转换就没问题了。需要重新写一个动态onnx转换的功能就能解决了。用trtexec命令转还是要谨慎。

from tensorrt-alpha.

FeiYull avatar FeiYull commented on May 18, 2024

@iwanggp
编译动态onnx的时候,需要设置最大batch_size,例如:将--maxShapes=images:8x3x640x640 修改成:--maxShapes=images:9x3x640x640

from tensorrt-alpha.

iwanggp avatar iwanggp commented on May 18, 2024

那使用不同版本的trtexec转换也会有影响吧

from tensorrt-alpha.

iwanggp avatar iwanggp commented on May 18, 2024

我之前有个YOLOv8工程用了同样的方法,批处理推理可以成功,但是我将我的YOLOv8项目拷贝到其他的地方,或者加载之前训练的权重继续训练,再转trt时候,就只能获得第一张图片的结果。怎么这么奇怪吗

from tensorrt-alpha.

FeiYull avatar FeiYull commented on May 18, 2024

from tensorrt-alpha.

iwanggp avatar iwanggp commented on May 18, 2024

你说必须在原先的机器上吗?我新拉去个工程,从新训练也不行。这么奇怪吗

from tensorrt-alpha.

FeiYull avatar FeiYull commented on May 18, 2024

from tensorrt-alpha.

iwanggp avatar iwanggp commented on May 18, 2024

就是转换必须要在当前机器上进行转换吗?我这是同一个机器就是拷贝同一份再训练发现结果无论如何对不齐,trt只有第一张图片有结果。

from tensorrt-alpha.

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.