Comments (4)
@stoneyang your snippet works fine for me, update your torchviz:
pip install git+https://github.com/szagoruyko/pytorchviz
from pytorchviz.
@szagoruyko Thanks for your timely reply!
I did install the package on my MAC with pytorch-0.4.1 installed.
The problem still exists...
P.S.: I've added the trackback and hope it helps. :)
from pytorchviz.
The installation messages:
Collecting git+https://github.com/szagoruyko/pytorchviz
Cloning https://github.com/szagoruyko/pytorchviz to /private/var/folders/db/qjdq4psd0yvfc9cczfbhqcrw0000gn/T/pip-req-build-0ksa_wni
Requirement already satisfied (use --upgrade to upgrade): pytorchviz==0.0.1 from git+https://github.com/szagoruyko/pytorchviz in /usr/local/lib/python3.6/site-packages
Requirement already satisfied: torch in /usr/local/lib/python3.6/site-packages (from pytorchviz==0.0.1) (0.4.1)
Requirement already satisfied: graphviz in /usr/local/lib/python3.6/site-packages (from pytorchviz==0.0.1) (0.8.4)
Building wheels for collected packages: pytorchviz
Running setup.py bdist_wheel for pytorchviz ... done
Stored in directory: /private/var/folders/DUMMY
Successfully built pytorchviz
from pytorchviz.
Oh god, I solved it finally .... by just upgrading pytorchviz
by insert a more option:
pip install -U git+https://github.com/szagoruyko/pytorchviz
I'll close this and leave it as a reminder.
Thanks for your time. :)
from pytorchviz.
Related Issues (20)
- RecursionError: maximum recursion depth exceeded in comparison HOT 6
- No text label displayed on Google Colab (Pytorch 1.8.1) HOT 1
- Add variable names to nodes HOT 5
- Incorrect graph for saved variable using custom autograd function HOT 5
- Inconsistent arrow directions for saved variables HOT 2
- Graph terminates in small horizontal bar HOT 1
- RecursionError when used on subclass of Tensor HOT 5
- Page beyond pdf interface
- Lisibility of saved tensor HOT 1
- 'NotImplementedError:' when passing multiple input to model()
- Failing on large digraph HOT 3
- torchviz module not found HOT 2
- PNG Generation HOT 7
- Plotting model HOT 1
- AttributeError in make_dot with GNN from dgl.ai HOT 1
- Supress a model/nn.module
- How to plot transformer model? (BERT Model) HOT 3
- Pytorchviz with detectron2
- My data must be some integer data,how to do
- Depends on distutils, which has been removed from python3.12 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorchviz.