From 2c3a310ce2bde3a8a6b0dd1fb34350593a72cd93 Mon Sep 17 00:00:00 2001 From: robcaulk Date: Wed, 7 Dec 2022 20:30:13 +0100 Subject: [PATCH] allow DI with CNN --- freqtrade/freqai/base_models/BaseTensorFlowModel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/freqai/base_models/BaseTensorFlowModel.py b/freqtrade/freqai/base_models/BaseTensorFlowModel.py index a86a7f5e3..91133966c 100644 --- a/freqtrade/freqai/base_models/BaseTensorFlowModel.py +++ b/freqtrade/freqai/base_models/BaseTensorFlowModel.py @@ -22,9 +22,9 @@ class BaseTensorFlowModel(IFreqaiModel): def __init__(self, **kwargs): super().__init__(config=kwargs['config']) self.keras = True - if self.ft_params.get("DI_threshold", 0): - self.ft_params["DI_threshold"] = 0 - logger.warning("DI threshold is not configured for Keras models yet. Deactivating.") + # if self.ft_params.get("DI_threshold", 0): + # self.ft_params["DI_threshold"] = 0 + # logger.warning("DI threshold is not configured for Keras models yet. Deactivating.") self.dd.model_type = 'keras' def train(