From cd128f61aad9eddebf7e4425c356765581add479 Mon Sep 17 00:00:00 2001 From: cneud <952378+cneud@users.noreply.github.com> Date: Tue, 19 Mar 2024 20:32:25 +0100 Subject: [PATCH] use tf1 compatibility for keras backend --- eynollah/eynollah/eynollah.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eynollah/eynollah/eynollah.py b/eynollah/eynollah/eynollah.py index a68e26f..300fc53 100644 --- a/eynollah/eynollah/eynollah.py +++ b/eynollah/eynollah/eynollah.py @@ -31,7 +31,7 @@ warnings.filterwarnings("ignore") from scipy.signal import find_peaks import matplotlib.pyplot as plt from scipy.ndimage import gaussian_filter1d -from tensorflow.python.keras.backend import set_session +from tensorflow.compat.v1.keras.backend import set_session from tensorflow.keras import layers from .utils.contour import (