How to use wai-annotations from the command-line#
To convert a dataset using wai-annotations from the command-line, run the following command:
wai-annotations convert [CONVERSION OPTIONS] \ input-type [INPUT OPTIONS] \ [ISP/XDC [ISP/XDC OPTIONS]]... \ output-type [OUTPUT OPTIONS]
For the available conversion options, see here.
To list of available plugins in your environment, run:
For the available domains in your environment, run:
-h/--help option can be given at any point in a command-string to provide the options available at
that point in the command.
Examples of how to run wai-annotations can be found here.
By default, all logging messages are being output. To change that, you can use the
variable, using one of the following levels (the higher the number the fewer messages):
- 10: DEBUG
- 20: INFO
- 30: WARNING
- 40: ERROR
A number of libraries have their default logging set to
DEBUG, which can output
unnecessary output in the console. wai.annotations sets the logging level for
some libraries to a higher level therefore. However, the user can adjust this again
via environment variables, in case the logging output is required: