an
for jacobian_x, (d_x, x) in zip(jacobian_c, iter_tensors_with_grad(input)):
TypeError: zip argument #1 must support iteration
What does this error mean? How should I solve it?
an
for jacobian_x, (d_x, x) in zip(jacobian_c, iter_tensors_with_grad(input)):
TypeError: zip argument #1 must support iteration
What does this error mean? How should I solve it?
On a toy example I had the same error message when all of my inputs were set to require_grad = False (default when you use autograd.Variable(tensor))
Have you tried to change some require_grad ?
I think you need to make require_grad = True for your input tensor.