-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
[MRG] Added message on keyboard interrupt. #7614
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
[MRG] Added message on keyboard interrupt. #7614
Conversation
For what it's worth, I think print makes more sense than warning in this case since it is an explicit action (Keyboard Interrupt) that was taken by the user. I would be in favor of a warning if training were interrupted in a more programmatic way so that the user code could respond more appropriately. |
I'm trained to believe that print to STDOUT without an option is always the wrong thing... |
I have no problem changing it if that's the desired behavior. I'll leave it up to you guys to decide what you want to happen. |
I'm ok with warning. |
Sounds good. I'll make the change this afternoon when I update another PR. |
It seems UserWarning is an appropriate category for this, so I left it as the default. Thoughts? |
seems good to me. |
Merging this one, thanks a lot! |
Reference Issue
Fix #7596
What does this implement/fix? Explain your changes.
Added message to user that training has been interrupted.
Any other comments?
Anything else that should happen besides alerting the user that training was stopped?