Giter VIP home page Giter VIP logo

image-caption-using-vgg-lstm-attention-model's Introduction

This is a VGG-LSTM based End-to-End Model with attention, for image caption

Python version support:

Python 3.7

Python packages satisfied:

PyQt5, pickle, pycocotools, cython, nltk, gensim, PIL, numpy, tensorflow

To be noticed, version of tensorflow == 2.1.0

To run the system, ensure the folowing document are in the GUI package:

show3.7.py deal.py Dic.txt dictionary wordvector_dictionary background.jpeg Model_cat.hdf5 Model_decoder.hdf5 Model_decoder.hdf5

How to run the system:

step 1: open terminal step 2: type cd ../GUI on terminal step 3: type python show3.7.py on terminal

Python files' content:

deal.py : Model building modules

show3.7.py : Interation board modules

To satisfy the above running, you should download the relative code with path below, and put them in the same load with the code files.

https://drive.google.com/file/d/137IEP5DxMa6-AkY9bh2ydQCm4NT06DGc/view?usp=sharing

If you prefer to get a new model with your own setting, you could get the dataset from the path below:

Dataset resourse:

https://cocodataset.org/#overview

References:

LSTM Decoder by Keras: https://keras.io/examples/lstm_seq2seq/ Attention layers by Keras: https://www.tensorflow.org/api_docs/python/tf/keras/layers/Attention

image-caption-using-vgg-lstm-attention-model's People

Contributors

zihonghe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.