Solved by ptrblck in post #2 
              
              
                random_split wraps the Dataset into Subsets as seen here. The used indices can be access via subset_dataset.indices and could be used to get the image paths. 
It depends what kind of Dataset you are using, but e.g. ImageFolder should contains the paths in its dataset.samples attribute.