Skip to content

AhmedAAkl/saving_mnist_binary_files_as_jpg_images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Saving EMNIST binary files

This code is similar to save cifar10 one but in this code we use the tensorflow methods that extarct images and extract labels then we reshape, transpose and save the images in intended folders to be ready for keras users.

The output of this code is perfect for keras users that uses the flow from directory method

Dataset preparation

Dataset preparation is the hardest step in machine learning. it takes 90% of effort in the process on machine learning.

After a long search for code that converts the binary files of mnist to jpg images and save them in folders, nothing was found.

EMNIST

EMNIST binary files are the same as mnist, so this code is applicable to be applied for any type of mnist version of 10 classes

if you want to apply it for more than 10 classes you need to edit it, it is easy and clear.

a donwload link for MNIST dataset

http://yann.lecun.com/exdb/mnist/

About

Saving MNIST dataset in separate folders as jpg

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages