AI TOOL / #11835
tensorViz
从源码直接画出PyTorch模型结构
Introduction
tensorViz 解决一个很具体的问题:看懂一个 PyTorch 模型到底长什么样。
以往要可视化网络结构,通常得先把模型导出成 ONNX 或者走 torch.export,稍微复杂一点的模型导出就报错。tensorViz 直接从 Python 源码打开 nn.Module,画成一张可交互的图,每条边上标的是实际量出来的张量形状,点节点能跳回对应的源码。
它是编辑器扩展,VS Code、Cursor 和 VSCodium 都能装,一条命令搞定。
另外提供了一个给编程智能体用的插件。让 AI 改模型结构时,它可以先「看」到网络的图和各层形状,少犯维度对不上的错。
代码放在 GitHub 上。读别人的模型代码、调试形状不匹配、给论文画结构图的时候都用得着。只做推理不碰模型内部的人不需要它。
Related
Create a video instantly.
An AI short-video tool that creates the audio first and then matches it with visuals.
GPTsdex
It brings together over 10,000 customized GPT models to facilitate AI-generated content creation and the development of relevant communities.
OpenGPT.com
OpenGPT is an AI platform that integrates tools, GPT technology, and community features.
tooldirectory.ai
A comprehensive directory designed to help users discover, explore, and compare various AI tools.
Nextool
A comprehensive catalog of over 10,000 AI tools available for both businesses and individuals.
MimicPC
MimicPC: an affordable, customizable, open-source AI platform accessible from any browser.