Giter VIP home page Giter VIP logo

imagenet's Introduction

imagenet

A python module containing both a full imagenet dataset object conforming to skdata standards, and various related subsets.

This folder will be created when using datasets: ~/.skdata/imagenet/images

Which is where the images will may be cached locally (not default, see dataset.get_images for documentation)

You will need a user account on our database (or a similarly configured one). Email [email protected].

To install:

$ pip install git+http://github.com/dicarlolab/imagenet.git#egg=imagenet

or if you don't have root access

$ pip install --user -e git+http://github.com/dicarlolab/imagenet.git#egg=imagenet

you have to install the requirements from the requirements file as well

pip install -r requirements.txt

tunnel to the database

ssh -f -N -L 27017:localhost:27017 [email protected]

you must also use the nltk package to download wordnet

nltk.download('wordnet')

Some examples:

Import the dataset and call its constructor

import imagenet.dldatasets as d
dataset = d.Challenge_Synsets_20_Pixel_Hard()

The dataset has a meta tabular array object

meta = dataset.meta

And a dictionary containing a dictionary of information about each synset, each of which is represented by a wordnet id

synset_meta = dataset.synset_meta
list_of_wordnet_ids = synset_meta.keys()
info_about_first_synset = synset_meta[list_of_wordnet_ids[0]].keys()

get_images() can use the dataset.default_preproc spec

images = dataset.get_images(dataset.default_preproc)

imagenet's People

Contributors

yamins81 avatar qbilius 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.