Giter Club home page Giter Club logo

pydatset's People

Contributors

dnlcrl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pydatset's Issues

Import CIFAR-10

Hi guys,

I am already imported the MNIST dataset and train on to the DBN, from the following code

from sklearn import datasets
print "[X] downloading data..."
dataset = datasets.fetch_mldata("MNIST Original")

(trainX, testX, trainY, testY) = train_test_split(
dataset.data / 255.0, dataset.target.astype("int0"), test_size = 0.16)

and the data was in this shape

trainX = [58000L,784L)
testX = [12000L, 10L)
trainX = [58000L,)
testX = [12000L, )

Please, I need help to import the cifar10 in the same way I imported the MNIST and return the same format. I have tried researching on the internet but there is hardly any help available. Any expert help related to solving this error will be much appreciated.

regards

cifar dataset

can anyone explain stepwise procedure for load cifar 10 dataset in python from downloading to loading data python

How to load the CIFAR data into python

I have downloaded the CIFAR-10 data from http://www.cs.toronto.edu/~kriz/cifar.html and uncompressed it into my destination folder. By using the Python environment, the following codes are passed at first stage but found the problem in calling this data. I am newbie user please help.

import numpy as np
Xtr, Ytr, Xte, Yte = load_CIFAR10('data/cifar10/')

I found the below mentioned error
Traceback (most recent call last):
File "", line 1, in
NameError: name 'load_CIFAR10' is not defined

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.