November 2019
Intermediate to advanced
296 pages
7h 52m
English
Once the SavedModel is created, you can convert the SavedModel into TensorFlow.js format as follows:
$ tensorflowjs_converter \ --output_node_names=output \ --input_format=tf_saved_model \ ./my_saved_model ./my_tfjs_modelThe input path and output path are required as positional arguments. (my_saved_model and my_tfjs_model). The model will be generated in the my_tfjs_model directory. The options specified in the preceding example are the minimum requirements. The input_format option is especially important to specify the format explicitly. tfjs-converter automatically infers the compatible output format from this value.
The following is a table showing all the options that can be used with tfjs-converter ...
Read now
Unlock full access