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

Iterate over all training data only once per epoch #109

Open
sinitame opened this issue Jun 30, 2020 · 2 comments
Open

Iterate over all training data only once per epoch #109

sinitame opened this issue Jun 30, 2020 · 2 comments

Comments

@sinitame
Copy link

Hi, I'm trying to make some tests using the lidc_exp experiement and I want to iterate over my training data only once per epoch. The actual configuration is iteration throughout a fix number of batches and each batches are picked randomly in the training dataset batch_ixs = np.random.choice(len(class_targets_list), self.batch_size). Which means that some samples can be seen multiple times and others might not be seen at all.

Is there a way to change this in order to go through the training set samples only once per epochs ?

@JXQI
Copy link

JXQI commented May 3, 2021

have you solved it?

@bdzyubak-aiq
Copy link

This could be implemented but is contour to the concept of augmentation. Random samples are pulled and randomly augmented a fixed total number of times in each epoch.

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

No branches or pull requests

3 participants