Skip to content

Commit 1ad1674

Browse files
ashwinbxzhewei
authored andcommitted
Set logging level correctly in utils/net.py
Summary: AFAIK, this is what the rest of the codebase does. I don't want to see logger.debug() messages show up during normal runs. Differential Revision: D9071531 fbshipit-source-id: 4ac5ef57ee47bf958e35d723c379f695554f0ef0
1 parent 55f744b commit 1ad1674

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

detectron/utils/net.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import detectron.utils.c2 as c2_utils
3838

3939
logger = logging.getLogger(__name__)
40+
logger.setLevel(logging.INFO)
4041

4142

4243
def initialize_from_weights_file(model, weights_file, broadcast=True):

0 commit comments

Comments
 (0)