Skip to content

Conversation

bzantium
Copy link

@bzantium bzantium commented Jul 2, 2018

In word2vec_basic, word2vec_simple

from tf.nn.nce_loss(nce_weights, nce_biases, embed, train_labels, num_sampled, vocabulary_size))
to tf.nn.nce_loss(nce_weights, nce_biases, train_labels, embed, num_sampled, vocabulary_size))

from summary_writer = tf.train.SummaryWriter('/tmp/tf_logs/word2vec', graph=sess.graph)
to summary_writer = tf.summary.FileWriter('/tmp/tf_logs/word2vec', graph=sess.graph)

from tf.initialize_all_variables().run()
to sess.run(tf.initialize_all_variables())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant