X-Git-Url: https://piware.de/gitweb/?p=handwriting-recognition.git;a=blobdiff_plain;f=README.md;h=fa1c48496f16f54aaba8b1d40f637dc5db10e0b4;hp=ad1494553d16fddaf4c96faa725c0d27c196c459;hb=6bdea63ab81b6b3dae4649478d29563e2160bc13;hpb=6896c756f06ff0ca4a36d39e9ad901822d5c3d45;ds=sidebyside diff --git a/README.md b/README.md index ad14945..fa1c484 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,13 @@ plt.imshow(grad, cmap='gray') plt.show() plt.imshow(np.sin(np.linspace(0,10000,10000)).reshape(100,100) ** 2, cmap='gray') -# does not work with QT_QPA_PLATFORM=wayland +# non-blocking does not work with QT_QPA_PLATFORM=wayland plt.show(block=False) plt.close() ``` - Get the handwritten digits training data with `./download-mnist.sh` + + - Read the MNIST database into numpy arrays with `./read_display_mnist.py`. Plot the first ten images and show their labels, to make sure the data makes sense: + + ![visualize training data](screenshots/mnist-visualize-training-data.png)