RuntimeError: One of the differentiated Tensors appears to not have been used in the graph. Set allow_unused=True if this is the desired behavior

How did you check this ? there is any tools or methods to verify computational graph ?
I have the same problem, but it’s not easy for me to check since my model is little complicated.

1 Like