split-folders
split-folders copied to clipboard
🗂 Split folders with files (i.e. images) into training, validation and test (dataset) folders
Some datasets provide a train_test_split doc, which may have image number to train/test mapping. Can we have a feature to do this?
The current default value for fixed is 100, but sometimes the samples can be even less than 100, causing it to raise an error. Would it be better to set...
I have a dataset with images in this format, image_1.png, image _2.png,.... image_130.png, ...., image_1301.png, image_1302.png, .... and my label files follow the same convention. When I use group_prefix =...
There are cases when we have a pickle file, annotated files or other file formats in the same directory and we don't wish to split including them.
Files can be split based on the file extension specified. It is an optional argument and by default, it is set to None. For more details please read the updated...
Hi, first off, I really like this function. It could however be nice with a feature of just splitting and outputting the file paths into train, val, test without actually...
I would like to have equal ratio of classes in the training and test set. Can we add this feature?
This solves #31. The advantage of having symlinks (`ln -s`) is that we can just reference the dataset stored at some other place and create a folder structure at any/multiple...
Hi , thanks for the library. I have an issue when splitting txt files  this the result after splitting the file , here should be one txt file but...
Hi, thanks for developing this library. I just wander if it would make sense and be possible to allow giving as `input_folder` the complete path to the folder that contains...