logo-MindMajix
PostKerasKeras
v
veerubhotla sowmithri

Posted on 20th July 2024|20 views

0
votes

Keras Fit Generator

What is the difference between .fit and .fit_generator in Keras?

1 answers
Answers
P
Tom 234

Posted on 20th July 2024| views

When we call .fit()

  • The complete training set can fit within the RAM.
  • It is ok even if we don't use the generators ok Keras.
  • Only raw data will fit into memory.

When we call .fit_generator()

  • Keras first calling the generator function.
  • The generator function gives the batch size 32 to the .fit_generator().
  • The process is repeated for the specified number of epochs.

If you are looking for the Keras certification course, you can check out this Keras course by Mindmajix.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number