Coder Social home page Coder Social logo

Comments (7)

GTmac avatar GTmac commented on July 17, 2024

When you set the number of workers to 5, I assume that DeepWalk will run on a single instance with 5 threads. Thus, you need to write some additional code to generate walks on each instance and then merge the walk files together.

Perhaps the reason it got killed is that your machine run out of memory. Can you provide more detailed information on that?

from deepwalk.

rkchunduri avatar rkchunduri commented on July 17, 2024

I am running it on AWS ec2 at this moment,ec2 has 8V cpus and I am configuring number of workers to 8.It is running fine at this moment but the process is still slow.Can you please help me to write the additional code to generate walks on each instance and then merging the walk files. I am also thinking to make this code to run using apache spark .Can you please share your thoughts and help me in this

from deepwalk.

phanein avatar phanein commented on July 17, 2024

from deepwalk.

rkchunduri avatar rkchunduri commented on July 17, 2024

from deepwalk.

phanein avatar phanein commented on July 17, 2024

from deepwalk.

thomasniebler avatar thomasniebler commented on July 17, 2024

How about using Spark all along? We did that for our RandomWalks implementation, but trained the word2vec models locally, since the spark word2vec implementation is nowhere as good as the C variant from Mikolov himself, e.g. the maximum vocabulary size is heavily restricted.

from deepwalk.

rkchunduri avatar rkchunduri commented on July 17, 2024

HI @thomasniebler Can you please share your spark code for random walk generation,so that I will integrate my word2vec code with that and see how it is working.

from deepwalk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.