GithubHelp home page GithubHelp logo

Comments (3)

parthg avatar parthg commented on June 15, 2024

Hi,

Any update on this?

Thanks.

from deepnet.

nian-liu avatar nian-liu commented on June 15, 2024

Hi Sharath,
You can download and extract the MNIST dataset from http://www.cs.toronto.edu/~nitish/deepnet/mnist.tar.gz , and study the data format of this example carefully. Or you can do as below:
First, you should transfer your sample matrices into proper form, which means 2-D matrices, one sample in a row, one pixel in a column, for example, if your image is of size 8_8, and you have 100 training images, then you should have a sample matrix of size 100_64, so do the label matrices;
Next, you should transfer the .mat files into python compatible format—— .npy files. For example, I got a matlab sample file named fmri.mat, which has the form mentioned above, then I should use the commands below in a python command window (console):

import scipy.io as sio
data=sio.loadmat('fmri.mat')
data=data['fmri']
data=data.astype('float32')
np.save('fmri.npy',data)

  Make sure that your .mat files are in the python working directory. Maybe you should install the scipy packet in your system.
  For my atypical English, you can ask me if you have any questions.

from deepnet.

sharathchandra92 avatar sharathchandra92 commented on June 15, 2024

@nian-liu Thanks a lot for your answer.
Can we share our mail ID - I have a few questions and would like to get some clarifications from you, as you are more experienced in using this module.
My ID is [email protected]
Please send me a mail.
Thanks :)

from deepnet.

Related Issues (20)

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.