Would you like to create separate folders for both splits?
In that case you should manually split the indices and move/copy the files to the corresponding folders.
random_split returns splits from a single Dataset.
It’s usually a good idea to split the data into different folders. However, in that case you won’t need random_split, but just two separate Datasets.