Pytorch implementation of Self-Organizing Map(SOM). Uses MNIST, Fashion-MNIST dataset as a demo.
Code is written in Python 3.6 and requires:
- Pytorch 0.4.0+
- Matplotlib
python main.py --train --mnist
python main.py --train --fashion_mnist
python main.py --train --color