A two-layer CNN trains on 60 000 real MNIST digits — entirely in your browser. Watch the loss fall and accuracy climb as the network learns to tell 0 from 9.

Loading MNIST data…

Training loss

Test accuracy

Sample predictions — updated every 400 steps