davidMcneil / mnist

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

Change the default extracted file name #18

Open wolfrev0 opened 10 months ago

wolfrev0 commented 10 months ago

Some users (#12, #13) seem to be experiencing issues due to a mismatch between the default file name and the actual file name. I also had the same problem, and it was caused by reading a directory(train-images-idx3-ubyte) as a file. It does not matter when downloading data using the source code, but the current setting can be confusing for users who download data files manually.

current default file name: train-images-idx3-ubyte actual .gz file structure: train-images-idx3-ubyte.gz/train-images.idx3-ubyte