Error runnig a frozen graph of the 128-dimensional embeddings model
See original GitHub issueI froze the new 128-dimensional embeddings model using the freeze_graph.py, but at the time of running the session, it gives this error:
Failed precondition: Attempting to use uninitialized value Bottleneck/BatchNorm/moving_variance [[Node: Bottleneck/BatchNorm/moving_variance/read = Identity[T=DT_FLOAT, _class=["loc:@Bottleneck/BatchNorm/moving_variance"], _device="/job:localhost/replica:0/task:0/cpu:0"](Bottleneck/BatchNorm/moving_variance)]]
Should I change something in freeze_graph.py?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
TensorFlow 2.x: Cannot load trained model in h5 format when ...
This problem is caused by the inconsistency between the dimension of emebedding matrix in training and prediction.
Read more >How to Use Word Embedding Layers for Deep Learning with ...
The output of the Embedding layer is a 2D vector with one embedding for each word in the input sequence of words (input...
Read more >Neural Network Embeddings Explained - Towards Data Science
In the context of neural networks, embeddings are low-dimensional, learned continuous vector representations of discrete variables.
Read more >towards deep neuromorphic knowledge graph embeddings
Based on the insight that randomly initialized and untrained (i.e., frozen) graph neural networks are able to preserve local graph structures,.
Read more >TAGE: Task Agnostic Graph Embeddings - SNAP: Stanford
unsupervised deep learning model for learning structural node embeddings. ... low-dimensional embedding f(w|H) given node w and graph H. Then, the embedding ......
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 FreeTop 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
Top GitHub Comments
@RakshakTalwar, It happened to me too. I updated to TensorFlow r1.0, and it worked.
confirmed. it doesn’t work for tf0.12 but for tf r1.0.1