kencyke / hopfield-mnist

Hopfield network for MNIST

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hopfield-mnist

Usage

# See mnist data by using matplotlib:
$ poetry run python mnist.py
# Generate the prediction data under ./png directory by using hopfield network:
$ poetry run python hopfield.py

Sample Result

Denoise (synchronous update)

Energy transition (synchronous update)

Denoise (asynchronous update)

Energy transition (asynchronous update)

About

Hopfield network for MNIST

License:MIT License


Languages

Language:Python 100.0%