Hi, I have a training set which I want to divide into batches of variable sizes based on the index list (batch 1 would contain data with index 1 to 100, and batch 2 contains index 101 to 129, batch 3 contains index 130 to 135, …, for instance).  I check dataloader but it seems to me that it only supports fixed-size batches.  I wonder what would be a good way to do that?
Thank you!