We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c17b921 commit 4414fb0Copy full SHA for 4414fb0
Prediction.py
@@ -18,4 +18,4 @@
18
score = sigmoid(predictions[0])
19
# Predict along with it confidence
20
print("This image most likely belongs to {} with a {:.2f} percent confidence."
21
- .format(model.class_names[np.argmax(score)], 100 * np.max(score)))
+ .format(class_names[np.argmax(score)], 100 * np.max(score)))
0 commit comments