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.
2 parents 7d5b7e8 + 6dba202 commit 585859dCopy full SHA for 585859d
bioimageio/core/weight_converter/keras/tensorflow.py
@@ -14,7 +14,6 @@
14
# adapted from
15
# https://github.com/deepimagej/pydeepimagej/blob/master/pydeepimagej/yaml/create_config.py#L236
16
def _convert_tf1(keras_weight_path, output_path, zip_weights):
17
-
18
def build_tf_model():
19
keras_model = keras.models.load_model(keras_weight_path)
20
@@ -37,6 +36,7 @@ def build_tf_model():
37
36
except Exception:
38
# if the above fails try to export with the standalone keras
39
import keras
+
40
build_tf_model()
41
42
if zip_weights:
0 commit comments