plt.plot(history.history["loss"],label="Train loss") plt.plot(history.history["val_loss"],label="Val loss") plt.xlabel("Epochs") plt.ylabel("Accuracy") plt.legend() plt.show() __ __