Skip to content

zhuzhutingru123/SelfCriticalSequenceTraining-tensorflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SelfCriticalSequenceTrainingforImageCaptioning

TensorFlow implementation of Self-critical Sequence Training for Image Captioning.
General framework for reinforcement learning image caption tasks.

References

This work is highly based on @yunjey 's implementation of show-attend-and-tell

Pytorch implementation self-critical.pytorch

Getting Started

Prerequisites

  • python2.7
  • tensorflow 0.12
  • numpy
  • matplotlib
  • scipy
  • scikit-image
  • hickle
  • Pillow
  • pycocoevalcap

data

Train the model

To train the image captioning model, run command below.

$ python train.py

For reference, the RL model is in ./core/model.py

Results

After 5 epochs, our result has 5% improvement. Note that we are using different data set to test and we used different feature net.

About

SelfCriticalSequenceTrainingforImageCaptioning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Shell 0.5%