Questions tagged [mnist]

For questions that involve the MNIST dataset, but note that questions asking for datasets are off-topic here.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

How to let the AI trained on MNIST recognize my own hand-written number?

I have already trained a simple model without using any frameworks to recognize the hand-written numbers from the MNIST dataset. Actually it's just a copy of the example on the book Grokking ...
Jason Jia's user avatar
0 votes
0 answers
15 views

Model gets stuck at an almost static error

I am trying to solve MNIST. If I limit the training samples to just 0 and 1 everything works flawlessly. With the whole training model it gets stuck at a certain loss and all the predictions are just ...
Voicu Vlad's user avatar
3 votes
2 answers
635 views

Implementing a GAN with control over the output class

I am trying to accomplish the reverse of the typical MNIST in machine learning using a GAN - instead of predicting a number from an image of a digit, I want to reconstruct an image of a digit from a ...
JS4137's user avatar
  • 143
0 votes
0 answers
38 views

Reproducing Knowledge Distillation on MNIST data

I'm trying to implement Knowledge Distillation, specifically to reproduce the MNIST example given in the paper. My (PyTorch) implementation can be found here. I would expect it is very self-evident ...
Maverick Meerkat's user avatar
3 votes
1 answer
70 views

How can I make an MNIST digit recognizer that rejects out-of-distribution data?

I've done an MNIST digit recognition neural network. When you put images in that are completely unlike its training data, it still tries to classify them as digits. Sometimes it strongly classifies ...
river's user avatar
  • 133
1 vote
3 answers
67 views

Can I use 4 neurons for output layer to classify hand written digit?

Hello world of ANN usually uses MNIST hand written digit data. For classes there are 10, therefore it takes 10 neurons in the ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
15 views

Adding MNIST images by using them as channel inputs

I'm trying to create a generative neural network that can offer "basic sum" mathematical solutions using the MNIST dataset from a conditional input. I've curated a dataset of MNIST examples ...
Zintho's user avatar
  • 1
2 votes
1 answer
65 views

Are the "artifacts" in select Keras MNIST training images really there or is my download corrupt?

I'm having fun with a ludicrously well known and used dataset: mnist. I am doing it with a huge and well known tool: keras. Please excuse the red dots, something else I was doing. I have otherwise ...
EngrStudent's user avatar
0 votes
1 answer
80 views

Training and validation loss are almost the same (perfect fit?)

I am developing an ANN from scratch which classifies MNIST digits. These are the curves I get using only one hidden layer composed of 100 neurons activated by ...
tail's user avatar
  • 157
1 vote
1 answer
40 views

How can I use my neural network model, trained on MNIST database, on "real word" digits such as my handwritten digits?

I have developed a feed-forward ANN from scratch trained (and evaluated) on MNIST database, which contains 60,000 + 10,000 handwritten digits samples. Can I test my model on other digits, for example ...
tail's user avatar
  • 157
3 votes
4 answers
1k views

How is MNIST only providing the training and the test sets? What about the validation?

I was taught that, usually, a dataset has to be divided into three parts: Training set - for learning purposes Validation set - for picking the model which minimize the loss on this set Test test - ...
tail's user avatar
  • 157
2 votes
1 answer
210 views

Why do we subtract logsumexp from the outputs of this neural network?

I'm trying to understand this tutorial for Jax. Here's an excerpt. It's for a neural net that is designed to classify MNIST images: ...
Foobar's user avatar
  • 151
0 votes
1 answer
53 views

How can a convnet learn with a 3x3 output layer?

I was studying the "Deep Learning with Python" book, I came across this MNIST example and this is how the last conv2d layer looks like: ...
Abcd's user avatar
  • 101
0 votes
0 answers
90 views

What model to train to restore MNIST test dataset

I came across this problem, and am not sure where to start. What model would work best for this problem and why? Imagine the digits in the test set of the MNIST dataset (http://yann.lecun.com/exdb/...
Sharhad Bashar's user avatar
7 votes
2 answers
290 views

How can a neural network distinguish a rotated 6 and 9 digits?

Rotated MNIST is a popular dataset for benchmarking models equivariant to rotations on $\mathbb{R}^2$, described by $SO(2)$ group or its discrete subgroups like $\mathbb{Z}^{n}$: Group equivariant ...
spiridon_the_sun_rotator's user avatar
3 votes
1 answer
219 views

Can neural networks learn noise?

I'm interested in the following graphs. A neural network was trained to recognise digits from the MNIST dataset and then the labels were randomly shuffled and the following behaviour was observed. ...
Featherball's user avatar
-2 votes
1 answer
160 views

MNIST with fewer pixels? [closed]

MNIST images are 28x28 pixels. Perhaps a silly question: is there anything like MNIST, but whose images have fewer pixels?
Ahmed Malik's user avatar
0 votes
0 answers
167 views

Why would my neural network have either an accuracy of 90% or 10% on the validation data, given a random initialization?

I'm making a custom neural network framework (in C++, if that is of any help). When I train the model on MNIST, depending on how happy the network is feeling, it'll give me either 90%+ accuracy, or ...
Ilknur Mustafa's user avatar
1 vote
0 answers
589 views

Why does the VAE using a KL-divergence with a non-standard mean does not produce good images?

I know I can make a VAE do generation with a mean of 0 and std-dev of 1. I tested it with the following loss function: ...
axon's user avatar
  • 53
2 votes
0 answers
71 views

Statistical method for selecting features for classification

I'm working on a classifier for the famous MNIST handwritten data set. I want to create a few features on my own, and I want to be able to estimate which feature might perform better before actually ...
IsolatedSushi's user avatar
0 votes
2 answers
985 views

What is the right way to train a generator in a GAN?

I am not fully understanding how to train a GAN's generator. I have a few questions below, but let me first describe what I am doing. I am using the MNIST dataset. I generate a batch of random images ...
AntonYellow's user avatar
0 votes
0 answers
151 views

Is there a way to reduce the RMSE error when training a neural network to recognise MNIST digits using ANFIS?

I wanted to build a digit recognition neural network using MATLAB ANFIS kit. I started by using the MNIST database and I figured out it's almost impossible to classify 784 dimension data using ANFIS. ...
Mohamadreza Abasian's user avatar