📌  相关文章
📜  fit_generator() 得到了一个意外的关键字参数 'samples_per_epoch' - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:30.198000             🧑  作者: Mango

代码示例1
history_object = model.fit_generator(train_generator, 
                                     steps_per_epoch=samples_per_epoch,
                                      validation_data=validation_generator,
                                      validation_steps=nb_val_samples, 
                                     epochs=nb_epoch, verbose=1,
                                     callbacks=callbacks_list)