davidMcneil / mnist

MNIST data set parser https://crates.io/crates/mnist
20 stars 9 forks source link

Expected filename issue #2

Closed nbigaouette-eai closed 7 years ago

nbigaouette-eai commented 7 years ago

MnistBuilder expects the MNIST data to be, for example, data/train-images.idx3-ubyte. But the Mnist web size gives train-images-idx3-ubyte.gz; Note the .idx3 vs -idx3.

This means that I have to rename the files after having downloaded the original ones, which can be confusing.

I guess MnistBuilder should expect files with .idx3 and not -idx3?

davidMcneil commented 7 years ago

Thanks! My file manager simply decided to put the . there when it extracted the files. Using the filepath with all -s makes much more sense.