Deep CNN Image classifier using Tensorflow
In order to properly process data, we need to first set rules and recognize if any of the data types might interfere with cv2 reading the files.
Taking advantage of TensorFlow/Keras library, we can create batches of data without manually adding labels for the title, columns, and rows.
In order to optimize our models, we can actually divide the pixel dimensions by 255, which is the format we have set for the images.
Then I split the data into training, evaluation, and test.
This is to make sure to track model's accuracy and allocating the appropriate amount of datasets to find the most fit.
We have different layers added to the model: Conv2D, Maxpooling2D, Flatten, and Dense.
These layers formulate the neural network to train our model
We train by 'fitting' the model using the batches data we have provided.
Ephoch shows how many times we iterate through the data.
We can visualize our losses and accuracy over the epochs and track how our model fits