Last active
May 24, 2020 11:04
-
-
Save iavinas/9a9f5714f3ed56c9283be0ae0cf3a5c1 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
VGG16_predictions = [np.argmax(VGG16_model.predict(np.expand_dims(feature, axis=0))) for feature in test_VGG16] | |
# report test accuracy | |
test_accuracy = 100*np.sum(np.array(VGG16_predictions)==np.argmax(test_targets, axis=1))/len(VGG16_predictions) | |
print('Test accuracy: %.4f%%' % test_accuracy) | |
#Test accuracy: 36.7225% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment