From c1d13df2c8e75eadc7cb19e46f3352a58e6fc42f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20G=C3=A4=C3=9Fler?= Date: Mon, 16 Sep 2024 15:56:30 +0200 Subject: [PATCH] Update examples/mnist/mnist-common.cpp Co-authored-by: Georgi Gerganov --- examples/mnist/mnist-common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mnist/mnist-common.cpp b/examples/mnist/mnist-common.cpp index 267ca45bd..83fc0b763 100644 --- a/examples/mnist/mnist-common.cpp +++ b/examples/mnist/mnist-common.cpp @@ -611,7 +611,7 @@ void mnist_model_train(mnist_model & model, const float * images, const float * const std::pair loss = mnist_loss(result_val); const std::pair acc = mnist_accuracy(result_val, labels + iex_split*MNIST_NCLASSES); - fprintf(stderr, ", val_loss=%.6lf+-%.6lf, train_acc=%.2f+-%.2f%%", loss.first, loss.second, 100.0*acc.first, 100.0*acc.second); + fprintf(stderr, ", val_loss=%.6lf+-%.6lf, val_acc=%.2f+-%.2f%%", loss.first, loss.second, 100.0*acc.first, 100.0*acc.second); } fprintf(stderr, "\n"); }