Skip to content

Commit

Permalink
fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Liyulingyue committed Apr 24, 2024
1 parent 713bb72 commit f8ee61a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,10 +795,11 @@ def preprocess(is_train=False):

loggers = []

if "use_visualdl" in config["Global"] and config["Global"]["use_visualdl"]: save_model_dir = config['Global']['save_model_dir']
if "use_visualdl" in config["Global"] and config["Global"]["use_visualdl"]:
logger.warning(
"You are using VisualDL, the VisualDL is deprecated and "
"removed in ppocr!")
"removed in ppocr!"
)
log_writer = None
if (
"use_wandb" in config["Global"] and config["Global"]["use_wandb"]
Expand Down

0 comments on commit f8ee61a

Please sign in to comment.