Open chuanHN opened 5 years ago
I found the problem: the tensor name was added 'while' when decoding using tensor2tensor.
I'm experiencing the exact same error where "while" is prepended to a correct key name, which then causes NotFoundError..... Key while/.... not found in checkpoint when restoring from a checkpoint with t2t-decoder.py. @chuanHN Did you find a solution to your problem? I can't find where/how "while" is incorrectly being added to the key name.
Another occurrence of this bug seems to have been reported on Stack Overflow: https://stackoverflow.com/questions/56776076/cannot-restore-from-checkpoint-bidirectional-backward-lstm-bias/57398902#57398902
Do any devs have any ideas/suggestions as to what might be causing "while" to be prepended to key names during checkpoint restoration?
Description
Hi, I want to reproduce the CNN translation model. But I encounter the model load problem. When I use the tensorflow 1.8, the model seems to be loaded correctly. But when I use the tensorflow 1.12, the model can not be loaded. And the message is
But I print the checkpoint variables, I found the variable was in the model.
So I was very confused with this problem. Can someone can help me ?