From 105b08e939fdaefc9b6d00e6004ae5afd0052c84 Mon Sep 17 00:00:00 2001 From: Na Li Date: Wed, 24 Feb 2021 16:01:11 -0800 Subject: [PATCH] [converter] Update readme about metadata option. --- tfjs-converter/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tfjs-converter/README.md b/tfjs-converter/README.md index 2c025ec3bfe..079e5f8dd4c 100644 --- a/tfjs-converter/README.md +++ b/tfjs-converter/README.md @@ -161,6 +161,7 @@ saved a tf.keras model in the SavedModel format. |`--weight_shard_size_bytes` | Shard size (in bytes) of the weight files. Only supported when `output_format` is `tfjs_layers_model` or `tfjs_graph_model`. Default size is 4 MB (4194304 bytes).| |`--output_node_names`| Only applicable to Frozen Model. The names of the output nodes, separated by commas.| |`--control_flow_v2`| Only applicable to TF 2.x Saved Model. This flag improve performance on models with control flow ops, default to False.| +|`--metadata`| Comma separated list of metadata json file paths, indexed by name. Prefer absolute path. Example: 'metadata1:/metadata1.json,metadata2:/metadata2.json'.| __Note: If you want to convert TensorFlow session bundle, you can install older versions of the tensorflowjs pip package, i.e. `pip install tensorflowjs==0.8.6`.__