Skip to content

TensorFlow (TensorLayer) Implementation of Image Captioning

Notifications You must be signed in to change notification settings

cfh3c/Image-Captioning

 
 

Repository files navigation

Image Captioning

We reimplemented the complicated Google' Image Captioning model by simple TensorLayer APIs.

This script run well under Python2 or 3 and TensorFlow 10 or 11.

1. Prepare MSCOCO data and Inception model

Before you run the scripts, you need to follow Google's setup guide, and setup the model, ckpt and data directories in *.py.

  • Creat a data folder.
  • Download and Preprocessing MSCOCO Data click here
  • Download the Inception_V3 CKPT click here

2. Train the model

  • via train.py

3. Evaluate the model

  • via evaluate.py

4. Generate captions by given image and model

  • via run_inference.py

5. Evaluation

About

TensorFlow (TensorLayer) Implementation of Image Captioning

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%