Code Monkey home page Code Monkey logo

nmn_tools's Introduction

lexparser_copy.sh

from stanford dependency parser.

parse_lexparser_sps2.sh (aka parse_all)

runs lexparser on sentences of each description file, feeds it to parse_sps2.py to save as sps2 format.

parse_sps2.py

parses a given line into a set of sps2 phrases: (is (and beak black))

create_db_cub.py

generates batches for training, evaluating and testing for nmn model, from cub data set and sps2 parses.

train_test_split.mat

split from Mohamed on cub.

zero_shot_calc.py

evaluates the task of zeroshot learning from nmn results.

pred_anslysis.py

calculates statistics based on a nmn logs json file.

spell_check.py

spell checking script found online.

big.txt

vocabulary used by spell_check.

ex_generator.py

code for generating negative examples (from cluster_info.pk) by olivia. (modified for minor fixes)

check_sps2.py

goes over the files parsed from sentence to sps2 format, and provides some statistics on the generated parse data set.

extract_vgg_cv.py

uses caffe to run vgg 16 forward pass on images and extract pool 5 layer features. has batching and uses opencv.

im_aug.py

horizontally flips images on the given path, and save alongside original images in a given output path.

nmn_tools's People

Contributors

mahyarkoy avatar

Watchers

 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.