gskielian / JPG-PNG-to-MNIST-NN-Format

Python/Bash scripts for creating custom Neural Net Training Data -- this repo is for the MNIST format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not taking in images from folder 22

A-Fitz opened this issue · comments

This script is working perfectly, except it is not taking in files from the folder named 22. I have 26 folders in both testing and training, and image is loaded, converted, and compressed perfectly, except for folder #22.

I can make a folder #27, and the script will take in the images, same with 28 and so on. It's not my bitmaps because the same thing happens with the base EMNIST files.

Thanks.

Fixed by changing:

hexval = "{0:#0{1}x}".format(len(FileList),6)

to

hexval = hex(int(len(FileList)))