Created
February 28, 2016 23:35
-
-
Save malzzz/37784f06bb57b725c6ab to your computer and use it in GitHub Desktop.
This should work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tensorflow.models.embedding.word2vec_optimized import FLAGS, Options, Word2Vec | |
FLAGS1 = FLAGS | |
FLAGS2 = FLAGS | |
class MyOptions(Options): | |
def __init__(self): | |
super(MyOptions, self).__init__() | |
self.train_data = FLAGS1.train_data = "new_train_data" | |
model1 = Word2Vec(MyOptions(), tfsession) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment