Solve your TensorFlow + Multiprocessing woes with forkserver
Posted by Kevin on
Even after decades of hacking with Python, I’m still learning new things. Recently I discovered the forkserver
option in the multiprocessing
library. This is a pretty obscure, low-level setting, but it solved some problems I’ve had trying to use TensorFlow with multiprocessing
.