Mastering TensorFlow 1.x
上QQ阅读APP看书,第一时间看更新

Training the TFLearn Model

After creating, train the model with the model.fit() method:

model.fit(X_train, 
Y_train,
n_epoch=n_epochs,
batch_size=batch_size,
show_metric=True,
run_id='dense_model')