defining the samples per epoch = 233 and nb_val_samples = 62 and epochs =4 then in am getting the error
Type-error: fit_generator() got an unexpected keyword argument 'samples_per_epoch'
What caused this error and how to solve it?
history_object = model.fit_generator(train_generator,
samples_per_epoch=samples_per_epoch,
validation_data=validation_generator,
nb_val_samples=nb_val_samples,
nb_epoch=nb_epoch, verbose=1,
callbacks=callbacks_list)
```