anoopjk / Deeplearning-EMNIST-

1 stars 0 forks source link

Request for help - Upper/lowercase labels #1

Open boris314159 opened 7 years ago

boris314159 commented 7 years ago

Hello, I am interested in research using the EMNIST letters dataset. It seems you've figured out how to decode upper/lowercase programmatically. Can you share information on how to label the 26 nominal classes as upper or lowercase to arrive at the 52 total classes? Thanks very much.

anoopjk commented 7 years ago

Hi, You need to download EMNIST byclass dataset which has upper, lower case letters and 0-9 digits in total 62 classes. each folder has subfolders train_dir and hs_7(test dir) you can place them in the train, validation( split from train) and test folders and keras will automatically assign labels to it alphanumerically. you can get the label map from data_generator.flow_from_directory.class_indices, I guess you need to look it up.

boris314159 commented 7 years ago

Thanks!