Questions tagged [mnist]

MNIST is a database of handwritten digits collected by Yann Lecun and widely used in machine learning research.

MNIST is a database of handwritten digits collected by Yann Lecun, a famous computer scientist, when he was working at AT&T-Bell Labs on the problem of automation of check readings for banks. The data set is a benchmark widely used in machine learning research. Due to its small size it is also widely used for educational purposes.

Here is the full documentation for MNIST database of handwritten digits:

It is a good database for people who want to try learning techniques and pattern recognition methods on real-world data while spending minimal efforts on preprocessing and formatting.

1329 questions
-3
votes
1 answer

How do i get the value of the neural network predicted for a single image?

I am trying to create a simple python script that will allow you to put in picture of a handwritten digit and the NN model will try to make a guess as to what digit it is so far I have successfully made the model as well as tested it but when it…
nader2929
  • 131
  • 7
-3
votes
1 answer

MNIST Dataset Structure

I have downloaded a code that implements a genetic algorithm. Its using a default data set mnist. I want to change the default dataset 'mnist' but at the same time I want to know the structure of the dataset so that I can format my data to the way…
-3
votes
2 answers

Concatenate 2d list in python

I'm trying to create a 2d list with shape of [n,784] (the same shape as the MNIST image batches) using multiple [1,784] lists. mylist.append(element) doesn't give me what I'm looking for, where mylist is the 2d [n,784] list and element is the…
Xiaofan Mu
  • 17
  • 2
  • 6
-3
votes
1 answer

I use CNN to classification MNIST with TensorFlow. But I want to read the dataset with TFRecordrs. However I only get 10% accuracy

I want to classification the dataset of mnist in my way with TensorFlow. First, converting the dataset into a TFRecords file. Then, reading this file with tf.TFRecodsReader. Finally,training the dataset. Existing problems:The code doesn't have any…
xmy
  • 1
  • 1
-4
votes
1 answer

why array is smaller than matrix smaller than vector ? c++

I am trying to read the mnist file and put the elements in a vector of matrix. code to read mnist for(int r = 0; r < n_rows; ++r) { for(int c = 0; c < n_cols; ++c) { unsigned char temp = 0; file.read((char*)&temp,…
Pat cm pro
  • 75
  • 6
-4
votes
1 answer

How do i simple resize mnist dataset with cv2 library?

Im trying to make a handwritten digit recognition program with machine learning. As the title says, i want to simple resize mnist dataset with cv2 library. And i want the resize to be done before normalizing the data, so that its the resized data…
Peter Barnes
  • 79
  • 2
  • 9
-4
votes
1 answer

Accuracy on 1st epoch - MNIST Deep Learning example

Im new to the world of Deep Learning and i would like to clarify something on my 1st Deep learning code, the MNIST example. Maybe also i'm completely wrong BTW so please take it easy :) I have split the training data to batches, each one with a size…
-4
votes
1 answer

Loss CaffeNet vs LeNet on MNIST dataset

I want to train CaffeNet on the MNIST dataset in Caffe. However, I noticed that after 100 iterations the loss just slightly dropped (from 2.66364 to 2.29882). However, when I use LeNet on MNIST, the loss goes from 2.41197 to 0.22359, after 100…
1 2 3
88
89