Git Product home page Git Product logo

image_captioning_udacity_ppb's Introduction

Image_Captioning_Udacity_PPB


This project is on Generating Caption from Image, launched by Udacity, Computer Vision Nanodegree program.

Dataset


In this project, Microsoft Common Objects in COntext (MS COCO) dataset is used. It is a large-scale dataset for scene understanding. The dataset is commonly used to train and benchmark object detection, segmentation, and captioning algorithms. Sample Dog Output You can read more about the dataset on the website or in the research paper.

To explore the dataset and take the preparation of the project, please see 0_Dataset.ipynb file.

Exploring MS COCO Dataset


To use the dataset, please follow the instruction of cocoapi. According to the instruction, please download the full dataset (images + annotations) and maintain the dataset directory structure like following:

Directory Tree of Dataset

├───opt
│   └───cocoapi
│       ├───annotations
│       └───images
│           ├───test2014
│           ├───train2014
│           └───val2014

After installing the API, please run "make" under coco/PythonAPI. For details, please see 1_Preliminaries.ipynb file.

Now,

  • By using pip install nltk, install nltk python package in the environment.

CNN-RNN model

To know the CNN-RNN model architechture, please see model.py file.

Training CNN-RNN Model

To know the training parameters, and optimizer, please see 2_Training.ipynb file.

Optimizer and Loss Function Selection

To infer the trained CNN-RNN model on test dataset, please see 3_inference.ipynb file.

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.