nestedtensor icon indicating copy to clipboard operation
nestedtensor copied to clipboard

RuntimeError: autograd_mapper input's constituents shouldn't require gradients

Open linyangsdu opened this issue 5 years ago • 1 comments

When I want to train model with nestedtensor, it raise this error, how can I solve it?

linyangsdu avatar Oct 19 '20 06:10 linyangsdu

Hello @linyangsdu,

Do you have a small code snippet that reproduces this error?

Thanks, Christian

cpuhrsch avatar Oct 21 '20 03:10 cpuhrsch