[logging] remove no longer needed verbosity override (#7100)

This commit is contained in:
Stas Bekman
2020-09-15 01:01:14 -07:00
committed by GitHub
parent 2bf70e2150
commit b0cbcdb05b
10 changed files with 7 additions and 10 deletions

View File

@@ -678,7 +678,6 @@ def main():
checkpoints = list(
os.path.dirname(c) for c in sorted(glob.glob(args.output_dir + "/**/" + WEIGHTS_NAME, recursive=True))
)
logging.getLogger("transformers.modeling_utils").setLevel(logging.WARN) # Reduce model loading logs
logger.info("Evaluate the following checkpoints: %s", checkpoints)