Training, predicting, and preparing the drawing classification model

It's pretty straightforward to train the model but a little tricky to prepare the model for mobile deployment. Before we can start training, first make sure you already have the TensorFlow model repo (https://github.com/tensorflow/models) cloned in your TensorFlow root directory, as we did in the previous two chapters. Then download the drawing classification training dataset at http://download.tensorflow.org/data/quickdraw_tutorial_dataset_v1.tar.gz, which is about 1.1 GB, create a new folder called rnn_tutorial_data, and unzip the dataset tar.gz file to it. You'll see 10 training TFRecord files and 10 evaluation TFRecord files, as well as two files with the .classes extension, ...

Get Intelligent Mobile Projects with TensorFlow 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.