-
Notifications
You must be signed in to change notification settings - Fork 2
Import model
Mino05 edited this page Mar 20, 2019
·
7 revisions
HOME > DOCUMENTATION > IMPORT MODEL
Before importing a JSON model you either need to export the typescript model with the Tensorflow model.save() method to get the necessary files 1 in .json and another .weights.bin, or converting a Tensorflow model from the Python implementation using the TensorFlow.js library converter : https://www.tensorflow.org/js/guide/conversion
- Select the "json" type on the button above the text area of the model definition section.
- Click on the "Browse" button.
- Select your model that need to be a .json file and your .weights.bin file.
- Click on the "Open" button.
- Select the "typescript" type on the button above the text area of the model definition section.
- You can either modify the initial model by typing in the text area or copy and paste your own model in the same text area.