Yep.  The dataset and dataloader code looks as follows:
dataset = ImageDataset(root_dir = image_dir,
                   num_augments = num_augments,
                   transform = augment_image())

train_dataset = DataLoader(dataset=dataset,
                       batch_size=batch_size,
                       shuffle=True,
                       num_workers=0)

and then I am iterating through train_dataset