jfilter / split-folders

🗂 Split folders with files (i.e. images) into training, validation and test (dataset) folders
MIT License
412 stars 72 forks source link

warn user if folders are not in the right format #13

Closed rahulsingh50 closed 2 years ago

rahulsingh50 commented 4 years ago

(cv2020) hduser@slave1:~/computer_vision_2020/staff_detecion_using_icard/data$ split_folders images --ratio .8 .2 Copying files: 0 files [00:00, ? files/s] when i done it say copying 0 files.

jfilter commented 4 years ago

I'm sorry but I can't help you. Generally, this package works.

artmatsak commented 3 years ago

For anyone else facing this issue, make sure that your image folder contains subfolders corresponding to the image classes. See the header comment here.

jfilter commented 3 years ago

Now I get the problem. The package should report a proper error message if the folders are not the right format.

r02b commented 3 years ago

Note that currently, if one has the 'tqdm' package installed, it would actually output a helpful hint: Copying files: 0 files [00:00, ? files/s]