Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple image simultaneously #5639

Open
1 task done
rachelglenn opened this issue Sep 19, 2024 · 1 comment
Open
1 task done

Multiple image simultaneously #5639

rachelglenn opened this issue Sep 19, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@rachelglenn
Copy link

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

  • I have searched the open bugs/issues and have found no duplicates for this bug report
@rachelglenn rachelglenn added the question Further information is requested label Sep 19, 2024
@JanuszL
Copy link
Contributor

JanuszL commented Sep 19, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants