-
Notifications
You must be signed in to change notification settings - Fork 19
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
multi GPU training doesnt seem to work #6
Comments
in database.py the batch size is set to total batch size (rather than batch size per gpu). this makes _collate_fn return empty batch array. by fixing this i get batches in train.py, but the process now fails with:
|
trying to set |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tested with a single GPU and training works fine. I am not testing with multiple GPUs and i noticed, that the outer bar (counting total number of steps) is not updating. Adding some print statements to the code it seems that the statement in train.py:
for batchs in loader
returns batchs:[], [], [], []
(so empty batches)seems something goes wrong in data loader ?
The text was updated successfully, but these errors were encountered: