Code Monkey home page Code Monkey logo

zero_shot_learning's Introduction

This project's objective is to reproduce the results from

https://static.googleusercontent.com/media/research.google.com/pt-BR//pubs/archive/41473.pdf

However, we use a smaller dataset (CIFAR-100) with lower resolution images. In order to do so, new cost functions needed to be created.

To use this code

  1. Get CIFAR-10 and CIFAR-100 from:

https://www.cs.toronto.edu/~kriz/cifar.html

Put cifar-100 test, train and meta files inside a folder called cifar-100-python/ (read_cifar100 conde uses them)

  1. Download the glove model from

http://nlp.stanford.edu/data/glove.6B.zip

And extract the files into a folder called glove.6B

  1. Install python dependencies by using pip and the requirements.txt file:

sudo pip install requirements.txt

  1. Create a folder called pickle files and run read_cifar100 to create all datasets

  2. To train the composite model, run the train_composite file

  3. To visualize the TSNE plots, run the visualize_results file (Change the indicated vars on the code)

  4. To compute quantitative results, run the compute_quantitative_results file and use the functions (Change the indicated vars on the code)

zero_shot_learning's People

Contributors

fnbalves avatar

Stargazers

 avatar seoyoung ahn avatar sile avatar jasstionzyf avatar Zhizhe Liu avatar  avatar Mr.Lv@Li avatar  avatar 王阳 avatar Hzzone avatar  avatar Yuqing Wang avatar Carles R. Riera avatar Pedro Henrique Magalhães Braga avatar

Watchers

James Cloos 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.