AI TOOL / #11835
tensorViz
从源码直接画出PyTorch模型结构
Introduction
tensorViz 解决一个很具体的问题:看懂一个 PyTorch 模型到底长什么样。
以往要可视化网络结构,通常得先把模型导出成 ONNX 或者走 torch.export,稍微复杂一点的模型导出就报错。tensorViz 直接从 Python 源码打开 nn.Module,画成一张可交互的图,每条边上标的是实际量出来的张量形状,点节点能跳回对应的源码。
它是编辑器扩展,VS Code、Cursor 和 VSCodium 都能装,一条命令搞定。
另外提供了一个给编程智能体用的插件。让 AI 改模型结构时,它可以先「看」到网络的图和各层形状,少犯维度对不上的错。
代码放在 GitHub 上。读别人的模型代码、调试形状不匹配、给论文画结构图的时候都用得着。只做推理不碰模型内部的人不需要它。
Related
Jadebook
An encrypted diary app that supports device synchronization, features artificial intelligence capabilities, and includes target-tracking functions – all available for free.
CO-JOURNAL
Artificial intelligence-based logs, designed for self-reflection and emotional growth.
AtFirst
An app that provides daily affirmations and guided meditations for self-improvement and positivity.
Zafu.ai
24/7 AI therapists providing support for mental health.
Psychpedia
Psychological Encyclopedia: An AI-driven platform for psychological education and personal development, incorporating mindfulness practices.
Bell
Bell is a platform designed for individuals to share their concerns and work together towards improving well-being.