Comments (5)
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.
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.
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.
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.
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)
- Failed to open serialized model file: models/dali/1/model.dali HOT 2
- Memory increase when decoding exception occurs HOT 2
- dali backend device parameter setting question HOT 1
- layout parameter to external_source causes assert error HOT 2
- DALI backend not releasing device memory HOT 8
- How to provide mean & stddev to dali.fn.normalize HOT 3
- Error when executing Mixed operator decoders__Image when sending image binary to dali in triton HOT 9
- how to use the numpy data in the DALI HOT 3
- Batching does not improve performance with dali HOT 10
- Can dali backend support default values or optional input? HOT 2
- Unexpected large memory needed for gpu resize HOT 4
- Error in thread 31: nvJPEG error (5): The user-provided allocator functions, for either memory allocation or for releasing the memory, returned a non-zero code. HOT 6
- Cannot compile dali_backend with older version of triton HOT 2
- how to provide batch input data for dali pipeline whicn input shapes [-1] HOT 1
- if I want to crop from different start point, how can I build pipe to do this? HOT 2
- Test issue
- Connecting InputOperator with no explicit inputs to Triton HOT 12
- Could not serialize dali.fn.python_function HOT 1
- when using crop_mirror_normalize func, Output layout "CHW" is slower than "HWC" HOT 5
- dlopen libcuda.so failed!. Please install GPU dirverTraceback (most recent call last): HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dali_backend.