Coder Social home page Coder Social logo

cifar.torch's Introduction

Downloads Cifar datasets directly from http://www.cs.toronto.edu/~kriz/cifar.html and converts them to Torch tables.

Cifar-100 format

Writes two files: cifar100-train.t7, cifar100-test.t7 Each of them is a table of the form:

th> c100 = torch.load('cifar100-train.t7')
th> print(c100)
{
        labelCoarse : ByteTensor - size: 50000
        data : ByteTensor - size: 50000x3x32x32
        label : ByteTensor - size: 50000
}

Cifar-10 format

Writes two files: cifar10-train.t7, cifar10-test.t7 Each of them is a table of the form:

th> c10 = torch.load('cifar10-train.t7')
th> print(c10)
{
        data : ByteTensor - size: 50000x3x32x32
        label : ByteTensor - size: 50000
}

cifar.torch's People

Contributors

soumith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cifar.torch's Issues

errros with display.lua

I tried to run display.lua but there is a error:
qlua: cannot open <cifar100-train.t7> in mode r at /Users/abc/torch/pkg/torch/lib/TH/THDiskFile.c:640
stack traceback:
[C]: at 0x010b3ad090
[C]: at 0x14618ae0
[C]: in function 'DiskFile'
/Users/abc/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load'
display.lua:7: in main chunk
Could you please help me?

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.