hiddenlayer icon indicating copy to clipboard operation
hiddenlayer copied to clipboard

'NoneType' object has no attribute 'nodes'

Open samra-irshad opened this issue 4 years ago • 3 comments

Hi, I am trying to use this package for plotting my model graph, however, the graph does not seem to be built correctly and gives error 'NoneType' object has no attribute 'nodes'. I believe the error is somewhere in 'torch.jit._get_trace_graph' or 'torch.onnx._optimize_trace', but I am unable to figure out?

samra-irshad avatar May 09 '20 07:05 samra-irshad

I solved this problem upgrading from PyTorch 10.1 to 10.2

rcassani avatar May 09 '20 18:05 rcassani

a same problem

likyoo avatar Jul 08 '20 01:07 likyoo

1.10.2?

sumai-1998 avatar Apr 22 '22 15:04 sumai-1998