list-labels list unique labels that are ever annotated in the JSON files you provide:

Untitled

Usage

As the argument, you can pass either a JSON file or directory of JSON files.

labelmetk list-labels [OPTIONS] FILE_OR_DIR

Examples

Show the list of labels

If you’d like to show the list of labels for your dataset, pass the directory:

labelmetk list-labels small_dataset

Untitled

Export the list of labels to a file

If you’d like to export the list of labels into another file (e.g., labels.txt), you can do so by:

labelmetk list-labels small_dataset > labels.txt

Untitled