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