Ziaf / HandsOn

Contains the code for different hands on demontrated.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HandsOn

Repo Contains the code for different hands-on demontrated.

Emojify

  1. Download glove embedding from https://www.kaggle.com/datasets/subrata2019/glovedata and put it in the emojify folder before running the code.
  2. Emojify demo is in emojify_notebook.ipynb .

SeqToSeq

  1. Data will be dowloaded directly using pytorch library "from torchtext.datasets import Multi30k", in the seq2seq.py script
  2. Demonstartion can be found in .ipynb file

Image Captioning

  1. Download the dataset used: https://www.kaggle.com/dataset/e1cd22253a9b23b073794872bf565648ddbe4f17e7fa9e74766ad3707141adeb Then set images folder, captions.txt inside a folder Flickr8k.
  2. train.py: For training the network
  3. model.py: creating the encoderCNN, decoderRNN
  4. get_loader.py: Loading the data, creating vocabulary
  5. utils.py: Load model, save model, printing few test cases downloaded online
  6. whole demo is given in demo.ipynb

About

Contains the code for different hands on demontrated.


Languages

Language:Jupyter Notebook 65.5%Language:HTML 33.2%Language:Python 1.4%