Closed leminhds closed 2 years ago
ok, I just found the right way to use it, you need to create a subfolder under your "output_folder" folder, such as "data", then after you executed the program, it will generate 3 folders that are test, train and val under your output folder, and inside those 3 folders, it will create a subfolder named "data" as well, and finally it will contain the images after the splitting as your specified ratio.
This is a duplicate of #13.
I have correctly implemented splitfolders.ratio(input= input_folder, output=output_folder, seed=1337, ratio=(.9, 0.1))
There is no error message. However, the files are not split and remain in the input folder. the output folder does not change either. happens to python 3.9