Developing an iOS app to use the model

Let's create a new Xcode project using Objective-C, then drag and drop the tensorflow_util.h and tensorflow_util.mm files from the Image2Text iOS project created in the previous chapter. Also, drag and drop the two model files, quickdraw_frozen_long_blacklist_strip_transformed.pb and quickdraw_frozen_long_blacklist_strip_transformed_memmapped.pb, and the training.tfrecord.classes file from models/tutorials/rnn/quickdraw/rnn_tutorial_data to the QuickDraw project, and rename training.tfrecord.classes to classes.txt.

Also rename ViewController.m to ViewController.mm, and comment the GetTopN function definition in tensorflow_util.h and its implementation in tensorflow_util.mm, as we'll implement a modified ...

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.