TotalSegmentator icon indicating copy to clipboard operation
TotalSegmentator copied to clipboard

Total segmentator stuck on tissue types

Open dcarrion87 opened this issue 2 years ago • 1 comments

Using Slicer 5.6 with Total Segmentator 2.0.5 on Ubuntu 22.04

When selecting tissue types it gets stuck after Saving segmentations:

[INFO][Python] 29.11.2023 13:35:55 [Python] (/opt/slicer/slicer.org/Extensions-32390/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py:544) - Saving segmentations...
[INFO][Python] 29.11.2023 13:35:55 [Python] (/opt/slicer/slicer.org/Extensions-32390/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py:544) -
[INFO][Python] 29.11.2023 13:36:20 [Python] (/opt/slicer/slicer.org/Extensions-32390/TotalSegmentator/lib/Slicer-5.6/qt-scripted-modules/TotalSegmentator.py:544) -   0%|          | 0/117 [00:00<?, ?it/s]
# nvidia-smi
Wed Nov 29 13:40:13 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Tesla P40                      Off | 00000000:01:00.0 Off |                  Off |
| N/A   34C    P0              51W / 250W |   1406MiB / 24576MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A     38108      C   /opt/slicer/bin/./python-real              1404MiB |
+---------------------------------------------------------------------------------------+

Processes seem to be dead:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                                               
  38108 daniel    39  19   19.4g   2.2g 132228 S   0.0  15.1   0:29.82 /opt/slicer/bin/./python-real /opt/slicer/lib/Python/bin/TotalSegmentator -i /tmp/Slicer-daniel/__SlicerTemp__2023-11-29_13+35+22.380/total-segmentator-input.nii -o /tmp/Slicer-daniel/__SlicerTemp+ 
  38794 daniel    39  19   19.4g   2.2g 108196 S   0.0  15.0   0:50.36 /opt/slicer/bin/./python-real /opt/slicer/lib/Python/bin/TotalSegmentator -i /tmp/Slicer-daniel/__SlicerTemp__2023-11-29_13+35+22.380/total-segmentator-input.nii -o /tmp/Slicer-daniel/__SlicerTemp+ 
  38596 daniel    39  19   19.4g   2.2g 106312 S   0.0  14.9   0:53.07 /opt/slicer/bin/./python-real /opt/slicer/lib/Python/bin/TotalSegmentator -i /tmp/Slicer-daniel/__SlicerTemp__2023-11-29_13+35+22.380/total-segmentator-input.nii -o /tmp/Slicer-daniel/__SlicerTemp+ 
  38593 daniel    39  19   19.4g   2.2g 106340 S   0.0  14.9   0:53.42 /opt/slicer/bin/./python-real /opt/slicer/lib/Python/bin/TotalSegmentator -i /tmp/Slicer-daniel/__SlicerTemp__2023-11-29_13+35+22.380/total-segmentator-input.nii -o /tmp/Slicer-daniel/__SlicerTemp+ 
  38597 daniel    39  19   19.4g   2.2g 106332 S   0.0  14.9   0:54.31 /opt/slicer/bin/./python-real /opt/slicer/lib/Python/bin/TotalSegmentator -i /tmp/Slicer-daniel/__SlicerTemp__2023-11-29_13+35+22.380/total-segmentator-input.nii -o /tmp/Slicer-daniel/__SlicerTemp+ 
  38595 daniel    39  19   19.4g   2.2g 106280 S   0.0  14.9   0:53.90 /opt/slicer/bin/./python-real /opt/slicer/lib/Python/bin/TotalSegmentator -i /tmp/Slicer-daniel/__SlicerTemp__2023-11-29_13+35+22.380/total-segmentator-input.nii -o /tmp/Slicer-daniel/__SlicerTemp+ 
  38592 daniel    39  19   19.4g   2.2g 106340 S   0.0  14.9   0:53.57 /opt/slicer/bin/./python-real /opt/slicer/lib/Python/bin/TotalSegmentator -i /tmp/Slicer-daniel/__SlicerTemp__2023-11-29_13+35+22.380/total-segmentator-input.nii -o /tmp/Slicer-daniel/__SlicerTemp+ 

I've added the licence.

dcarrion87 avatar Nov 29 '23 13:11 dcarrion87

This can happen on very large images. Does it work on a smaller image?

wasserth avatar Dec 06 '23 10:12 wasserth