nnfs_book icon indicating copy to clipboard operation
nnfs_book copied to clipboard

Ch14_Final.py Output doesn't match up

Open mikeconroy opened this issue 4 years ago • 0 comments

The output in the NNFS book for Chapter 14 and commented at the end of the Ch14_Final.py file is as follows:

epoch: 10000, acc: 0.947, loss: 0.217 (data_loss: 0.157, reg_loss: 0.060), lr: 0.019900507413187767 validation, acc: 0.830, loss: 0.435

When I run this file on my machine the output of some values are slightly different:

epoch: 10000, acc: 0.947, loss: 0.217 (data_loss: 0.160, reg_loss: 0.057), lr: 0.019900507413187767 validation, acc: 0.837, loss: 0.509

I am running this in a Docker container with a requirements.txt file ensuring the versions align with those documented in the book: Python 3.7.5 NumPy 1.15.0 Matplotlib 3.1.1

Is the output documented correctly?

mikeconroy avatar Mar 31 '21 21:03 mikeconroy