logo
Browse Source

Set log level to error

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 2 years ago
parent
commit
44a465a8a7
  1. 2
      auto_transformers.py

2
auto_transformers.py

@ -34,6 +34,8 @@ from transformers import logging as t_logging
log = logging.getLogger('run_op')
warnings.filterwarnings('ignore')
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
log.setLevel(logging.ERROR)
t_logging.set_verbosity_error()

Loading…
Cancel
Save