/Load_Dataset

To load dataset using PIL, CV2, Keras andTensorflow

Primary LanguageJupyter Notebook

Load_Dataset

To load dataset using PIL, CV2, Keras andTensorflow

Typical steps for loading custom dataset for Deep Learning Models

1.Open the image file. The format of the file can be JPEG, PNG, BMP, etc.

2.Resize the image to match the input size for the Input layer of the Deep Learning model.

3.Convert the image pixels to float datatype.

4.Normalize the image to have pixel values scaled down between 0 and 1 from 0 to 255.

5.Image data for Deep Learning models should be either a numpy array or a tensor object.