Edit a TensorFlow checkpoint

后端 未结 1 419
天命终不由人
天命终不由人 2021-01-23 23:15

I know that there\'s a way to examine TF checkpoints (such as described in inspect_checkpoint.py).

However, is there a way to update certain weights in this checkpoint a

1条回答
  •  [愿得一人]
    2021-01-23 23:47

    Take a look at MetaGraph saving and loading. There are a few examples there; you should be able to define the model, save the MetaGraph, then load and modify it without re-defining the variables manually.

    0 讨论(0)
提交回复
热议问题