Updates
This commit is contained in:
@@ -94,10 +94,10 @@ model.compile(loss='binary_crossentropy',optimizer=optimizer,metrics=['accuracy'
|
||||
history=model.fit(train_ds, epochs=epochs, validation_data=val_ds,callbacks=[tensorboard,checkpointer,early_stopping])
|
||||
|
||||
# plot the learning curves
|
||||
pyplot.plot(history.history['accuracy'],label='train')
|
||||
pyplot.plot(history.history['val_accuracy'],label='validation')
|
||||
pyplot.legend()
|
||||
pyplot.show()
|
||||
# pyplot.plot(history.history['accuracy'],label='train')
|
||||
# pyplot.plot(history.history['val_accuracy'],label='validation')
|
||||
# pyplot.legend()
|
||||
# pyplot.show()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user