Crate cifar_10_loader [] [src]

Load Cifar10

Cifar10 Simple Loader

Examples

Download CIFAR-10 binary version and extact.

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();

Reexports

pub extern crate image;

Structs

CifarDataset

CifarDataset is Top Leve Struct of cifar_10_loader.

CifarImage

CifarImage is inner Struct of CifarDataset.