Closed ttuygun closed 5 years ago
Try to use same random seed?Such as:
random.seed(1)
Yes, I have already tried as
I've solved the problem. The problem related with the Word2Vec's workers count. Gensim documentation said that we need to set workers=1
in order to generate reproducible run.
Note that for a fully deterministically-reproducible run, you must also limit the model to a single worker thread (workers=1)
Hi, @ttuygun! Does 'same result' in case of node2vec mean you get exactly same embeddings for each node? Thank you!
Hi, @ttuygun! Does 'same result' in case of node2vec mean you get exactly same embeddings for each node? Thank you!
Yes, exactly
@ttuygun, thank you!
Is there a way to adding seeding functionality in order to produce same result for debugging/testing purposes?
We try to seed before every rand function call but it produces different results in every run.
Is there anything that we missed?