Closed stoneyang closed 6 years ago
@stoneyang your snippet works fine for me, update your torchviz:
pip install git+https://github.com/szagoruyko/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. :)
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
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. :)
Hi, @szagoruyko
Thanks for your repo!
pytorchviz
has made network drafting and demonstration much more convenient.From #15 , your said that multiple outputs was supported then.
But in constructing a net as the following, I keeps receiving the error like #10 .
And the traceback: