Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot_loss_accuracy function correction #6

Open
codeja3 opened this issue Jan 9, 2020 · 0 comments
Open

plot_loss_accuracy function correction #6

codeja3 opened this issue Jan 9, 2020 · 0 comments

Comments

@codeja3
Copy link

codeja3 commented Jan 9, 2020

Minor correction in function plot_loss_accuracy(history) needed.
Run this on Keras 2.3.1 with correction from
acc = history.history['acc'][-1] to
acc = history.history['accuracy'][-1]

Note that
history.history.keys()
gives:
dict_keys(['loss','accuracy'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant