tensorflow loading ckpt error

Issue link

question:

tensorflow loading ckpt error

Reason here:

The tensorflow version corresponding to the ckpt file is too old, and some of the built-in variable names have changed.

hint:

Key lstm_o/bidirectional_rnn/bw/lstm_cell/biases not found in checkpoint

Error:

Use the checkpoint_convert.py given by github's official tensorflow to upgrade the ckpt version:

python checkpoint_convert.py '/path/to/checkpoint/model.ckpt' '/path/to/new_checkpoint/model.ckpt'

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324843560&siteId=291194637