Skip to content

Comment on Clarifying exceptions and visualizing tensor operations in deep learning code

Comments

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.

parrtOP

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. :)

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 :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.