-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tensor shapes not displayed in rendered graph #83
Comments
I face the same problem |
There is a fix for that. You need to replace the function
The solution comes from the link of the discussion above. |
Fixed shapes for PyTorch plots. See waleedka#83 for more info.
I had this problem too, and Alexis-Martin's solution worked for me, so I created a pull request: #89 |
If Alexis-Martin's solution does not work, try
Refer here for more details. |
This fixed the problem, "RuntimeError: outputs_.size() == 1 INTERNAL ASSERT FAILED" |
Used code from waleedka#83 .
Using the following code — which comes from the PyTorch demo notebook — I get the output in the subsequent image. The Pytorch demo notebook suggests in its first example that tensor shapes are printed on the edges between nodes. However, I have found this not to be the case in my attempts. How can I get the tensor shapes printed along the edges? Is this an issue, or is there documentation I can refer to fix the output?
(By the way, I am running python3.8 with the latest version of Pytorch (1.6.0) and hiddenlayer).
The text was updated successfully, but these errors were encountered: