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

KeyboardInterrupt in train_net does not kill all processes. #58

Open
omerbrandis opened this issue Feb 22, 2021 · 1 comment
Open

KeyboardInterrupt in train_net does not kill all processes. #58

omerbrandis opened this issue Feb 22, 2021 · 1 comment

Comments

@omerbrandis
Copy link

hi,

pressing ctrl+c during execution of tools/train_net.py does not kill all the spawned processes.
( this later leads to cuda out of memory error on the following re-executions of the train_net ).

:-)
Omer.

@omerbrandis
Copy link
Author

happens for dataloaders.NUM_WORKERS = 4.
when NUM_WORKERS = 1 , keyboard interrupt kills all processes.

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

1 participant