Could you post your training code so that we can have a look at it?
If that’s not possible, could you create a dummy reproducible example throwing the same error message?
Based on the error, it seems you are somehow unpacking the data while passing it to the model.