davidMcneil / mnist

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

README example uses non-existing method #1

Closed nbigaouette-eai closed 7 years ago

nbigaouette-eai commented 7 years ago

The README has:

    let Mnist { trn_img, trn_lbl, .. } = MnistBuilder::new()
         .image_format_28x28()
         .label_format_1x1()
[...]

but both image_format_28x28() and label_format_1x1() are invalid methods.

They should probably be removed from the example (as is the case in the documentation).

davidMcneil commented 7 years ago

Thanks! That example was from an outdated version.