Skip to main content

PyTorch Model Visualizer

Introduction

This library is a Python tool designed to help machine learning practitioners and researchers visualize the architecture of PyTorch models. By representing each layer as a colored block, it offers a clear and intuitive understanding of a model's structure, aiding in analysis and debugging.

Features

  • Visualize PyTorch model layers as colored blocks.
  • Customize the maximum number of layers per subplot.
  • Easy integration into PyTorch workflows.

Installation

This tool requires Python and PyTorch, along with Matplotlib for visualization. Ensure these are installed in your environment: pip install vilpi

Warning

This library is designed for small models, so do not use it for large models.

Required Libraries for visualisation

pip install matplotlib

Release files for vilpi 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vilpi 0.1
File Size Uploaded
vilpi-0.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vilpi 0.1
File Interpreter ABI Platform
vilpi-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / vilpi-0.1.tar.gz

Download URL vilpi-0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
25ec735882c302fa37150913b9ecea052c049cdbdf92f22e91e890f84a683680
BLAKE2b-256 checksum
How to use checksums
f59d86e3a947f423467ecdb068dd80447fe8d96281be36ec92c001b53823ff18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / vilpi-0.1-py3-none-any.whl

Download URL vilpi-0.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cd16f05b1ad2e41e4e28c9b3be2e62903667a0a59710a5201f301e7f79d2355
BLAKE2b-256 checksum
How to use checksums
16ec6fb4747b3cca297ba761918baac7588d36bcfc8d50004cb6984256be4aa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page