mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-10 04:39:54 +02:00
use tf1 compatibility for keras backend
This commit is contained in:
parent
6018b354aa
commit
f09b7c1bef
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ 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
|
||||
# use tf1 compatibility for keras backend
|
||||
from tensorflow.compat.v1.keras.backend import set_session
|
||||
from tensorflow.keras import layers
|
||||
|
||||
from .utils.contour import (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue