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

[Update] Infinite Sampler #1508

Draft
wants to merge 2 commits into
base: 0.x
Choose a base branch
from
Draft

Conversation

dreamerlin
Copy link
Collaborator

@dreamerlin dreamerlin commented Mar 10, 2022

Add InfiniteSampler and InfiniteEpochBasedRunner

The workers of dataloader will re-initialize when the iterator of dataloader is created. InfiniteSampler is designed to avoid these time-consuming operations since the iterator with InfiniteSampler will never reach the end.

@cir7 cir7 deleted the branch open-mmlab:0.x April 10, 2023 12:26
@cir7 cir7 closed this Apr 10, 2023
@cir7 cir7 reopened this Apr 10, 2023
@cir7 cir7 changed the base branch from master to 0.x April 10, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants