Skip to content

This repo contains the code to convert .mat format emnist datafiles to local filesystem for better visualization in a proper formatter order.

Notifications You must be signed in to change notification settings

srijan14/EMNIST-character-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMNIST-character-data

This repo contains the code to convert .mat format emnist datafiles to local filesystem for better visualization in a proper formatted order that can be used for training.

Prerequisites

  1. Python 3.7
  2. pip 19.0.3

Installing

pip install -r requirements.txt

Running

To convert the eminst data files (.mat format) to local filesystem in a proper train-test split format:

python create_dataset.py data_path split_param

data_path is the path for the .mat file

split_param is just a helper string parameter used to signify the split type for folder structure creation.

Example

python create_dataset.py ./eminst_mat/byclass/emnist-byclass.mat byclass

Running the above command creates a folder structure, a sample of which is present in the sample_output folder.

Please read this for more details on the dataset and different splits.

Click here to download the EMINST character dataset.

About

This repo contains the code to convert .mat format emnist datafiles to local filesystem for better visualization in a proper formatter order.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages