Last active
November 10, 2019 21:57
-
-
Save NMZivkovic/d36e4ec6a6c41214c9b855050560cd18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loss1, accuracy1 = vgg16.evaluate(data_loader.test_batches, steps = 20) | |
loss2, accuracy2 = googlenet.evaluate(data_loader.test_batches, steps = 20) | |
loss3, accuracy3 = resnet.evaluate(data_loader.test_batches, steps = 20) | |
print("--------VGG16---------") | |
print("Loss: {:.2f}".format(loss1)) | |
print("Accuracy: {:.2f}".format(accuracy1)) | |
print("---------------------------") | |
print("--------GoogLeNet---------") | |
print("Loss: {:.2f}".format(loss2)) | |
print("Accuracy: {:.2f}".format(accuracy2)) | |
print("---------------------------") | |
print("--------ResNet---------") | |
print("Loss: {:.2f}".format(loss3)) | |
print("Accuracy: {:.2f}".format(accuracy3)) | |
print("---------------------------") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment