Skip to main content

load_labels

Function load_labels 

Source
pub fn load_labels(cache_dir: &Path, source: &str) -> Vec<String>
Expand description

Classifier labels from config.json id2label, ordered by index. Empty if absent or unparseable.