Confusion about multiprocessing and workers in Keras fit_generator() with windows 10 in spyder Confusion about multiprocessing and workers in Keras fit_generator() with windows 10 in spyder multithreading multithreading

Confusion about multiprocessing and workers in Keras fit_generator() with windows 10 in spyder


The only thing I know is that when use_multiprocessing=False and workers > 1, there are many parallel data loading threads (I'm not really good with these names, threads, processes, etc.). But there are five parallel fronts loading data to the queue (so, loading data is faster, but it doesn't affect the model's speed - this can be good when data loading takes too long).

Whenever I tried use_multiprocessing=True, everything got frozen.