Comments (3)
Check Tensorflow version:
sampled_loss function. try the code below
def sampled_loss(labels, logits):
labels = tf.reshape(labels, [-1, 1])
return tf.nn.sampled_softmax_loss(tf.transpose(w), b, labels, logits,
config.NUM_SAMPLES, config.DEC_VOCAB)
from stanford-tensorflow-tutorials.
if i rememberer correctly. this values is added automatic after you run data.py. because data.py create vocabs and add length to config file every time you run data.py new line is added at the end of config file
from stanford-tensorflow-tutorials.
it looks like
NUM_SAMPLES = 512
ENC_VOCAB = 24513
DEC_VOCAB = 24674
from stanford-tensorflow-tutorials.
Related Issues (20)
- Can not convert a BatchDataset into a Tensor or Operation HOT 1
- 03_logreg.py- My Jupyter notebook couldn't download the MNIST file. HOT 3
- `style_transfer.py` content loss computing issue
- 03_linreg_starter will be overwrite loss HOT 1
- could not get it to work, here's my errors: HOT 1
- Not able to interact in the ChatBot mode
- 07_convnet_mnist.py writer
- 07_convnet_layers.py self.training should use tf.placeholder
- How to change the output of style_transfer?
- Improvements from assignment
- Bot responses degrading with iteration HOT 2
- after trainning long time, can't chat wich bot via chat mod HOT 2
- tensorflow sampled softmax loss
- huber loss equation in eager execution
- Loss not improving after 2.2
- Training Data Disappears
- Will there be a newer version of this course with TF 2.0 ?
- # tf version? HOT 2
- Pre-trained models
- Will you provide the Tensorflow 2 version of the course materials?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stanford-tensorflow-tutorials.