Re:Clarifying exceptions and visualizing tensor operations i...
by blackbear_ on Wednesday October 07, 2020 @02:11PM
(#24710990)
This looks really neat, but I've only felt the need for such a tool with tensorflow. With pytorch and numpy you can just use ipdb or any other debugger to be parachuted right at the exception and inspect shape and value of all the variables you need.
[ Parent
| on HN ]
Re:Clarifying exceptions and visualizing tensor operations i...
by parrt on Wednesday October 07, 2020 @02:12PM
(#24710994)
True, but you have to do it one at a time to look at the variables. Also, the exception message doesn't tell you which operator among several is the issue. This just makes it easier. :)
Re:Clarifying exceptions and visualizing tensor operations i...
by blackbear_ on Wednesday October 07, 2020 @02:21PM
(#24711087)
Of course, but debugging is a general skill that will work in every case.
Not trying to detract anything from this tool, I'll definitely give it a try it next time I have something that doesn't work :)