MIC-DKFZ / TractSeg

Automatic White Matter Bundle Segmentation
Apache License 2.0
228 stars 75 forks source link

TractSeg stopping midway with no error #272

Open aqadi05 opened 5 months ago

aqadi05 commented 5 months ago

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 commented 5 months ago

Hi, @aqadi05

I have the same problem and I started discussing with Wasserthal here: https://github.com/MIC-DKFZ/TractSeg/issues/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!