Skip to content

Commit 585859d

Browse files
Merge branch 'more-tf-features' of https://github.com/bioimage-io/python-bioimage-io into more-tf-features
2 parents 7d5b7e8 + 6dba202 commit 585859d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioimageio/core/weight_converter/keras/tensorflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# adapted from
1515
# https://github.com/deepimagej/pydeepimagej/blob/master/pydeepimagej/yaml/create_config.py#L236
1616
def _convert_tf1(keras_weight_path, output_path, zip_weights):
17-
1817
def build_tf_model():
1918
keras_model = keras.models.load_model(keras_weight_path)
2019

@@ -37,6 +36,7 @@ def build_tf_model():
3736
except Exception:
3837
# if the above fails try to export with the standalone keras
3938
import keras
39+
4040
build_tf_model()
4141

4242
if zip_weights:

0 commit comments

Comments
 (0)