xmartlabs / Bender

Easily craft fast Neural Networks on iOS! Use TensorFlow models. Metal under the hood.

Home Page:https://xmartlabs.github.io/Bender/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert model from Tensor flow

hoangtuanfithou opened this issue · comments

Dear @bryant1410 ,

I want to

  1. Trained 1 more flower using : https://www.tensorflow.org/tutorials/image_retraining
  2. then using your guide to import model from step 1 to use with Blender but I can not convert and import
    https://github.com/xmartlabs/Bender/blob/master/Documentation/Importing.md
    ->
    benderthon tf-freeze checkpoint_path.ckpt graph_with_weights.pb Output_Node_Name
    what is checkpoint_path.ckpt where I can get it, what is out put of the script ?
  3. please support if you have time

Thanks so much

You need to save your TF model to generate a checkpoint file (that is the "checkpoint_path.ckpt", the checkpoint files prefix path that you used to save it).

The output is the name of the output node. It can be obtained from the network, based on the name of the node that is the output of the network.

Ok, I'm closing now. If you still have the issue, please comment.