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 prefetch factor default #13

Open
braceal opened this issue Aug 22, 2023 · 0 comments
Open

Update prefetch factor default #13

braceal opened this issue Aug 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@braceal
Copy link
Contributor

braceal commented Aug 22, 2023

Default the prefetch_factor to None

See here:
https://github.com/ramanathanlab/deepdrivemd/blob/main/deepdrivemd/apps/cvae_train/__init__.py#L33

Also, update the config files to use

num_data_workers: 0 # The number of parallel data workers for loading data (performance tuning)
prefetch_factor: null # How many batches each data worker should prefetch (performance tuning)
@braceal braceal added the bug Something isn't working label Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant