Preparing and preprocessing a dataset

For this chapter, we will use a small subset of images from the labeled faces in the wild dataset. Specifically, we will use images of former United States president George W. Bush, since this is the image object that occurs most often in the dataset. Using the following code, we will bring in the image data and convert it to a format that can be inputted into our model. We start by loading the libraries and data files required.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset