Which line of code is throwing this error?
The linked repository thrown a 404 error and there seems to be another TF implementation.
If the error is thrown in your trainset, you should check, that its __getitem__ method returns two values, since you are unpacking them to X and y.