I have two csv files and two folders. One folder contains my images for training set and another for validation set, I have respective csv files for the images and labels in each folder.
I have tried to create ImageItem List for each csv, but I do not know how to set the dataset type for each item list to train and valid respectively.
Can you please help me tackle this problem without moving all the images into a single folder?
How about read in both CSV files into a Pandas dataframe, add a valid column with the value true for the validation set and false for the training set, then merge them into a single dataframe df?
You also may need to adjust the paths with the folder they are in so the filenames are relative to the current directory.