Visualize a trained neural network weights from different libraries
- Load neural network weights, WeightVis will automatically visualize the neural network weights !
- For now the library works with only for fully connected layers
- Supported Libraries : Pytorch, Sklearn and SimplyNet(https://github.com/frknayk/SimplyNet)
- Tensorflow will be integrated soon !
- Simplest example with pytorch
from Visualizer.Brain import Brain
from Libraries.Enums import NNLibs as Libs
# Initate visualizer
brain = Brain(nn_lib=Libs.Torch)
# Visualize neural network
brain.visualize("path_your_pytorch_model", load_from_path=True)
- Output
- pip3 install -e .
- Tensorflow is incoming !
- Extend library to CNNs
- Arise warning when neura-network size exceeds limits of library
- Long term TODO : 3D visualisation
- Please send an email to [email protected] or [email protected] for contribution or any feedback
- The script was first moved from a github user's [@craffel] "draw_neural_net.py" script.