Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 2.05 KB

File metadata and controls

48 lines (34 loc) · 2.05 KB

Show and Tell: A Neural Image Caption Generator

Python Dependencies Contributions welcome GitHub release Build Status Maintenance

This code can be integrated with an existing project and captioning model can be load using object creation with loading the checkpoint just once.

  • Pretrained Model with 5 Million checkpoints.
  • Single instance loading.
  • Removed Bazel-bin dependenct.
  • Fixed vocab and checkpoints errors.

Install Required Packages

First ensure that you have installed the following required packages:

Steps to run

Step 1: cd im2txt

Step 2: python im2txt.py

Results

a person riding cycle

Captions for image cycling.jpg:
  0) a person riding a bike on a city street (p=0.003317)
  1) a man riding a bike down a street . (p=0.000723)
  2) a person riding a bike on a street (p=0.000362)

Reference tensorflow model - Tensorflow: Show and Tell

If you find the repository useful, you can Star it as an appreciation.