Keras snippets in support of the development and testing of neural-fortran.
Get the code and set up your Python environment:
git clone https://github.com/neural-fortran/keras-snippets
cd keras-snippets
python3 -m venv venv
source venv/bin/activate
pip install -U pip
pip install -U -r requirements.txt
Run the snippets:
python3 keras_dense_mnist.py
python3 keras_cnn_mnist.py
python3 keras_reshape.py
to generate the HDF5 model output files.