[][src]Function darknet::load_labels

pub fn load_labels<P: AsRef<Path> + ?Sized>(
    file_name: &P
) -> Result<Vec<String>, Error>

Reads file line-by-line and returns vector of strings. Useful for loading object labels from file.