Giter Site home page Giter Site logo

Comments (2)

asafgal avatar asafgal commented on July 26, 2024

Matlab segmentation faults are a pain to debug :(

As it happens only on a specific partition, with the same data and code, I would say something in the machines on that partition causes them to not play nicely with matlab. It also happens mid-tracking, so my guess is a memory issue of some sort, although anTraX memory consumption is fixed during execution and doesn't "explode". There is not much I can do to debug this, and honestly I would say to go with the partition you know to work...

And yes, your settings are overkill. The tracking step is a two-thread program, one to read frames from the video, and the other to analyze them. Therefore, it never uses more than 2 cpus. Usually one thread needs to wait for the other, so you'll see usage between 100%-200% cpu. Memory usage is more variable and depends factors such as frame size, number of blobs detected, etc. 4GB per task is usually more than enough. If you want to optimize, you can check the actual memory usage (either on your local machine or your cluster) and adapt your settings.

from antrax.

janamach avatar janamach commented on July 26, 2024

I agree that this error is too rare to spend time to try to debug it, but it would be good to have an idea what not to do to try to avoid it. I used that same partition again for tracking, but had less tasks run in parallel and the segmentation error did not occur. I wonder if I created a bottleneck somewhere by running too many tasks at the same time.

I remember you mentioned that tracking was a two-thread thing before and somehow ignored it :-/ I guess I made many cpus idle for no reason, not good. :-/

On the up side, I did manage to go through all the steps on HPC, from installing all dependencies locally to generating csv's from my own data. This is a big achievement for me, as the whole concept of HPC was largely unknown to me up until now. Thank you again for all the help and for being so patient with me :)

from antrax.

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.