diff --git a/freqtrade/freqai/base_models/BaseTensorFlowModel.py b/freqtrade/freqai/base_models/BaseTensorFlowModel.py index f7aec1f8b..2f95b6314 100644 --- a/freqtrade/freqai/base_models/BaseTensorFlowModel.py +++ b/freqtrade/freqai/base_models/BaseTensorFlowModel.py @@ -2,11 +2,13 @@ import logging from time import time from typing import Any -from pandas import DataFrame import numpy as np +import tensorflow as tf +from pandas import DataFrame + from freqtrade.freqai.data_kitchen import FreqaiDataKitchen from freqtrade.freqai.freqai_interface import IFreqaiModel -import tensorflow as tf + logger = logging.getLogger(__name__) diff --git a/freqtrade/freqai/prediction_models/CNNPredictionModel.py b/freqtrade/freqai/prediction_models/CNNPredictionModel.py index b6ab73138..ed67088e5 100644 --- a/freqtrade/freqai/prediction_models/CNNPredictionModel.py +++ b/freqtrade/freqai/prediction_models/CNNPredictionModel.py @@ -1,14 +1,16 @@ import logging from typing import Any, Dict, Tuple -from pandas import DataFrame -from freqtrade.exceptions import OperationalException -from freqtrade.freqai.data_kitchen import FreqaiDataKitchen -import tensorflow as tf -from freqtrade.freqai.base_models.BaseTensorFlowModel import BaseTensorFlowModel, WindowGenerator -from tensorflow.keras.layers import Input, Conv1D, Dense -from tensorflow.keras.models import Model import numpy as np +import tensorflow as tf +from pandas import DataFrame +from tensorflow.keras.layers import Conv1D, Dense, Input +from tensorflow.keras.models import Model + +from freqtrade.exceptions import OperationalException +from freqtrade.freqai.base_models.BaseTensorFlowModel import BaseTensorFlowModel, WindowGenerator +from freqtrade.freqai.data_kitchen import FreqaiDataKitchen + logger = logging.getLogger(__name__)