Using Recurrent Neural Networks for the handwritten digit classification on MNIST dataset.
MNIST has become kind of default and standard choice for getting started with neural networks. But if are having this question: "How to use mnist as sequence data and apply the RNNs on it?". Then you are the expected audience here.
Moreover, if you want to see how you can code RNN model in tensorflow pretty much from scratch (that without using there inbuilt rnn api which ofcourse is more optimized), then also you can check out this code.
- download/clone this repo and cd to the repo's root dir.
-
python3 -m venv --system-site-packages path/to/my-venv
-
source path/to/my-venv/bin/activate
-
pip install -r requirements.txt
-
python3 rnn_mnist.py
For any missing dependencies, install after "activating your-venv" using:
pip install package-name