Code Monkey home page Code Monkey logo

zero_shot_learning's Introduction

Zero Shot Learning

Method1 : Zero Short Learning with Word2Vector for class labels(label embedding)

Zero shot learning aims to solve a task to identify classes that are not seen by the model during training. For example, let’s say you have seen a horse but never seen a zebra. If I tell you that a zebra looks like a horse but it has black and white stripes, you will probably immediately recognize a zebra when you see it. This is what zero-shot learning aims to tackle.

Data has been collected from this website https://visualgenome.org/ 20 classes in total where there are 15 classes selected for training and 5 classes selected as Zero-Shot classes

Train Classes:

arm, boy, bread, chicken, child, computer, ear, house, leg, sandwich, television, truck, vehicle, watch, woman

Zero-Shot Classes:

car, food, hand, man, neck

Method2 : Embarrassingly Simple approach to Zero Shot learning(EZsl)

Dataset has been collected from this website https://www.mpi-inf.mpg.de/departments/computer-vision-and-machine-learning/research/zero-shot-learning/latent-embeddings-for-zero-shot-classification.

Different datasets with different length of attributes for each dataset

  • SUN: Attributes 102, Classes 717
  • CUB: Attributes 312, Classes 200
  • AWA1: Attributes 85, Classes 50
  • AWA2: Attributes 85, Classes 50
  • APY: Attributes 64, Classes 32

Instructions

Follow the below steps to run the code:

Zsl with label embedding

Follow the below steps to run the code:

Eszl

zero_shot_learning's People

Contributors

kiran74-ds avatar

Watchers

 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.