TypeError: fit() got an unexpected keyword argument 'nb_epoch'
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
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