| Crates.io | cifar_10_loader |
| lib.rs | cifar_10_loader |
| version | 0.2.0 |
| created_at | 2017-10-21 07:59:08.314888+00 |
| updated_at | 2017-12-20 10:39:13.973602+00 |
| description | Crate of loading cifar10 |
| homepage | |
| repository | https://github.com/29rou/cifar-10-loader-rs |
| max_upload_size | |
| id | 36439 |
| size | 21,717 |
Crate of loading cifar10 implemented by Rust
Cifar10 Simple Loader
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();