Skip to content

Instantly share code, notes, and snippets.

@ChunML
Created December 12, 2018 02:34
Show Gist options
  • Save ChunML/1a0238713f4640da972f27af6af0151b to your computer and use it in GitHub Desktop.
Save ChunML/1a0238713f4640da972f27af6af0151b to your computer and use it in GitHub Desktop.
data_root = './data/all'
label_path = './data/all/labels.csv'
filenames, labels, int_to_breed, breed_to_int = read_labels_from_file(data_root, label_path)
list(zip(*(filenames, labels)))[:5]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment