Skip to content

This is modified version of tensorflow/im2txt model with pretrained checkpoints and modified code with removed bazel binding.

Notifications You must be signed in to change notification settings

Akashtyagi/Pretrained-im2txt-single_instance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This is modified version of tensorflow/im2txt model with pretrained checkpoints and modified code with removed bazel binding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published