BoxDiff icon indicating copy to clipboard operation
BoxDiff copied to clipboard

RuntimeError: One of the differentiated Tensors appears to not have been used in the graph.

Open pILLOW-1 opened this issue 1 year ago • 0 comments

image

Hi, when I use BoxDiff, an error about grad appears at _update_latent function: "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"

But when I set allow_unused=True, another error occurs:

image

Do you have any idea about this? Thanks!

pILLOW-1 avatar Nov 12 '24 07:11 pILLOW-1