From f647fb342bc8ac2dc1ae33001cb8e5a39009a911 Mon Sep 17 00:00:00 2001 From: Robert Caulk Date: Thu, 25 May 2023 16:35:06 +0200 Subject: [PATCH] Update base_tensorboard.py Remove incorrect warning message. --- freqtrade/freqai/tensorboard/base_tensorboard.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/freqtrade/freqai/tensorboard/base_tensorboard.py b/freqtrade/freqai/tensorboard/base_tensorboard.py index c2d47137e..72f47111c 100644 --- a/freqtrade/freqai/tensorboard/base_tensorboard.py +++ b/freqtrade/freqai/tensorboard/base_tensorboard.py @@ -10,8 +10,7 @@ logger = logging.getLogger(__name__) class BaseTensorboardLogger: def __init__(self, logdir: Path, activate: bool = True): - logger.warning("Tensorboard is not installed, no logs will be written." - "Ensure torch is installed, or use the torch/RL docker images") + pass def log_scalar(self, tag: str, scalar_value: Any, step: int): return @@ -23,8 +22,7 @@ class BaseTensorboardLogger: class BaseTensorBoardCallback(TrainingCallback): def __init__(self, logdir: Path, activate: bool = True): - logger.warning("Tensorboard is not installed, no logs will be written." - "Ensure torch is installed, or use the torch/RL docker images") + pass def after_iteration( self, model, epoch: int, evals_log: TrainingCallback.EvalsLog