Git Product home page Git Product logo

Comments (4)

arokem avatar arokem commented on September 6, 2024

Thanks for reporting this @Youguang!

Could I ask for a few more details?

  • What is the size of the data (the shape of the dwi data array, including number of directions)?
  • How much memory does your computer have?

from pyafq.

Youguang avatar Youguang commented on September 6, 2024

Hi @arokem , thanks for your reply.

The data size 2.2GB, consists of 129 volumes. It was acquired with voxel size 1.25x1.25x1.25 mm^3, and resampled to 1x1x1 mm^3 when preprocessing with TORTOISE. And it is mult-shelled, the b values vary from 180 to 3000 s/mm^2. The same data can be processed with matlab afq toolbox, and the whole-brain tracking results looks well, but it fails to extract data from some WM tracts, so I turned to python-afq to have a try.

And I run it on ubuntu server 16.04 with anaconda3 environment in jupyter notebook, it's memory is 64GB. When it start tracking, the memory occupation was linearly increasing until it reported memory error.

from pyafq.

arokem avatar arokem commented on September 6, 2024

That's a pretty large amount of data. The largest dataset that I have analyzed with pyAFQ are acquisitions from the HCP, which are about 1 GB in size.

There would be a bit more data munging to do, and a bit more programming, but you can use the API directly to feed in the tracks from the Matlab version into the segmentation part of the pyAFQ software, possibly circumventing this memory error. It might take a long while to do the segmentation, though.

from pyafq.

arokem avatar arokem commented on September 6, 2024

Given how old this issue is, I am going to go ahead and assume that this is no longer an issue. I am going to close this, but feel free to reopen if you are still dealing with this.

from pyafq.

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.