VisualTorch: Streamlining Visualization for PyTorchNeural Network Architectures

VisualTorch is a library designed for visualizing neural network architectures in PyTorch.It offers support for multiple visualization styles, such as layered-style, graph-style, and the newly added LeNet-like visualization.When provided with a sequential or custom PyTorch model, alongside the input shape and visualization specifications, VisualTorch automatically translates the model structure into an architectural diagram.The resulting diagram can be refined using various configurations, including style, color, opacity, size, and a legend.VisualTorch is particularly valuable for projects involving PyTorch-based neural networks.By facilitating the generation of graphics with a single function call, it streamlines the process of visualizing neural network architectures.This ensures that the produced results are suitable for publication with minimal additional modifications.Moreover, owing to its diverse customization options, VisualTorch empowers users to generate polished figures suitable for publication. Statement of NeedNeural network architecture visualization plays an important role in the scientific process within the realm of artificial intelligence and machine learning.While mathematical equations and descriptive paragraphs provide detailed information about architectures, effective visualizations can significantly aid scientists in communicating their proposed architectures to others.In deep learning projects based on Keras (Chollet & others, 2015), the visualkeras project (Gavrikov, 2020) has been gaining traction over nearly four years of development.It offers visualization of Keras-based neural network architectures in two styles: layered and graph.The visualtorch library provides visualization for PyTorch-based architectures (Paszke et al., 2019).PyTorch itself has gained popularity among deep learning frameworks within the scientific community in recent years (Aoun et al., 2022).VisualTorch expands the functionality of VisualKeras to PyTorch and offers more visualization styles, improved usability, and a development environment by providing web-based documentation and CI/CD pipelines for seamless future contributions and collaborations.

Authors

Publication Details

Journal
The Journal of Open Source Software
Published
2024-10-08
DOI
https://doi.org/10.21105/joss.06678
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

VisualTorch: Streamlining Visualization for PyTorchNeural Network Architectures

Paul Gavrikov, Willy Fitra Hendria
The Journal of Open Source Software
Neural Networks and Applications
article

VisualTorch: Streamlining Visualization for PyTorchNeural Network Architectures

Paul Gavrikov, Willy Fitra Hendria
article en

Abstract

VisualTorch is a library designed for visualizing neural network architectures in PyTorch.It offers support for multiple visualization styles, such as layered-style, graph-style, and the newly added LeNet-like visualization.When provided with a sequential or custom PyTorch model, alongside the input shape and visualization specifications, VisualTorch automatically translates the model structure into an architectural diagram.The resulting diagram can be refined using various configurations, including style, color, opacity, size, and a legend.VisualTorch is particularly valuable for projects involving PyTorch-based neural networks.By facilitating the generation of graphics with a single function call, it streamlines the process of visualizing neural network architectures.This ensures that the produced results are suitable for publication with minimal additional modifications.Moreover, owing to its diverse customization options, VisualTorch empowers users to generate polished figures suitable for publication. Statement of NeedNeural network architecture visualization plays an important role in the scientific process within the realm of artificial intelligence and machine learning.While mathematical equations and descriptive paragraphs provide detailed information about architectures, effective visualizations can significantly aid scientists in communicating their proposed architectures to others.In deep learning projects based on Keras (Chollet & others, 2015), the visualkeras project (Gavrikov, 2020) has been gaining traction over nearly four years of development.It offers visualization of Keras-based neural network architectures in two styles: layered and graph.The visualtorch library provides visualization for PyTorch-based architectures (Paszke et al., 2019).PyTorch itself has gained popularity among deep learning frameworks within the scientific community in recent years (Aoun et al., 2022).VisualTorch expands the functionality of VisualKeras to PyTorch and offers more visualization styles, improved usability, and a development environment by providing web-based documentation and CI/CD pipelines for seamless future contributions and collaborations.

The Journal of Open Source SoftwareVol. 9(102)
Openalex Percentile: Top 85%
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

VisualTorch: Streamlining Visualization for PyTorchNeural Network Architectures — Paul Gavrikov, Willy Fitra Hendria · The Journal of Open Source Software (2024) | TGRS Research Map | TGRS