A LeNet5 implementation in Python3 using Keras
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
pry a04b1e4e4b added weights file il y a 1 an
.gitignore Add inital commit for LeNet5 il y a 1 an
LICENSE Initial commit il y a 1 an
README.md improved docs il y a 1 an
lenet5.py Add inital commit for LeNet5 il y a 1 an
lenet5_weights.hdf5 added weights file il y a 1 an
main.py improved docs il y a 1 an
requirements.txt Add inital commit for LeNet5 il y a 1 an

README.md

lenet5

A LeNet5 implementation in Python3 using Keras

Set up

  1. Clone the repo git clone https://git.prydt.xyz/pry/lenet5 cd lenet5

  2. Set up a python virtual environment with virtualenv in the repo virtualenv .

  3. Install all the necessary packages ./bin/pip install -r requirements.txt

  4. Just run main.py with the python installed with virtualenv

Example (train a model and save it to output.hdf5): ./bin/python main.py --save-model 1 --weights output.hdf5

Acknowledgements

This codebase is roughly following this good article.