keras-multiprocess-image-data-generator icon indicating copy to clipboard operation
keras-multiprocess-image-data-generator copied to clipboard

Is the function same as fit_generator in keras

Open Zhangs7117 opened this issue 5 years ago • 1 comments

I notice that in Keras, the function fit_generator has the parameters like workers and use_multiprocessing, the document said

Boolean. If True, use process-based threading. If unspecified, use_multiprocessing will default to False. Note that because this implementation relies on multiprocessing, you should not pass non-picklable arguments to the generator as they can't be passed easily to children processes.https://keras.io/models/model/#fit_generator

Zhangs7117 avatar Apr 28 '19 04:04 Zhangs7117

fit_generator is deprecated, use the regular model.fit, it accepts generators as well

trabenx avatar Dec 29 '21 07:12 trabenx