DALI icon indicating copy to clipboard operation
DALI copied to clipboard

Multiple image simultaneously

Open rachelglenn opened this issue 1 year ago • 1 comments

Describe the question.

Hi. I am using the Dali loader pipeline. How do I pull two different samples from the same ops.readers.Numpy reader? I have tried pulling two images for each step in the epoch and I get an error with the reader. I have tried creating two ops.readers.Numpy instances and I get the same images.

Thanks,

Rachel

Check for duplicates

  • [x] I have searched the open bugs/issues and have found no duplicates for this bug report

rachelglenn avatar Sep 19 '24 15:09 rachelglenn

Hi @rachelglenn,

Thank you for reaching out. It depends on what exactly you want to achieve. You can pass a different seed to each reader, but they are still sampling from the same data set. You can use files to provide a different list of files to each reader, so there will be samples that won't repeat. Is that something you are looking for?

JanuszL avatar Sep 19 '24 15:09 JanuszL