Open 2605759123 opened 2 years ago
I find the logging level is set to NOTSET in some places, which cause the INFO level message can't be output. For example: https://github.com/aim-uofa/AdelaiDet/blob/4a3a1f7372c35b48ebf5f6adc59f135a0fa28d60/adet/data/dataset_mapper.py#L27 which cause the below message can't be output: https://github.com/aim-uofa/AdelaiDet/blob/4a3a1f7372c35b48ebf5f6adc59f135a0fa28d60/adet/data/dataset_mapper.py#L61-L63 Is this a expect behavior? If not, I would like to submit a pull request.
NOTSET
INFO
You can run tools/visualize_data.py and observe whether the following code outputs normally. https://github.com/aim-uofa/AdelaiDet/blob/4a3a1f7372c35b48ebf5f6adc59f135a0fa28d60/adet/data/dataset_mapper.py#L61-L63
tools/visualize_data.py
I find the logging level is set to
NOTSET
in some places, which cause theINFO
level message can't be output. For example:https://github.com/aim-uofa/AdelaiDet/blob/4a3a1f7372c35b48ebf5f6adc59f135a0fa28d60/adet/data/dataset_mapper.py#L27
which cause the below message can't be output:
https://github.com/aim-uofa/AdelaiDet/blob/4a3a1f7372c35b48ebf5f6adc59f135a0fa28d60/adet/data/dataset_mapper.py#L61-L63
Is this a expect behavior? If not, I would like to submit a pull request.
How to reproduce
You can run
tools/visualize_data.py
and observe whether the following code outputs normally. https://github.com/aim-uofa/AdelaiDet/blob/4a3a1f7372c35b48ebf5f6adc59f135a0fa28d60/adet/data/dataset_mapper.py#L61-L63