I’m not familiar with advertorch and don’t know which outputs are expected, so you could either check the implementation of the model in their repository as well as the documentation or check the output type manually.
I’m still unsure, if the error is raised by LinfPGDAttack or if your model just returns a tuple while tensors are expected, so you might also want to check the return type of it.