Skip to main content
1 vote
1 answer
64 views

I am coding an MNIST digit recognition neural network. I thought I was finished but when I run the program to train the MNIST the accurcacy after each epoch is stable. I use MSE as my cost function ...
ProgrammingPi's user avatar
Best practices
1 vote
11 replies
6k views

I am programming an neural network to recognise digits trained on the MNIST dataset. At the moment I am reading each line separately using the following code: file = np.loadtxt(dataLocation, delimiter=...
ProgrammingPi's user avatar
1 vote
2 answers
94 views

I tried to train a model on mnist dataset. It's working fine for single digit prediction and I got 96.92% accuracy on test data too but I have everything but it's not working for multidigit. even ...
Dropper's user avatar
  • 19
0 votes
0 answers
70 views

I'm trying to use the SKLearnClassifier Keras wrapper to do some grid searching and cross validation using the sklearn library but I'm unable to get the model to work properly. def build_model(X, y, ...
Jesus Diaz Rivero's user avatar
0 votes
1 answer
105 views

I'm trying to load the MNIST dataset in Torch for R, following https://skeydan.github.io/Deep-Learning-and-Scientific-Computing-with-R-torch/overfitting.html#classic-data-augmentation: library(torch) ...
user29466667's user avatar
1 vote
1 answer
74 views

I am using MNIST in the c++ frontend, and I want to use a reduced version of it. However, the c++ frontend does not appear to have torch.utils.data.Subset or RandomizedSubsetSampler to use a subset of ...
IlBowsta's user avatar
0 votes
0 answers
90 views

Whenever I use from tensorflow.keras.utils import to_categorical or from tensorflow.keras.datasets import mnist I receive the error "could not be resolved". Did anything change over the ...
Silas Worm's user avatar
0 votes
0 answers
130 views

I've recently implemented a neural network from scratch and am now focusing on visualizing the optimization process. Specifically, I'm interested in creating a 3D visualization of the loss landscape ...
Kris's user avatar
  • 59
1 vote
0 answers
103 views

I'm fluent in R but a total beginner with deep learning. I'm trying to splice together two bits of code from the Chollet et al. Deep Learning with R book (2d ed), namely one for a CNN model for the ...
user29466667's user avatar
1 vote
1 answer
83 views

I use the MNIST dataset that contains 28x28 grayscale images represented as numpy arrays with 0-255 values. I'd like to convert images to black and white only (0 and 1) so that pixels with a value ...
Noé Mastrorillo's user avatar
1 vote
1 answer
130 views

I am trying to create a classification neural network using only the NumPY library for it. I have completely made the network and worked through the logic of it, and it seems perfectly fine to me. I ...
GRant's user avatar
  • 19
0 votes
0 answers
187 views

I am confused about the options for loading data into python. Using the mnist dataset, I have found numerous options for loading the test and trainsets. Since these options are tethered to the ...
user27357269's user avatar
0 votes
0 answers
66 views

I am trying to train my deep network on the MNIST dataset. When I try to upload the dataset to the dataloader and get the batched data through the iterator, I get modified data that differs from the ...
Kilka's user avatar
  • 1
0 votes
1 answer
81 views

I am still new to GANs and trying to implement the One to Many CGAN, on the MNIST Dataset, to generate a sequence of images (with the number of output images equal to the number of generators) from a ...
Long Trần's user avatar
0 votes
0 answers
106 views

I have trained a yolov8 model in order to detect handwritten digits on paper with MNIST dataset. The problem is that the images on the dataset are 416x416 and once the model is trained it gets really ...
Javier Montes Pérez's user avatar

15 30 50 per page
1
2 3 4 5
90