use tf1 compatibility for keras backend

refactoring-2024-08-merged^2
cneud 9 months ago
parent bfde86d247
commit cd128f61aa

@ -31,7 +31,7 @@ warnings.filterwarnings("ignore")
from scipy.signal import find_peaks from scipy.signal import find_peaks
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from scipy.ndimage import gaussian_filter1d 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 tensorflow.keras import layers
from .utils.contour import ( from .utils.contour import (

Loading…
Cancel
Save