Open Sumered opened 3 years ago
Hi @Sumered,
Batch in DALI is implicit and you cannot iterate over samples inside the pipeline definition and simply create a batch appending samples. DALI doesn't support changing the batch size inside the pipeline, however, long term this could be a case for you:
Now what I could advise you is to try out python TRITON backend.
I'm trying to implement somehow more complicated pipeline using Dali and Triton, I want for it to look like this:
Is it possible to do this in such way? Right now I'm stuck at trying to get number of bboxes from first neural network predictions so I can iterate over those bboxes. It seems that it is impossible to get DataNode as int, and use it in for loop. Code for the second Dali element looks like this:
Error that I'm getting is: