首页 > 其他分享 >TypeError: fit() got an unexpected keyword argument 'nb_epoch'

TypeError: fit() got an unexpected keyword argument 'nb_epoch'

时间:2023-11-02 11:05:17浏览次数:48  
标签:TypeError just fit keyword nb epoch unexpected verbose

model.fit(trainX, trainY, nb_epoch=200, batch_size=2, verbose=2)

 

It's just epochs now. nb_epoch was deprecated years ago.

 

把 nb_epoch



标签:TypeError,just,fit,keyword,nb,epoch,unexpected,verbose
From: https://blog.51cto.com/emanlee/8142536

相关文章