We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a451203 commit 8e171c9Copy full SHA for 8e171c9
deeplc/deeplc.py
@@ -70,7 +70,11 @@
70
from psm_utils.io.peptide_record import peprec_to_proforma
71
from psm_utils.psm import PSM
72
from psm_utils.psm_list import PSMList
73
-from tensorflow.keras.models import load_model
+
74
+try:
75
+ from tensorflow.keras.models import load_model
76
+except:
77
+ from tensorflow.python.keras.models import load_model
78
from tensorflow.python.eager import context
79
80
from deeplc._exceptions import CalibrationError
0 commit comments