If you have followed the Setting up the TensorFlow Object Detection API section in Chapter 3, Detecting Objects and Their Locations, then you already have the im2txt folder installed; otherwise simply cd to your TensorFlow source root directory then run:
git clone https://github.com/tensorflow/models
One Python library you probably haven't installed is the Natural Language ToolKit (NLTK) , one of the most popular Python libraries for natural language processing. Just go to its website at http://www.nltk.org for installation instructions.
Now, follow these steps to train the model:
- Set up a location to save the 2014 MSCOCO image captioning training and validation dataset by opening a Terminal and ...