DeepSpeech
DeepSpeech copied to clipboard
Handle control-C cleanly in feeding threads
Currently you have to hold Control-C for several seconds until all the threads are killed.
This is basically a nuisance: when you kill a training process it spams the terminal. It'd be nice to fix, but from a cursory glance it requires some hand-holding of Python's multiprocessing module, so I don't think it's enough "bang for buck" for my time on 0.8/1.0. Contributions welcome.
I had the same thought when I saw it, years ago I had to deal with a similar problem for a multi-threaded renderer and it was annoying to deal with.
How about using Control-\ instead?