Code Monkey home page Code Monkey logo

Comments (5)

szalpal avatar szalpal commented on July 4, 2024

Hello @scuizhibin !
If I understood you correctly, you would like to process an image with an object detection network and then process the same image with DALI, e.g. crop to extract the object itself.

There's no problem with this kind of processing. All you need to do is to put together a model ensemble, where the first model in the ensemble would be the object detection network, followed by DALI model. As always, the input to DALI pipeline should be a fn.external_source operator, which name parameter should match the name assigned to input in config.pbtxt file of the model.

from dali_backend.

tp-nan avatar tp-nan commented on July 4, 2024

process an image with an object detection network and then process the same image with DALI, e.g. crop to extract the object itself.
hope there are some examples

from dali_backend.

banasraf avatar banasraf commented on July 4, 2024

Hi @ShiyangZhang
Currently we don't have any examples of DALI used of post-processing in Triton.
Although, configuring Triton ensemble with DALI as post-processing part shouldn't be much different from the configuring it with DALI for pre-processing. We have examples of the latter (e.g. Inception model).
If you encounter any specific problem setting up such use-case, I will be happy to help.

from dali_backend.

tp-nan avatar tp-nan commented on July 4, 2024

Hi @ShiyangZhang
Currently we don't have any examples of DALI used of post-processing in Triton.
Although, configuring Triton ensemble with DALI as post-processing part shouldn't be much different from the configuring it with DALI for pre-processing. We have examples of the latter (e.g. Inception model).
If you encounter any specific problem setting up such use-case, I will be happy to help.

Thanks for your reply.
In fact, I`m wondering if I can use it instand of deepstream. More over, I hope there is only one pipeline, owning all models.
example:2 detectors in cascaded mode

from dali_backend.

JanuszL avatar JanuszL commented on July 4, 2024

Hi @ShiyangZhang,

I think this question is more related to how to do the inference using TRITON instead of DeepStream, than how to use the DALI backend.
DALI backend is used to accelerate data processing, and from what I see in the mentioned example the only data processing defined explicitly is video decoding. In the case of the DALI backend it is not possible to decode a stream of data. What I recommend doing is to check DeepStream with TRITON guide.

from dali_backend.

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.