szagoruyko / pytorchviz

A small package to create visualizations of PyTorch execution graphs
MIT License
3.24k stars 279 forks source link

Getting "NoneType" for my graph. #12

Closed yenicelik closed 6 years ago

yenicelik commented 6 years ago

What does this mean? A more informative error/warning message would be cool aswell if nothing is detected. Great library though, this can really help many people!

yenicelik commented 6 years ago

Turns out I didn't enclose the variables within autograd.Variable!