How to load data from a .csv - vision - PyTorch Forums
discuss.pytorch.org › t › how-to-load-data-from-aOct 15, 2019 · I have a csv that contains a column of image file names, target labels and location of each file. Just leaving tensorflow-keras side, I am admittedly a newbie to pytorch. How do I code a dataloader to read the csv, and pull the images, randomly split off a test set and finally having a train and test set to pull in batches? CSV columns are as such: location: directory of where the image sits ...