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

problem of the “epoch number” #3

Open
GuGuLL123 opened this issue Jun 30, 2022 · 2 comments
Open

problem of the “epoch number” #3

GuGuLL123 opened this issue Jun 30, 2022 · 2 comments

Comments

@GuGuLL123
Copy link

hello !

in main.py,

number_epochs = config['trainer']['epochs']
config['trainer']['epochs'] = int(config['num_images_all'] / config['n_labeled_examples']) * number_epochs

it changes the epoch number of trainer from 80 to 5120. Does the training process need such a large epoch number? or something wrong?

@Dayan-Guan
Copy link
Owner

Dayan-Guan commented Jul 5, 2022

Hi @GuGuLL123 , the epoch number is determined by the number of labeled images in USRN while by the number of all training images in CAC. To ensure the same number of training iterations, USRN increases the epoch number defined in CAC.

@GuGuLL123
Copy link
Author

thanks!

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

2 participants