Skip to content

TensorflowJS to Tensorflow Converter

Compare
Choose a tag to compare
@patlevin patlevin released this 10 Feb 17:03
· 120 commits to master since this release

Feature Release

Added Features

  • Model description files (model.json) can now be specified directly with the input path

Models aren't always using the name model.json for their model description files. Up until now, users had to manually rename the model description files to the expected file name.
Starting with this release, you can now specify differing file names for model descriptions directly in the input path:

tfjs_graph_converter /path/to/download/folder/model-stride16.json /path/to/output/tf_model.pb

Models that use the default name model.json can still be converted by just specifying the folder name:

tfjs_graph_converter /path/to/tfjs/model/ /path/to/output/tf_model.pb