Skip to content

Commit

Permalink
fix_resume_logger
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Zhang <pengz@uber.com>
  • Loading branch information
irasit committed Jan 20, 2022
1 parent a5edcd0 commit 0fe0b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions horovod/spark/lightning/remote.py
Expand Up @@ -123,8 +123,8 @@ def train(serialized_model):
train_logger = TensorBoardLogger(logs_path)
print(f"Setup logger: Using TensorBoardLogger: {train_logger}")

elif isinstance(logger, CometLogger) and logger._experiment_key is None:
# Resume logger experiment key if passed correctly from CPU.
elif isinstance(logger, CometLogger) and logger_experiment_key is None:
# Resume logger experiment with new log path if key passed correctly from CPU.
train_logger = CometLogger(
save_dir=logs_path,
api_key=logger.api_key,
Expand Down

0 comments on commit 0fe0b05

Please sign in to comment.