Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion export.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def export_tfjs(keras_model, im, file, prefix=colorstr('TensorFlow.js:')):
f_json = f + '/model.json' # *.json path

cmd = f"tensorflowjs_converter --input_format=tf_frozen_model " \
f"--output_node_names='Identity,Identity_1,Identity_2,Identity_3' {f_pb} {f}"
f"--output_node_names=\"Identity,Identity_1,Identity_2,Identity_3\" {f_pb} {f}"
subprocess.run(cmd, shell=True)

json = open(f_json).read()
Expand Down