Skip to content

Project for visualisation of pytorch training process using arduino + MAX7219 8x32 LED matrix

License

Notifications You must be signed in to change notification settings

ppadjin/nn-visualizer

This branch is up to date with Paralelopipet/nn-visualizer:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4149e9b · Dec 31, 2023

History

4 Commits
Dec 20, 2023
Dec 31, 2023
Dec 31, 2023
Dec 20, 2023
Dec 31, 2023
Dec 20, 2023
Dec 16, 2023
Dec 31, 2023
Dec 20, 2023

Repository files navigation

nn-visualizer

Project for visualisation of pytorch training process using arduino + MAX7219 8x32 LED matrix.

Alt NN-Visualizer

Installation

This package can be installed in any pytorch project by cloning the repository and running the following command:

pip install -r requirements.txt

Usage

In order to use this amazing nn training visualizes tool you need to follow next steps:|

Import the class in following fashion

from main import Arduino_Visualizer

Make an instance by providing your model, baudrate (prefeferably 9600) and COM port - whichever the amazing device is connected to:

arduino_visualizer = Arduino_Visualizer(list(model.parameters()), baudrate=9600, port='COM3')

Finally add the following line in your training process - recommended to be added after a number of batches and not on every call because of potential performance impacts.

arduino_visualizer.show(model)

Example is in mnist_train.py. Enjoy luck owner of the nn-visualiser! :D

About

Project for visualisation of pytorch training process using arduino + MAX7219 8x32 LED matrix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%