If you want to just get the raw data from the dataset you don’t need to use DataLoader. You can just index the dataset. For example if your dataset is called DS and getitem() returns an image and target you could use a for loop to iterate over the dataset in the order that the raw data is in.
for i in range(DS.__len__()):
    img, target = DS[i]