The error message points to inputs, which is a tuple, while a tensor is expected.
Check your Dataset and make sure that the data and target samples are returned as tensors.
If you get stuck, feel free to post the code of your Dataset, so that we can take a look.