Crates.io | rs-cinic-10-burn |
lib.rs | rs-cinic-10-burn |
version | 0.2.0 |
created_at | 2025-04-23 20:35:33.464616+00 |
updated_at | 2025-07-18 17:12:54.40694+00 |
description | Burn bindings for rs-cinic-10 |
homepage | |
repository | https://github.com/crutcher/rs-cinic-10 |
max_upload_size | |
id | 1646284 |
size | 153,195 |
Download the CINIC-10 dataset from the official website: CINIC-10
Extract the downloaded dataset to a directory of your choice.
There are two options to configure the path to the CINIC-10 dataset:
Environment Variable: Set the CINIC10_PATH
environment variable to the path of the extracted CINIC-10 dataset. This can be done in your terminal or command prompt:
export CINIC10_PATH=/path/to/cinic-10
Setup Code: Alternatively, you can set the default path:
use cinic_10_index::set_default_path;
fn main() {
set_default_path("/path/to/cinic-10");
// ...
}
You can load the default index using the following code:
use cinic_10_index::Cinic10Index;
fn main() {
let index: Cinic10Index = Default::default();
...
}