Skip to content

Commit c1d13df

Browse files
Update examples/mnist/mnist-common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
1 parent d07b6e3 commit c1d13df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mnist/mnist-common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ void mnist_model_train(mnist_model & model, const float * images, const float *
611611
const std::pair<double, double> loss = mnist_loss(result_val);
612612
const std::pair<double, double> acc = mnist_accuracy(result_val, labels + iex_split*MNIST_NCLASSES);
613613

614-
fprintf(stderr, ", val_loss=%.6lf+-%.6lf, train_acc=%.2f+-%.2f%%", loss.first, loss.second, 100.0*acc.first, 100.0*acc.second);
614+
fprintf(stderr, ", val_loss=%.6lf+-%.6lf, val_acc=%.2f+-%.2f%%", loss.first, loss.second, 100.0*acc.first, 100.0*acc.second);
615615
}
616616
fprintf(stderr, "\n");
617617
}

0 commit comments

Comments
 (0)