/Important-Python-Code-Snippets

All important python code snippets as i learn them will be uploaded here with a detailed description of what it does.

Primary LanguageJupyter Notebook

Important-Python-Code-Snippets

All important python code snippets as i learn them will be uploaded here with a detailed description of what it does.

1. Change the format of training dataset(to use ImageDataGenerator)

The training dataset of images must be of a particular format so as to enable the use of keras ImageDataGenerator. The code uses some of pythons very simple but useful functions of the os. and shutil. packages. The ipnb is self explanatory.