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 修改 为 epochs
标签:TypeError,fit,keyword,nb,epochs,epoch,unexpected,verbose
来源: https://www.cnblogs.com/emanlee/p/14428418.html