Skip to content

Logging is wrong in some architectures

The logging level is not set properly at the moment:

there is a verbosity_level option in the __init__ function of some model, which expects an int. But since the used logger is not the bob one but the python one, the verbosity is not set properly.

Indeed, verbosity level on the python logging module should be expressed as

logging.DEBUG,
logging.INFO,
logging.WARNING,
logging.ERROR,
logging.CRITICAL

which, using the bob logger corresponds to:

log_level = {
      0: logging.ERROR,
      1: logging.WARNING,
      2: logging.INFO,
      3: logging.DEBUG
  }

Check https://gitlab.idiap.ch/bob/bob.extension/blob/master/bob/extension/log.py

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information