Skip to main content
1 vote
2 answers
72 views

MNIST multi digit prediction [closed]

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
45 views

Distributed Tensorflow with mulitple GPUS training MNIST with Optuna is stuck when training

I created a 5 GPU Cluster using three nodes/machines locally using the tensorflow.distributed.MultiWorkerMirrored Strategy. One machine has the Apple M1 Pro Metals GPU, the other two nodes has NVIDIA ...
vinhdiesal's user avatar
0 votes
0 answers
56 views

Keras SKLearnClassifier wrapper can't fit MNIST data

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
0 answers
52 views

How is MNIST structured in Torch for R and how can I structure my own dataset the same way?

[NOTE: It turned out to be much easier to do what I wanted to do by building on another CNN example in the same textbook: https://skeydan.github.io/Deep-Learning-and-Scientific-Computing-with-R-torch/...
user29466667's user avatar
0 votes
1 answer
83 views

Problems downloading a dataset for Torch for R

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
66 views

Use subset of dataset in c++ frontend

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
61 views

Why Does My High-Accuracy MNIST Classifier Fail on User-Drawn Digits in React.js?

I trained a simple binary classifier on the MNIST dataset, achieving 99%+ accuracy on test data. However, when I integrate it into a React.js app where users draw digits on a canvas, the model ...
Yilmaz's user avatar
  • 50.9k
0 votes
0 answers
38 views

MNIST dataset file structure

Can somebody please explain me the file structure of downloaded MNIST datase from Kaggle, via kagglehub as zip(23MB) file, when unzip I get these: folder: t10k-images-idx3-ubyte --> (inside the ...
denis's user avatar
  • 1
0 votes
0 answers
71 views

Error when importing to_categorical from tensorflow.keras.utils

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
96 views

Gradient descent 3D visualization Python

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
78 views

How can I apply data augmentation to MNIST images in R's keras package?

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
72 views

Numpy grayscale image to black and white

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
123 views

Not reaching optimal parameter values for my neural network

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
138 views

options for loading mnist dataset in python

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
55 views

The DataLoader in PyTorch modifies my data

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

15 30 50 per page
1
2 3 4 5
90