star-tek-mb/mnist-predictor
Hand written digit recognizer written in Zig
This is a MNIST handwritten digit recognizer written in zig with raylib.
Install raylib first for GUI
git clone https://github.com/raysan5/raylib.git --single-branch --depth 1
For training you also need MNIST data from here.
Place it in data folder and use src/main_training.zig
One implementation is in pure zig src/main_pure.zig
- neural network training.
Second implementation is in C src/main.zig
exported from tensorflow.
Both implementations are a bit stupid.