Failure to read model in Tensorflow r1.0
See original GitHub issueHey I’m getting this error in Tensorflow 1.0 after modifying the code to get working
NotFoundError (see above for traceback): Tensor name "rnnlm/multi_rnn_cell/cell_0/gru_cell/candidate/biases" not found in checkpoint files models/reddit/model.ckpt-4682964
[[Node: save/RestoreV2_4 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_4/tensor_names, save/RestoreV2_4/shape_and_slices)]]
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
tensorflow lite cannot use my own model, crashed without ...
but when i use my own model converted by toco, it crashed without any information. set input and load model seemed correct, but...
Read more >TensorFlow not found using pip - Stack Overflow
My problem turned out to be that Tensorflow at this time does not yet support Python 3.7 (it supports up to 3.6.x). After...
Read more >Solved: Re: bitbake tensorflow-lite is failed! - NXP Community
The compilation error of tensorflow-lite is caused by your bad network environment. I handled this problem when I compiled L5.4.3_1.0.0. You can also...
Read more >Installation | TensorFlow Hub
Installing tensorflow_hub. The tensorflow_hub library can be installed alongside TensorFlow 1 and TensorFlow 2. We recommend that new users ...
Read more >Installation - TensorFlow 2 Object Detection API tutorial
If you attempt to install both TensorFlow CPU and TensorFlow GPU, without making use of virtual environments, you will either end up failing,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@pender
I tried this and it works. Thank you. But can you please confirm if what i have done is correct?
I used the below list
Then in sample_main(args) function I assigned this list to variable tensors to form a dict to be passed to tf.train.Saver.
saver = tf.train.Saver(builtins.dict(zip(names_list,tf.trainable_variables())))
Placed the whole code here https://github.com/NarahariKaushik/toy_chatbot . Not sure how to contribute to this repo(still new to git hub)
Did you modify your code to make it work on TensorFlow 1.0?
On Thu, Mar 2, 2017, 3:00 AM aguang1201 notifications@github.com wrote:
–
Sent from my phone