Giter Site home page Giter Site logo

NPE in ALS about okapi HOT 4 CLOSED

illes avatar illes commented on July 29, 2024
NPE in ALS

from okapi.

Comments (4)

baltrunasl avatar baltrunasl commented on July 29, 2024

Maria,
could you look at this, or I start?
I can send you the data if you want and command on which it fails.

Thanks!

from okapi.

illes avatar illes commented on July 29, 2024

The computation seems to be stuck in an infinite loop:

14/03/27 11:17:14 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:19 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:24 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:29 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:34 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:39 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 442.79MB, average 442.79MB
14/03/27 11:17:44 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 442.79MB, average 442.79MB
...

from okapi.

dlogothetis avatar dlogothetis commented on July 29, 2024

I think it's a problem with how the job was launched. The computation
specified should be ml.grafos.okapi.cf.als.Als.InitUsersComputation. The
very first superstep must run this computation to initialize the vertices
properly. Apart from this you also need to specify the master compute class
to use.

More info on how to run it correctly here:
http://grafos.ml/okapi.html#collaborative-als

On Thu, Mar 27, 2014 at 12:18 PM, illes [email protected] wrote:

The computation seems to be stuck in an infinite loop:

14/03/27 11:17:14 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:19 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:24 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:29 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:34 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 444.16MB, average 444.16MB
14/03/27 11:17:39 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 442.79MB, average 442.79MB
14/03/27 11:17:44 INFO job.JobProgressTracker: Data from 1 workers - Compute superstep 0: 0 out of 85 vertices computed; 0 out of 1 partitions computed; min free memory on worker 1 - 442.79MB, average 442.79MB

Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-38791284
.

from okapi.

illes avatar illes commented on July 29, 2024

My fault, I adapted the run configuration by simply changing the algo name and forgot to specify:

ml.grafos.okapi.cf.als.Als\$InitUsersComputation \
-mc ml.grafos.okapi.cf.als.Als\$MasterCompute \

as suggested in the documentation: http://grafos.ml/okapi.html#collaborative-als

from okapi.

Related Issues (5)

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.