Git Product home page Git Product logo

Comments (5)

wang-xinyu avatar wang-xinyu commented on July 3, 2024

Have you tried the official model?

from tensorrtx.

HengLoveYi avatar HengLoveYi commented on July 3, 2024

Have you tried the official model?

Yes, I used the yolov8 official weight pt(yolov8s-seg.pt) to convert

from tensorrtx.

wang-xinyu avatar wang-xinyu commented on July 3, 2024

@Rex-LK Please take a look.

from tensorrtx.

RaidenCJ avatar RaidenCJ commented on July 3, 2024

我用官方模型(640 X 640)和自己做的模型(640 X 640)不会报这个错误,用自己做的模型(960 X 960)也报这个错误:
[11/20/2023-15:58:28] [E] [TRT] 4: [shapeContext.cpp::nvinfer1::builder::reshapeCanFaultHelper::<lambda_87ad3b929fe52b49c0129bfe558f8fdd>::operator ()::3546] Error Code 4: Shape Error (reshape changes volume. Reshaping [32,120,120] to [32,6400].)
[11/20/2023-15:58:28] [E] [TRT] 4: [network.cpp::nvinfer1::Network::validate::2977] Error Code 4: Internal Error (Could not compute dimensions for (Unnamed Layer* 317) [Shuffle]_output, because the network is not valid.)

请问是需要修改哪边适配别的模型输入尺寸吗?

from tensorrtx.

HengLoveYi avatar HengLoveYi commented on July 3, 2024

我用官方模型(640 X 640)和自己做的模型(640 X 640)不会报这个错误,用自己做的模型(960 X 960)也报这个错误: [11/20/2023-15:58:28] [E] [TRT] 4: [shapeContext.cpp::nvinfer1::builder::reshapeCanFaultHelper::<lambda_87ad3b929fe52b49c0129bfe558f8fdd>::operator ()::3546] Error Code 4: Shape Error (reshape changes volume. Reshaping [32,120,120] to [32,6400].) [11/20/2023-15:58:28] [E] [TRT] 4: [network.cpp::nvinfer1::Network::validate::2977] Error Code 4: Internal Error (Could not compute dimensions for (Unnamed Layer* 317) [Shuffle]_output, because the network is not valid.)

请问是需要修改哪边适配别的模型输入尺寸吗?

maybe you can try to modify the config.h file in src directory
Screenshot from 2023-11-22 16-35-45

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.