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

Hyperparameter Evolution: load dataset every time #1864

Closed
TommyZihao opened this issue Jan 7, 2021 · 2 comments
Closed

Hyperparameter Evolution: load dataset every time #1864

TommyZihao opened this issue Jan 7, 2021 · 2 comments
Labels

Comments

@TommyZihao
Copy link
Contributor

when run train.py --evolve, the code will load and analyze datasets every time before training.
On default, it will load 300 times.
As we all know, these are absolutely the same dataset, no need to load and analyze again and again. This will waste a lot of time.

Can we figure out a solution to solve this?

@TommyZihao TommyZihao added the bug Something isn't working label Jan 7, 2021
@glenn-jocher glenn-jocher removed the bug Something isn't working label Jan 7, 2021
@glenn-jocher
Copy link
Member

The train() function within train.py operates independently each run, therefore treating each evolution training identically to a normal training, simplifying the codebase.

Dataset scanning only occurs on first use or modification of a dataset.

Dataset loading occurs constantly throughout training every batch, this is normal unless --cache is used. --cache has already been multithreaded and should not present a time constraint should you opt to use it.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants