bob.learn.pytorch issueshttps://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues2019-10-07T11:58:33Zhttps://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/25Logging is wrong in some architectures2019-10-07T11:58:33ZGuillaume HEUSCHLogging is wrong in some architecturesThe 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 verbo...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
```python
logging.DEBUG,
logging.INFO,
logging.WARNING,
logging.ERROR,
logging.CRITICAL
```
which, using the bob logger corresponds to:
```python
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.pyGuillaume HEUSCHGuillaume HEUSCH