Git Product home page Git Product logo

image_caption-p2's Introduction

Image Captioning Project

This repository contains code and resources for the Image Captioning project, which is part of the Udacity Computer Vision Nanodegree program. The goal of this project is to generate captions for input images using a deep learning model.

Project Overview

The project consists of the following main components:

  • Data preparation: We use the Microsoft COCO dataset to train and evaluate our model.
  • Model architecture: We use a CNN-RNN architecture to generate captions for images. Specifically, we use a pre-trained ResNet-50 model to extract features from the input image, and then feed these features into a LSTM model to generate the caption.
  • Training the model: We train the model on a subset of the COCO dataset and evaluate it on a held-out validation set.
  • Generating captions: Once the model is trained, we use it to generate captions for test images.

Getting Started

To get started with this project, you need to do the following:

  1. Clone this repository:
git clone https://github.com/OmarEhab007/Image_caption-P2.git
  1. Download the COCO dataset and pre-trained ResNet-50 model by running the following command:
./download.sh
  1. Install the required Python packages by running the following command: pip install -r requirements.txt
  2. Open the Jupyter Notebook 2_Training.ipynb and follow the instructions to train the model.
  3. Open the Jupyter Notebook 3_Inference.ipynb and follow the instructions to generate captions for test images.

Acknowledgements

This project is based on the Image Captioning project by Yunjey Choi.

image_caption-p2's People

Contributors

omarehab007 avatar

Watchers

 avatar  avatar  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.