Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TractSeg stopping midway with no error #272

Open
aqadi05 opened this issue May 23, 2024 · 1 comment
Open

TractSeg stopping midway with no error #272

aqadi05 opened this issue May 23, 2024 · 1 comment

Comments

@aqadi05
Copy link

aqadi05 commented May 23, 2024

Tried running TractSeg using Docker, but the process stops abruptly without returning an error. I've pasted the command and output from the terminal below:


sudo docker run --platform linux/amd64/v8 -v /Desktop/decal:/data
-t wasserth/tractseg_container:master TractSeg -i /data/dwi.nii.gz --raw_diffusion_input

Password:

/usr/local/lib/python3.7/site-packages/pandas/compat/init.py:124: UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.
warnings.warn(msg)
Creating brain mask...
Creating peaks (1 of 3)...
Creating peaks (2 of 3)...
Creating peaks (3 of 3)...
Reorienting data...
Loading weights from: /root/.tractseg/pretrained_weights_tract_segmentation_v3.npz
Processing direction (1 of 3)
100%|███████████████████████████████████████████████████████████████████████████████████████████████| 144/144 [02:39<00:00, 1.11s/it]
Processing direction (2 of 3)
(base) Desktop %

Any feedback on what might be going on would be appreciated. Thanks!

@giovannividetta
Copy link

giovannividetta commented May 24, 2024

Hi, @aqadi05

I have the same problem and I started discussing with Wasserthal here: #269

In my case the process is killed because of out of memory (OOM) error. Actually, I am running the script on Ubuntu subsystem installed on Windows. I will run TractSeg on a pc with Linux to see if the OOM error persists.

If you want, I let you know as soon as possible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants