Coder Social home page Coder Social logo

yunhaj47 / ilsvr-classification-localization-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kaust-vislab/ilsvr-classification-localization-data

0.0 0.0 0.0 9 KB

Scripts for building the ILSVR classification and localization training, validation, and testing data sets

License: MIT License

Python 100.00%

ilsvr-classification-localization-data's Introduction

ILSVR classification and localization dataset

This repo contains a build script for the Imagenet data set. After cloning the repository, in order to use the build script, you will first need to obtain an account with Imagenet and then download the following files.

  1. ILSVRC2012_devkit_t12.tar.gz
  2. ILSVRC2012_img_train.tar
  3. ILSVRC2012_img_val.tar
  4. ILSVRC2012_img_test_v10102019.tar

File 1 containing the Imagenet development kit should be moved into the ./src directory and then extracted.

$ tar -xzf ILSVRC2012_devkit_t12.tar.gz

Files 2-4 contain the raw image files and should be moved to the ./data directory. You do not need to extract files 2-4 the extraction process will be handled by the build script.

Building the data set

Creating and activating the Conda environment

The following commands can be used to create and activate the Conda environment containing the necessary Python packages to build the Imagenet data set.

$ conda env create --prefix ./env --file environment.yml
$ conda activate ./env

Raw JPEG images

Running the following commands will extract and re-organize the raw *.JPEG images that comprise the Imagenet classification and localization data set. The resulting training, validation, and testing images can be found in ./data/jpeg/train, ./data/jpeg/val, and ./data/jpeg/test, respectively.

$ cd ./src
$ python build_classification_localization_data.py

ilsvr-classification-localization-data's People

Contributors

davidrpugh 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.