A website to demonstrate handwritten digit recognition
Requirements
- python >= 3.10
- node >= 1.18
- If you're not using an apple silicon equipped mac, change the device to cuda, cpu, or whatever suits your needs.
npm start
- This will show the localhost port the server is running on, which you can visit using your browser.
- If you're not using an apple silicon equipped mac, change the device to cuda, cpu, or whatever suits your needs.
python3 main.py --predict --image <path/to/28x28/json_array> --model <path/to/model>
- If you're not using an Apple Silicon equipped mac, change the device to cuda, cpu, or whatever suits your needs.
python3 main.py --train
- Convolution
- Maxpool
- Convolutional
- Maxpool
- Fully connected
- Fully connected
- Softmax layer
- Very good translational and rotational invariance
- The model is a bit overfit and produces wrong results about 5% of the time