Awesome, thanks. So for reference, one can simply write:
data = datasets.ImageFolder(img_path, tsfm) 

And pass that straight into a DataLoader. That’s got to be by far the simplest, no fuss way to create a dataset in Pytorch. For anyone finding this thread, you must convert your images to tensors with the following transform if you want to utilize it in most of the nn.Modules, I believe.
transforms.ToTensor()