rs-cinic-10-burn

Crates.iors-cinic-10-burn
lib.rsrs-cinic-10-burn
version0.2.0
created_at2025-04-23 20:35:33.464616+00
updated_at2025-07-18 17:12:54.40694+00
descriptionBurn bindings for rs-cinic-10
homepage
repositoryhttps://github.com/crutcher/rs-cinic-10
max_upload_size
id1646284
size153,195
Crutcher Dunnavant (crutcher)

documentation

README

Setup

1. Download / Install CINIC-10

Download the CINIC-10 dataset from the official website: CINIC-10

Extract the downloaded dataset to a directory of your choice.

2. Configure CINIC10_PATH

There are two options to configure the path to the CINIC-10 dataset:

  1. 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
    
  2. 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");
    
     // ...
    }
    

3. Load default Index

You can load the default index using the following code:

use cinic_10_index::Cinic10Index;

fn main() {
   let index: Cinic10Index = Default::default();
   ...
}
Commit count: 18

cargo fmt