Vivek Kulkarni

Results 7 comments of Vivek Kulkarni

In [1]: import gensim In [2]: gensim.**version** Out[2]: '0.10.1' vvkulkarni@descartes:~/deepwalk$ deepwalk --input ./example_graphs/karate.adjlist --output karate.embeddings Number of nodes: 34 Number of walks: 340 Data size (walks*length): 13600 Walking... Training... vvkulkarni@descartes:~/deepwalk$...

Pushing in changes to only dump walks if needed. Change needed for extended work. vvkulkarni@curie:~/toolkits/viveks_deepwalk/deepwalk$ deepwalk --input example_graphs/karate.adjlist --output karate.embeddings --max-memory-data-size 0 Number of nodes: 34 Number of walks: 340...

How did you manage to fix this. I have a similar issue

Did anyone manage to resolve this ?

Thanks . I actually used a workaround described here to get the object to pickle": http://stackoverflow.com/questions/14306683/cpickle-ignore-stuff-it-cant-serialize-instead-of-raising-an-exception

Hi, I will give you the diff tonight. I was away for a couple of days. Sorry about that. Thanks. Vivek. On Wed, Mar 5, 2014 at 8:00 AM, goite...

The workaround I used is pasted below. Paste this code in the file where you would like to pickle the model. Hope this helps. ``` python import pickle # Code...