[Solved] COL774 Assignment 4

$25

File Name: COL774_Assignment_4.zip
File Size: 178.98 KB

SKU: [Solved] COL774 Assignment 4 Category: Tag:
5/5 - (1 vote)
  1. Dataset Links
    • Train Images: Link
    • Train Captions: Link
    • Public Test Images: Link
    • Public Test Captions: Link
    • Private Test Images: Coming Soon
  2. Non Competitive Part

You are given a dataset of images with 5 possible captions for each image. The images are named as image id.jpg where id is the image index. The captions.tsv file contain the captions of all the images, with each line (tab separated) format having image id and the 5 corresponding captions. You will use the Encoder-Decoder architecture for modelling this problem. An encoder is used to encode the input into a vector representation and a decoder is applied on this vector representation to generate the sequence auto-regressively (one word at a time). You have to implement the encoder for the images and a decoder for text captions in this part along with beam search to find the most optimal sequence. You can use this as a starting point.

  • Encoder: Design a CNN based encoder that handles the variable sized images.

1

  • Decoder: Design a RNN / LSTM based decoder which generates the captions given the encoded image input.
  • Training Setup: Use cross-entropy as the loss function and teacher-forcing for training the decoder. Dont forget to use START and END tokens to allow variable length caption outputs in the decoder.
  • Inference at test time: Instead of using the token with maximum probability at each step (Greedy Decoding) for generating the tokens (words) in the caption, you will use Beam Search for generating your captions. It is a Dynamic Programming method to get better sequences than simple Greedy Decoding. Read Section 4 of this pdf document. We also recommended you to read Sections 1.2, 1.3, and 1.4 for better understanding.
  • Evaluation: You have to generate the top-5 captions for each image using Beam Search as described above. We will use BLEU (BiLingual Evaluation Understudy) scores for evaluating your model performance. You can read more about it in Section 5.3 of this pdf document.
  1. Reference

You can refer to this paper to get an in-depth understanding of Image Captioning Encoder-Decoder framework. We also provide the boiler plate code with base classes to make it easier to implement the assignment. You can download it from this link.

  1. Competitive Part
    • Instructions coming soon.
  2. Submission Instructions

Make .tsv files [EntryNumber1] [EntryNumber2] [TYPE].tsv similar to test captions.tsv for each of the test sets (TYPE = public/private). Submit these 2 files along with your code and report in a single zip format. Only one of you should make the submission.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] COL774 Assignment 4
$25