Code Monkey home page Code Monkey logo

Comments (14)

BorisMansencal avatar BorisMansencal commented on June 2, 2024

Hi @pradhanhitesh

Could you share a nifti file that produces this error?

Thanks.

from assemblynet.

pradhanhitesh avatar pradhanhitesh commented on June 2, 2024

Thank you for you response.

How do you suggest I share the nifti file?

from assemblynet.

BorisMansencal avatar BorisMansencal commented on June 2, 2024

You could use google drive or dropbox for example.

from assemblynet.

pradhanhitesh avatar pradhanhitesh commented on June 2, 2024

Here is the link. I will approve the access once requested. Also, I checked with multiple .nii files from our study, it did not work.

Google Drive: https://drive.google.com/drive/folders/12e7KpWkamozTbYv1Gegs5Hz53c3cUYW4?usp=sharing

from assemblynet.

BorisMansencal avatar BorisMansencal commented on June 2, 2024

I have sent a request.

I did not think about it, but you could also have submitted a job on volbrain.net with the AssemblyNet pipeline and tell us the job id.

from assemblynet.

pradhanhitesh avatar pradhanhitesh commented on June 2, 2024

I have not used AssemblyNet on volbrain yet. I will look into it and let you know. However, I was hoping if I could run AssemblyNet on local system. But before I could do that, I encountered the error here.

PS: I just approved the Google Drive request.

from assemblynet.

BorisMansencal avatar BorisMansencal commented on June 2, 2024

I tried your image and it works fine on our machines.
You could try to process this exemple image https://github.com/volBrain/AssemblyNet/blob/main/example/my_brain.nii.gz

If this doesn't work, your configuration is probably not compatible with our docker image. We do not have access to any Threadripper Pro processor for testing.
You can try on another machine or use the volbrain.net platform...

from assemblynet.

hippocampo avatar hippocampo commented on June 2, 2024

Hello! Wanted to report that I am finding the same problem as pradhanhitesh and wondering if anyone has insight into the problem. I'm running Ubuntu 22.0.4 with a 12Gb RTX 3060. The example image did not work for me either, unfortunately.
Due to clinical data privacy issues I am not able to use the volbrain.net platform.
Also, the output command throws an error if I specify a specific file (e.g. /data/image.nii.gz) rather than a folder (e.g. /data/)?
Many thanks to all the developers for your amazing work on this software.

from assemblynet.

BorisMansencal avatar BorisMansencal commented on June 2, 2024

Could you try processing this image https://github.com/volBrain/AssemblyNet/blob/main/example/my_brain.nii.gz on your local machine? Does it work?
If not, could you provide the versions of Docker and of the nvidia driver you are using?

Thanks.

from assemblynet.

hippocampo avatar hippocampo commented on June 2, 2024

Ah okay so I figured it out. This always happens after I post something!
The problem was that I had been binding the docker to an image, rather than a folder. So for example:
WRONG: docker run --rm -v /path/to/T1-image.nii.gz:/data volbrain/assemblynet:1.0.0 /data/
RIGHT: docker run --rm -v /path/to/FOLDER_WITH_T1_image:/data volbrain/assemblynet:1.0.0 /data/your_T1_image.nii.gz

Hope this helps for anyone else getting this error. Thank you @BorisMansencal for the help!

from assemblynet.

pradhanhitesh avatar pradhanhitesh commented on June 2, 2024

@hippocampo Thanks for the solution! It did work but with a slightly different input than yours.

As suggested by you I tried:
docker run --rm -v /path/to/FOLDER_WITH_T1_image:/data volbrain/assemblynet:1.0.0 /data/your_T1_image.nii.gz
But it threw a filename or directory error.

So, I looked up the args in volBrain GitHub page and modified my input as:
docker run --rm -v /path/to/FOLDER_WITH_T1_image:/data -v /path/to/FOLDER_WITH_T1_image:/data_out volbrain/assemblynet:1.0.0 /data /data_out
And the process is currently running as I am writing this.

from assemblynet.

BorisMansencal avatar BorisMansencal commented on June 2, 2024

@pradhanhitesh your first command should work.
You could check that your image file is seen by docker, by launching docker in interactive mode:
docker run --rm -it --entrypoint /bin/bash -v /path/to/FOLDER_WITH_T1_image:/data volbrain/assemblynet:1.0.0
and then doing:
ls /data
If your image is not listed, the docker bind mount did not work correctly.
Maybe it is related to your path name or image name...

from assemblynet.

pradhanhitesh avatar pradhanhitesh commented on June 2, 2024

Thank you @BorisMansencal ! I could not get back to you earlier.

Due to my silly mistake, the first command did not work the way it is supposed to work. I rectified the error and now it is working like a charm.

from assemblynet.

BorisMansencal avatar BorisMansencal commented on June 2, 2024

Ok, perfect.
I close this issue.

from assemblynet.

Related Issues (12)

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.