In one of our blogs, we had gone through “What is EMNIST dataset and data summary?“.  There are prebuilt python libraries available from Tensorflow, Pytorch, Extended MNIST, etc.

In this blog, I am going to show you:

  • Import EMNIST dataset
  • Import EMNIST training samples
  • Print first and 10 letters from training samples.

You can find a full code in this blog, and also you can download it from the GitHub repository.

Copy to Clipboard
Collecting emnistNote: you may need to restart the kernel to use updated packages.

  Downloading emnist-0.0-py3-none-any.whl (7.3 kB)
Requirement already satisfied: tqdm in c:\anaconda3\lib\site-packages (from emnist) (4.50.2)
Requirement already satisfied: requests in c:\anaconda3\lib\site-packages (from emnist) (2.24.0)
Requirement already satisfied: numpy in c:\anaconda3\lib\site-packages (from emnist) (1.19.2)
Requirement already satisfied: idna<3,>=2.5 in c:\anaconda3\lib\site-packages (from requests->emnist) 
(2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in 
c:\anaconda3\lib\site-packages (from requests->emnist) (1.25.11)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\anaconda3\lib\site-packages 
(from requests->emnist) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\anaconda3\lib\site-packages 
(from requests->emnist) (2020.6.20)
Installing collected packages: emnist
Successfully installed emnist-0.0
Copy to Clipboard
EMNIST data load
Copy to Clipboard
(124800, 28, 28)
Copy to Clipboard
EMNIST Image
Copy to Clipboard