Index error in in fit_gen

I’m getting an index error during validation after running Any debugging tips will be appreciated. If I figure it out I’ll post an update. Thanks.

Here’s what seems like the most relevant bits of the exception message:

    111         if self.eos is not None: x = x + [self.eos]
    112         if self.sos is not None: x = [self.sos]+x
--> 113         return np.array(x),self.y[idx]
    115     def __len__(self): return len(self.x)```

```IndexError: index 261036 is out of bounds for axis 0 with size 260131```

Simple copy/paste error. :confused: