Giter Site home page Giter Site logo

Comments (5)

flmello avatar flmello commented on June 16, 2024

So, it comes that my generated model supports just 1 image into the pipeline, against trafficnet that suports more than one. I was setting batch-size with the number of video inputs, and for Yolo I can't do that, it must be set to 1. batch-size=1 at the config file turns to be the correct config.

from deepstream-yolo.

maxgameone avatar maxgameone commented on June 16, 2024

I have encountered the same problem when using the Python API. May I know how to solve it specifically

from deepstream-yolo.

flmello avatar flmello commented on June 16, 2024

It comes that my Yolo model was trained with just 1 batch, and I was setting batch-size, at config file, to 2 or more. I had to keep it to 1. By changing this, it solved my error.

from deepstream-yolo.

marcoslucianops avatar marcoslucianops commented on June 16, 2024

You exported the model with --batch 1. Set it --dynamic or set the number of the batch-size using --batch in the exporter file.

from deepstream-yolo.

flmello avatar flmello commented on June 16, 2024

Now I exported the model will --dynamic. I set nvstreammux "batch-size" to 2, and set the nvinfer pgie "batch-size" to 2. Just in case, I also set the config_infer_primary.txt with batch-size=2.

However, the pipeline doesn't run, it says "Backend has maxBatchSize 1 whereas 2 has been requested".

So, either the exporting script is not exporting batch sizes greater than 1, or the is something being wrongly set in the pipeline script. Do you have any suggestions?

from deepstream-yolo.

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.