Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.42 KB

from-subdir-ic.md

File metadata and controls

35 lines (28 loc) · 1.42 KB

from-subdir-ic

  • generates: idc.api.ImageClassificationData

Loads images from sub-directories, uses the name of the sub-directory as classification label.

usage: from-subdir-ic [-h] [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                      [-N LOGGER_NAME] [-i [INPUT ...]] [-I [INPUT_LIST ...]]

Loads images from sub-directories, uses the name of the sub-directory as
classification label.

options:
  -h, --help            show this help message and exit
  -l {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        The logging level to use. (default: WARN)
  -N LOGGER_NAME, --logger_name LOGGER_NAME
                        The custom name to use for the logger, uses the plugin
                        name by default (default: None)
  -i [INPUT ...], --input [INPUT ...]
                        Path to the directory with the sub-directories
                        containing the images; Supported placeholders: {HOME},
                        {CWD}, {TMP} (default: None)
  -I [INPUT_LIST ...], --input_list [INPUT_LIST ...]
                        Path to the text file(s) listing the directories to
                        use; Supported placeholders: {HOME}, {CWD}, {TMP}
                        (default: None)

Available placeholders:

  • {HOME}: The home directory of the current user.
  • {CWD}: The current working directory.
  • {TMP}: The temp directory.