Building your model using TensorFlow

Now that we have seen several methods of obtaining the images we need, or, in the absence of any, creating our own, we will now use TensorFlow to create the classification model for our flower use case:

  1. Creating the folder structure: To start with, let's create the folder structure that's required for our flower classification use case. First, create a main folder called image_classification. Within the image_classification folder, create two folders: images and tf_files. The images folder will contain the images that are required for model training, and the tf_files folder will hold all the generated TensorFlow-specific files during runtime.
  2. Downloading the images: Next, we need to download the images ...

Get Mobile Artificial Intelligence Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.