mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
type: ignore the offending tensorflow call
This commit is contained in:
parent
c6f3a3bbca
commit
6d3c94a739
|
@ -43,7 +43,7 @@ class TensorboardCallback(BaseCallback):
|
|||
def _on_step(self) -> bool:
|
||||
|
||||
local_info = self.locals["infos"][0]
|
||||
tensorboard_metrics = self.training_env.get_attr("tensorboard_metrics")[0]
|
||||
tensorboard_metrics = self.training_env.get_attr("tensorboard_metrics")[0] # type: ignore
|
||||
|
||||
for metric in local_info:
|
||||
if metric not in ["episode", "terminal_observation"]:
|
||||
|
|
Loading…
Reference in New Issue
Block a user