Item seqeunce in loader and ds items

Hi
Is it guranted that order of items fetched by loader same as the order in which items are retruned by dataset
data.train_dl -this will give train data in batches, data.train_ds.x.items will list the path of images in dataset in sequence.

  1. N,nc,h,w is output of train loader ,array[…of paths] is of dataset

does [0,:,:,:] array corresponds to item 0 in ds x . items ??

Regarding to this question, I also realised that the order of the items in e.g.

data.valid_dl vs data.valid_ds are not the same.

Is there a way to match an item from ds to dl easily?

edit: I’m working with RNNLearner on sequences.

Thanks!