4 releases

Uses old Rust 2015

0.2.0 Dec 20, 2017
0.1.18 Oct 25, 2017
0.1.2 Dec 20, 2017

#113 in #loader

MIT license

21KB
441 lines

cifar-10-loader-rs

Crate of loading cifar10 implemented by Rust

Load Cifar10

Cifar10 Simple Loader

Documentation

crates.io

Examples

Download CIFAR-10 binary version and extract.

extern crate cifar_10_loader;
use cifar_10_loader::CifarDataset;

//This path is directory of cifar-10-batches-bin.
//It's extracted from CIFAR-10 binary version.
let cifar10_path = "./cifar-10-batches-bin/";
let cifar_dataset = CifarDataset::new(cifar10_path).unwrap();

Dependencies

~7–15MB
~206K SLoC