How To Sort Images Into Folders Based on Type


I am very new to the TensorFlow Community, and I was wondering how I would be able to sort bulk images into folders based on the type of clothing. So for example if we have lots of shirts and pants, it should be able to sort them and put them into folders called “pants” and “shirts”. If anyone can help me with this that would be gratefully appreciated.

Have a great day,
Scooter Y