AI TOOL / #11835
tensorViz
从源码直接画出PyTorch模型结构
Introduction
tensorViz 解决一个很具体的问题:看懂一个 PyTorch 模型到底长什么样。
以往要可视化网络结构,通常得先把模型导出成 ONNX 或者走 torch.export,稍微复杂一点的模型导出就报错。tensorViz 直接从 Python 源码打开 nn.Module,画成一张可交互的图,每条边上标的是实际量出来的张量形状,点节点能跳回对应的源码。
它是编辑器扩展,VS Code、Cursor 和 VSCodium 都能装,一条命令搞定。
另外提供了一个给编程智能体用的插件。让 AI 改模型结构时,它可以先「看」到网络的图和各层形状,少犯维度对不上的错。
代码放在 GitHub 上。读别人的模型代码、调试形状不匹配、给论文画结构图的时候都用得着。只做推理不碰模型内部的人不需要它。
Related
Dream Interpretation AI
A free AI dream interpreter that provides immediate insights into your psyche.
Video2Recipe
AI-based tools that convert cooking videos into recipes.
Cook Now
Personalized dining plans and an AI recipe generator that makes it easy to prepare meals.
Aioli: Your AI Sous Chef
An AI-based recipe generator and a recipe search engine that utilizes new labeling systems.
Tomaito
An AI-powered recipe generator that offers personalized and creative cooking experiences.
cookAIfood
An artificial intelligence-based platform designed for creating, discovering, and sharing recipes and menus generated by AI.