Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.13 KB

from-subdir-ic.md

File metadata and controls

27 lines (22 loc) · 1.13 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 (default: None)
  -I [INPUT_LIST ...], --input_list [INPUT_LIST ...]
                        Path to the text file(s) listing the directories to
                        use (default: None)