Skip to content

Instantly share code, notes, and snippets.

@Tob-iee
Created September 13, 2023 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tob-iee/0a3e8ed8b41ea53d9fa5591f389b415f to your computer and use it in GitHub Desktop.
Save Tob-iee/0a3e8ed8b41ea53d9fa5591f389b415f to your computer and use it in GitHub Desktop.
Get the label names for the training dataset version from its label objects.
labels = train_dataset_version.list_labels()
label_names = [label.name for label in labels]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment