Closed rbumm closed 1 year ago
For me it does only download weights once. On consecutive calls it does not happen. Can you paste the entire output here? Do you run it from the command line or from within slicer?
This is the full output running TotalSegmentator from 3D Slicer without FAST mode. 0% to 100 % several times, looks like a download, and it happens every time again when I restart the procedure.
Processing started
Writing input file to C:/Users/Rudolf/AppData/Local/Temp/Slicer/__SlicerTemp__2023-10-16_11+33+23.285/total-segmentator-input.nii
Creating segmentations with TotalSegmentator AI...
Total Segmentator arguments: ['-i', 'C:/Users/Rudolf/AppData/Local/Temp/Slicer/__SlicerTemp__2023-10-16_11+33+23.285/total-segmentator-input.nii', '-o', 'C:/Users/Rudolf/AppData/Local/Temp/Slicer/__SlicerTemp__2023-10-16_11+33+23.285/segmentation', '--ml', '--task', 'total']
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
0%| | 0/48 [00:00<?, ?it/s]
2%|2 | 1/48 [00:05<04:19, 5.51s/it]
10%|# | 5/48 [00:05<00:36, 1.17it/s]
15%|#4 | 7/48 [00:06<00:29, 1.40it/s]
17%|#6 | 8/48 [00:07<00:26, 1.51it/s]
19%|#8 | 9/48 [00:07<00:24, 1.62it/s]
21%|## | 10/48 [00:08<00:22, 1.71it/s]
23%|##2 | 11/48 [00:08<00:20, 1.80it/s]
25%|##5 | 12/48 [00:09<00:19, 1.88it/s]
27%|##7 | 13/48 [00:09<00:18, 1.94it/s]
29%|##9 | 14/48 [00:09<00:17, 1.98it/s]
31%|###1 | 15/48 [00:10<00:16, 2.03it/s]
33%|###3 | 16/48 [00:10<00:15, 2.05it/s]
35%|###5 | 17/48 [00:11<00:15, 2.06it/s]
38%|###7 | 18/48 [00:11<00:14, 2.08it/s]
40%|###9 | 19/48 [00:12<00:13, 2.08it/s]
42%|####1 | 20/48 [00:12<00:13, 2.10it/s]
44%|####3 | 21/48 [00:13<00:12, 2.09it/s]
46%|####5 | 22/48 [00:13<00:12, 2.10it/s]
48%|####7 | 23/48 [00:14<00:11, 2.11it/s]
50%|##### | 24/48 [00:14<00:11, 2.09it/s]
52%|#####2 | 25/48 [00:15<00:10, 2.10it/s]
54%|#####4 | 26/48 [00:15<00:10, 2.11it/s]
56%|#####6 | 27/48 [00:16<00:09, 2.11it/s]
58%|#####8 | 28/48 [00:16<00:09, 2.09it/s]
60%|###### | 29/48 [00:17<00:09, 2.10it/s]
62%|######2 | 30/48 [00:17<00:08, 2.09it/s]
65%|######4 | 31/48 [00:18<00:08, 2.10it/s]
67%|######6 | 32/48 [00:18<00:07, 2.09it/s]
69%|######8 | 33/48 [00:18<00:07, 2.10it/s]
71%|####### | 34/48 [00:19<00:06, 2.09it/s]
73%|#######2 | 35/48 [00:19<00:06, 2.09it/s]
75%|#######5 | 36/48 [00:20<00:05, 2.08it/s]
77%|#######7 | 37/48 [00:20<00:05, 2.09it/s]
79%|#######9 | 38/48 [00:21<00:04, 2.10it/s]
81%|########1 | 39/48 [00:21<00:04, 2.10it/s]
83%|########3 | 40/48 [00:22<00:03, 2.10it/s]
85%|########5 | 41/48 [00:22<00:03, 2.09it/s]
88%|########7 | 42/48 [00:23<00:02, 2.10it/s]
90%|########9 | 43/48 [00:23<00:02, 2.09it/s]
92%|#########1| 44/48 [00:24<00:01, 2.10it/s]
94%|#########3| 45/48 [00:24<00:01, 2.09it/s]
96%|#########5| 46/48 [00:25<00:00, 2.08it/s]
98%|#########7| 47/48 [00:25<00:00, 2.08it/s]
100%|##########| 48/48 [00:26<00:00, 2.09it/s]
100%|##########| 48/48 [00:26<00:00, 1.83it/s]
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
0%| | 0/48 [00:00<?, ?it/s]
10%|# | 5/48 [00:00<00:01, 28.34it/s]
17%|#6 | 8/48 [00:01<00:09, 4.17it/s]
21%|## | 10/48 [00:02<00:11, 3.21it/s]
23%|##2 | 11/48 [00:03<00:12, 2.92it/s]
25%|##5 | 12/48 [00:03<00:13, 2.71it/s]
27%|##7 | 13/48 [00:03<00:13, 2.55it/s]
29%|##9 | 14/48 [00:04<00:14, 2.41it/s]
31%|###1 | 15/48 [00:04<00:14, 2.32it/s]
33%|###3 | 16/48 [00:05<00:14, 2.24it/s]
35%|###5 | 17/48 [00:05<00:14, 2.19it/s]
38%|###7 | 18/48 [00:06<00:13, 2.17it/s]
40%|###9 | 19/48 [00:06<00:13, 2.14it/s]
42%|####1 | 20/48 [00:07<00:13, 2.13it/s]
44%|####3 | 21/48 [00:07<00:12, 2.11it/s]
46%|####5 | 22/48 [00:08<00:12, 2.09it/s]
48%|####7 | 23/48 [00:08<00:11, 2.10it/s]
50%|##### | 24/48 [00:09<00:11, 2.09it/s]
52%|#####2 | 25/48 [00:09<00:11, 2.08it/s]
54%|#####4 | 26/48 [00:10<00:10, 2.08it/s]
56%|#####6 | 27/48 [00:10<00:10, 2.09it/s]
58%|#####8 | 28/48 [00:11<00:09, 2.08it/s]
60%|###### | 29/48 [00:11<00:09, 2.07it/s]
62%|######2 | 30/48 [00:12<00:08, 2.07it/s]
65%|######4 | 31/48 [00:12<00:08, 2.08it/s]
67%|######6 | 32/48 [00:13<00:07, 2.07it/s]
69%|######8 | 33/48 [00:13<00:07, 2.09it/s]
71%|####### | 34/48 [00:14<00:06, 2.08it/s]
73%|#######2 | 35/48 [00:14<00:06, 2.07it/s]
75%|#######5 | 36/48 [00:15<00:05, 2.08it/s]
77%|#######7 | 37/48 [00:15<00:05, 2.07it/s]
79%|#######9 | 38/48 [00:16<00:04, 2.07it/s]
81%|########1 | 39/48 [00:16<00:04, 2.07it/s]
83%|########3 | 40/48 [00:16<00:03, 2.08it/s]
85%|########5 | 41/48 [00:17<00:03, 2.07it/s]
88%|########7 | 42/48 [00:17<00:02, 2.07it/s]
90%|########9 | 43/48 [00:18<00:02, 2.07it/s]
92%|#########1| 44/48 [00:18<00:01, 2.06it/s]
94%|#########3| 45/48 [00:19<00:01, 2.06it/s]
96%|#########5| 46/48 [00:19<00:00, 2.06it/s]
98%|#########7| 47/48 [00:20<00:00, 2.06it/s]
100%|##########| 48/48 [00:20<00:00, 2.06it/s]
100%|##########| 48/48 [00:20<00:00, 2.30it/s]
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
0%| | 0/48 [00:00<?, ?it/s]
10%|# | 5/48 [00:00<00:02, 20.35it/s]
17%|#6 | 8/48 [00:01<00:09, 4.07it/s]
19%|#8 | 9/48 [00:02<00:11, 3.46it/s]
21%|## | 10/48 [00:02<00:12, 3.06it/s]
23%|##2 | 11/48 [00:03<00:13, 2.76it/s]
25%|##5 | 12/48 [00:03<00:14, 2.56it/s]
27%|##7 | 13/48 [00:04<00:14, 2.42it/s]
29%|##9 | 14/48 [00:04<00:14, 2.31it/s]
31%|###1 | 15/48 [00:05<00:14, 2.24it/s]
33%|###3 | 16/48 [00:05<00:14, 2.18it/s]
35%|###5 | 17/48 [00:06<00:14, 2.15it/s]
38%|###7 | 18/48 [00:06<00:14, 2.12it/s]
40%|###9 | 19/48 [00:06<00:13, 2.10it/s]
42%|####1 | 20/48 [00:07<00:13, 2.10it/s]
44%|####3 | 21/48 [00:07<00:12, 2.09it/s]
46%|####5 | 22/48 [00:08<00:12, 2.09it/s]
48%|####7 | 23/48 [00:08<00:12, 2.08it/s]
50%|##### | 24/48 [00:09<00:11, 2.08it/s]
52%|#####2 | 25/48 [00:09<00:11, 2.07it/s]
54%|#####4 | 26/48 [00:10<00:10, 2.08it/s]
56%|#####6 | 27/48 [00:10<00:10, 2.08it/s]
58%|#####8 | 28/48 [00:11<00:09, 2.07it/s]
60%|###### | 29/48 [00:11<00:09, 2.07it/s]
62%|######2 | 30/48 [00:12<00:08, 2.06it/s]
65%|######4 | 31/48 [00:12<00:08, 2.06it/s]
67%|######6 | 32/48 [00:13<00:07, 2.07it/s]
69%|######8 | 33/48 [00:13<00:07, 2.05it/s]
71%|####### | 34/48 [00:14<00:06, 2.07it/s]
73%|#######2 | 35/48 [00:14<00:06, 2.06it/s]
75%|#######5 | 36/48 [00:15<00:05, 2.08it/s]
77%|#######7 | 37/48 [00:15<00:05, 2.06it/s]
79%|#######9 | 38/48 [00:16<00:04, 2.06it/s]
81%|########1 | 39/48 [00:16<00:04, 2.06it/s]
83%|########3 | 40/48 [00:17<00:03, 2.07it/s]
85%|########5 | 41/48 [00:17<00:03, 2.06it/s]
88%|########7 | 42/48 [00:18<00:02, 2.06it/s]
90%|########9 | 43/48 [00:18<00:02, 2.06it/s]
92%|#########1| 44/48 [00:19<00:01, 2.06it/s]
94%|#########3| 45/48 [00:19<00:01, 2.05it/s]
96%|#########5| 46/48 [00:20<00:00, 2.05it/s]
98%|#########7| 47/48 [00:20<00:00, 2.05it/s]
100%|##########| 48/48 [00:21<00:00, 2.05it/s]
100%|##########| 48/48 [00:21<00:00, 2.28it/s]
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
0%| | 0/48 [00:00<?, ?it/s]
10%|# | 5/48 [00:00<00:01, 25.19it/s]
17%|#6 | 8/48 [00:01<00:09, 4.11it/s]
21%|## | 10/48 [00:02<00:12, 3.15it/s]
23%|##2 | 11/48 [00:03<00:12, 2.88it/s]
25%|##5 | 12/48 [00:03<00:13, 2.66it/s]
27%|##7 | 13/48 [00:04<00:14, 2.49it/s]
29%|##9 | 14/48 [00:04<00:14, 2.36it/s]
31%|###1 | 15/48 [00:05<00:14, 2.27it/s]
33%|###3 | 16/48 [00:05<00:14, 2.20it/s]
35%|###5 | 17/48 [00:06<00:14, 2.16it/s]
38%|###7 | 18/48 [00:06<00:14, 2.14it/s]
40%|###9 | 19/48 [00:07<00:13, 2.10it/s]
42%|####1 | 20/48 [00:07<00:13, 2.10it/s]
44%|####3 | 21/48 [00:07<00:13, 2.07it/s]
46%|####5 | 22/48 [00:08<00:12, 2.07it/s]
48%|####7 | 23/48 [00:08<00:12, 2.07it/s]
50%|##### | 24/48 [00:09<00:11, 2.05it/s]
52%|#####2 | 25/48 [00:09<00:11, 2.05it/s]
54%|#####4 | 26/48 [00:10<00:10, 2.05it/s]
56%|#####6 | 27/48 [00:10<00:10, 2.05it/s]
58%|#####8 | 28/48 [00:11<00:09, 2.05it/s]
60%|###### | 29/48 [00:11<00:09, 2.04it/s]
62%|######2 | 30/48 [00:12<00:08, 2.04it/s]
65%|######4 | 31/48 [00:12<00:08, 2.05it/s]
67%|######6 | 32/48 [00:13<00:07, 2.04it/s]
69%|######8 | 33/48 [00:13<00:07, 2.03it/s]
71%|####### | 34/48 [00:14<00:06, 2.03it/s]
73%|#######2 | 35/48 [00:14<00:06, 2.04it/s]
75%|#######5 | 36/48 [00:15<00:05, 2.04it/s]
77%|#######7 | 37/48 [00:15<00:05, 2.06it/s]
79%|#######9 | 38/48 [00:16<00:04, 2.04it/s]
81%|########1 | 39/48 [00:16<00:04, 2.04it/s]
83%|########3 | 40/48 [00:17<00:03, 2.05it/s]
85%|########5 | 41/48 [00:17<00:03, 2.05it/s]
88%|########7 | 42/48 [00:18<00:02, 2.03it/s]
90%|########9 | 43/48 [00:18<00:02, 2.03it/s]
92%|#########1| 44/48 [00:19<00:01, 2.04it/s]
94%|#########3| 45/48 [00:19<00:01, 2.04it/s]
96%|#########5| 46/48 [00:20<00:00, 2.03it/s]
98%|#########7| 47/48 [00:20<00:00, 2.03it/s]
100%|##########| 48/48 [00:21<00:00, 2.04it/s]
100%|##########| 48/48 [00:21<00:00, 2.26it/s]
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
0%| | 0/48 [00:00<?, ?it/s]
10%|# | 5/48 [00:00<00:01, 24.99it/s]
17%|#6 | 8/48 [00:01<00:09, 4.09it/s]
21%|## | 10/48 [00:02<00:12, 3.14it/s]
23%|##2 | 11/48 [00:03<00:13, 2.84it/s]
25%|##5 | 12/48 [00:03<00:13, 2.63it/s]
27%|##7 | 13/48 [00:04<00:14, 2.47it/s]
29%|##9 | 14/48 [00:04<00:14, 2.36it/s]
31%|###1 | 15/48 [00:05<00:14, 2.25it/s]
33%|###3 | 16/48 [00:05<00:14, 2.20it/s]
35%|###5 | 17/48 [00:06<00:14, 2.15it/s]
38%|###7 | 18/48 [00:06<00:14, 2.10it/s]
40%|###9 | 19/48 [00:07<00:13, 2.09it/s]
42%|####1 | 20/48 [00:07<00:13, 2.07it/s]
44%|####3 | 21/48 [00:08<00:13, 2.05it/s]
46%|####5 | 22/48 [00:08<00:12, 2.05it/s]
48%|####7 | 23/48 [00:09<00:12, 2.05it/s]
50%|##### | 24/48 [00:09<00:11, 2.03it/s]
52%|#####2 | 25/48 [00:10<00:11, 2.04it/s]
54%|#####4 | 26/48 [00:10<00:10, 2.04it/s]
56%|#####6 | 27/48 [00:10<00:10, 2.03it/s]
58%|#####8 | 28/48 [00:11<00:09, 2.04it/s]
60%|###### | 29/48 [00:11<00:09, 2.02it/s]
62%|######2 | 30/48 [00:12<00:08, 2.03it/s]
65%|######4 | 31/48 [00:12<00:08, 2.04it/s]
67%|######6 | 32/48 [00:13<00:07, 2.02it/s]
69%|######8 | 33/48 [00:13<00:07, 2.03it/s]
71%|####### | 34/48 [00:14<00:06, 2.03it/s]
73%|#######2 | 35/48 [00:14<00:06, 2.03it/s]
75%|#######5 | 36/48 [00:15<00:05, 2.02it/s]
77%|#######7 | 37/48 [00:15<00:05, 1.97it/s]
79%|#######9 | 38/48 [00:16<00:05, 1.69it/s]
81%|########1 | 39/48 [00:18<00:08, 1.11it/s]
83%|########3 | 40/48 [00:19<00:07, 1.08it/s]
85%|########5 | 41/48 [00:19<00:05, 1.20it/s]
88%|########7 | 42/48 [00:20<00:04, 1.30it/s]
90%|########9 | 43/48 [00:21<00:03, 1.38it/s]
92%|#########1| 44/48 [00:21<00:02, 1.43it/s]
94%|#########3| 45/48 [00:22<00:02, 1.48it/s]
96%|#########5| 46/48 [00:23<00:01, 1.52it/s]
98%|#########7| 47/48 [00:23<00:00, 1.54it/s]
100%|##########| 48/48 [00:24<00:00, 1.57it/s]
100%|##########| 48/48 [00:24<00:00, 1.97it/s]
C:\Users\Rudolf\AppData\Local\slicer.org\Slicer 5.4.0_2\lib\Python\Lib\site-packages\requests\__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.17) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
If you use this tool please cite: https://pubs.rsna.org/doi/10.1148/ryai.230024
Resampling...
Resampled in 6.84s
Predicting part 1 of 5 ...
Predicting part 2 of 5 ...
Predicting part 3 of 5 ...
Predicting part 4 of 5 ...
Predicting part 5 of 5 ...
Predicted in 260.77s
Resampling...
Saving segmentations...
Saved in 0.69s
Importing segmentation results...
Failed to deserialize terminology string: Segmentation category and type - Total Segmentator~SCT^123037004^Anatomical Structure~SCT^69748006^Thyroid structure~SCT^^~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - DICOM master list~SCT^123037004^Anatomical Structure~SCT^53603007^Entire pulmonary vein~^^~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - Total Segmentator~SCT^123037004^Anatomical Structure~SCT^29700009^Subclavian artery~SCT^24028007^Right~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - Total Segmentator~SCT^123037004^Anatomical Structure~SCT^85235006^Subclavian artery~SCT^7771000^Left~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - Total Segmentator~SCT^123037004^Anatomical Structure~SCT^65355003^Right common carotid artery~SCT^24028007^Right~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - Total Segmentator~SCT^123037004^Anatomical Structure~SCT^113263003^Left common carotid artery~SCT^7771000^Left~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - Total Segmentator~SCT^123037004^Anatomical Structure~SCT^8887007^Brachiocephalic vein~SCT^7771000^Left~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - Total Segmentator~SCT^123037004^Anatomical Structure~SCT^8887007^Brachiocephalic vein~SCT^24028007^Right~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - DICOM master list~SCT^123037004^Anatomical Structure~SCT^305223006^Entire atrial appendage~^7771000^Left~Anatomic codes - DICOM master list~^^~^^|
Failed to deserialize terminology string: Segmentation category and type - Total Segmentator~SCT^123037004^Anatomical Structure~SCT^ 50016007^Rib cartilage~SCT^^Anatomic codes - DICOM master list~^^~^^|
Cleaning up temporary folder...
Processing completed in 296.09 seconds
Processing finished.
I guess in Slicer it does not recognize the downloaded weights. How do you specify in Slicer where the weights are stored? Do you set TOTALSEG_WEIGHTS_PATH
? Or do you not specify anything and they get stored to a default location?
TOTALSEG_WEIGHTS_PATH was not set, but I also tried setting that environment variable (pointing it to the Slicer script directory). What is the name of the weight file file that should be generated?
For v2.0.3: The default TOTALSEG_WEIGHTS_PATH is ~/.totalsegmentator/nnunet/results
and for the fast model it should download the file Dataset297_TotalSegmentator_total_3mm_1559subj.zip
into this directory and extract it.
In v2.0.4 the filename has changed slightly to Dataset297_TotalSegmentator_total_3mm_1559subj_v204.zip
.
I found the downloaded file in the .totalsegmentator directory of my user dir, it is unzipped, but it gets redownloaded upon every application ot Totalsegmentator by 3D Slicer. The folder is not protected. .
[image: image.png]
Am Do., 19. Okt. 2023 um 13:15 Uhr schrieb Jakob Wasserthal < @.***>:
For v2.0.3: The default TOTALSEG_WEIGHTS_PATH is ~/.totalsegmentator/nnunet/results and for the fast model it should download the file Dataset297_TotalSegmentator_total_3mm_1559subj.zip into this directory and extract it. In v2.0.4 the filename has changed slightly to Dataset297_TotalSegmentator_total_3mm_1559subj_v204.zip.
— Reply to this email directly, view it on GitHub https://github.com/wasserth/TotalSegmentator/issues/196#issuecomment-1770653066, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKMXPVFOMETJW3C7SVBNH3YAEDTRAVCNFSM6AAAAAA6ATWYPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZQGY2TGMBWGY . You are receiving this because you authored the thread.Message ID: @.***>
It is a folder, not a file, with several subfolders.
Am Do., 19. Okt. 2023 um 15:30 Uhr schrieb Rudolf B < @.***>:
I found the downloaded file in the .totalsegmentator directory of my user dir, it is unzipped, but it gets redownloaded upon every application ot Totalsegmentator by 3D Slicer. The folder is not protected. .
[image: image.png]
Am Do., 19. Okt. 2023 um 13:15 Uhr schrieb Jakob Wasserthal < @.***>:
For v2.0.3: The default TOTALSEG_WEIGHTS_PATH is ~/.totalsegmentator/nnunet/results and for the fast model it should download the file Dataset297_TotalSegmentator_total_3mm_1559subj.zip into this directory and extract it. In v2.0.4 the filename has changed slightly to Dataset297_TotalSegmentator_total_3mm_1559subj_v204.zip.
— Reply to this email directly, view it on GitHub https://github.com/wasserth/TotalSegmentator/issues/196#issuecomment-1770653066, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKMXPVFOMETJW3C7SVBNH3YAEDTRAVCNFSM6AAAAAA6ATWYPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZQGY2TGMBWGY . You are receiving this because you authored the thread.Message ID: @.***>
Correct, it should be a folder with subfolders. I do not really have an idea why it is getting downloaded over and over again :|
@rbumm I see these progress bars, but I'm not sure if they refer to downloading or just feedback for some processing:
Processing started
Writing input file to C:/Users/andra/AppData/Local/Temp/Slicer/__SlicerTemp__2023-10-19_09+45+37.921/total-segmentator-input.nii
Creating segmentations with TotalSegmentator AI...
Total Segmentator arguments: ['-i', 'C:/Users/andra/AppData/Local/Temp/Slicer/__SlicerTemp__2023-10-19_09+45+37.921/total-segmentator-input.nii', '-o', 'C:/Users/andra/AppData/Local/Temp/Slicer/__SlicerTemp__2023-10-19_09+45+37.921/segmentation', '--ml', '--task', 'total']
0%| | 0/36 [00:00<?, ?it/s]
3%|2 | 1/36 [00:02<01:18, 2.25s/it]
44%|####4 | 16/36 [00:02<00:02, 9.03it/s]
61%|######1 | 22/36 [00:02<00:01, 9.95it/s]
72%|#######2 | 26/36 [00:03<00:00, 10.30it/s]
81%|######## | 29/36 [00:03<00:00, 10.61it/s]
89%|########8 | 32/36 [00:03<00:00, 10.87it/s]
94%|#########4| 34/36 [00:03<00:00, 10.99it/s]
100%|##########| 36/36 [00:04<00:00, 11.13it/s]
100%|##########| 36/36 [00:04<00:00, 8.78it/s]
0%| | 0/36 [00:00<?, ?it/s]
33%|###3 | 12/36 [00:00<00:00, 117.65it/s]
67%|######6 | 24/36 [00:00<00:00, 23.25it/s]
83%|########3 | 30/36 [00:01<00:00, 17.87it/s]
94%|#########4| 34/36 [00:01<00:00, 16.17it/s]
100%|##########| 36/36 [00:01<00:00, 18.62it/s]
0%| | 0/36 [00:00<?, ?it/s]
39%|###8 | 14/36 [00:00<00:00, 138.61it/s]
78%|#######7 | 28/36 [00:01<00:00, 20.15it/s]
97%|#########7| 35/36 [00:01<00:00, 16.23it/s]
100%|##########| 36/36 [00:01<00:00, 18.72it/s]
0%| | 0/36 [00:00<?, ?it/s]
39%|###8 | 14/36 [00:00<00:00, 66.99it/s]
58%|#####8 | 21/36 [00:00<00:00, 22.58it/s]
69%|######9 | 25/36 [00:01<00:00, 18.48it/s]
78%|#######7 | 28/36 [00:01<00:00, 16.51it/s]
83%|########3 | 30/36 [00:01<00:00, 15.72it/s]
89%|########8 | 32/36 [00:01<00:00, 14.99it/s]
94%|#########4| 34/36 [00:01<00:00, 14.14it/s]
100%|##########| 36/36 [00:02<00:00, 13.78it/s]
100%|##########| 36/36 [00:02<00:00, 17.69it/s]
0%| | 0/36 [00:00<?, ?it/s]
39%|###8 | 14/36 [00:00<00:00, 100.00it/s]
67%|######6 | 24/36 [00:01<00:00, 20.29it/s]
81%|######## | 29/36 [00:01<00:00, 17.10it/s]
92%|#########1| 33/36 [00:01<00:00, 15.66it/s]
100%|##########| 36/36 [00:02<00:00, 14.97it/s]
100%|##########| 36/36 [00:02<00:00, 18.00it/s]
If you use this tool please cite: https://pubs.rsna.org/doi/10.1148/ryai.230024
Resampling...
Resampled in 10.76s
Predicting part 1 of 5 ...
Predicting part 2 of 5 ...
Predicting part 3 of 5 ...
Predicting part 4 of 5 ...
Predicting part 5 of 5 ...
Predicted in 104.88s
Resampling...
Saving segmentations...
Saved in 3.18s
Importing segmentation results...
Cleaning up temporary folder...
Processing completed in 147.69 seconds
Processing finished.
Could you shed some light on that Jakob?Sent from my iPhoneOn 19 Oct 2023, at 15:50, Andras Lasso @.***> wrote: @rbumm I see these progress bars, but I'm not sure if they refer to downloading or just feedback for some processing: Processing started Writing input file to C:/Users/andra/AppData/Local/Temp/Slicer/SlicerTemp2023-10-19_09+45+37.921/total-segmentator-input.nii Creating segmentations with TotalSegmentator AI... Total Segmentator arguments: ['-i', 'C:/Users/andra/AppData/Local/Temp/Slicer/SlicerTemp2023-10-19_09+45+37.921/total-segmentator-input.nii', '-o', 'C:/Users/andra/AppData/Local/Temp/Slicer/SlicerTemp2023-10-19_09+45+37.921/segmentation', '--ml', '--task', 'total']
0%| | 0/36 [00:00<?, ?it/s] 3%|2 | 1/36 [00:02<01:18, 2.25s/it] 44%|####4 | 16/36 [00:02<00:02, 9.03it/s] 61%|######1 | 22/36 [00:02<00:01, 9.95it/s] 72%|#######2 | 26/36 [00:03<00:00, 10.30it/s] 81%|######## | 29/36 [00:03<00:00, 10.61it/s] 89%|########8 | 32/36 [00:03<00:00, 10.87it/s] 94%|#########4| 34/36 [00:03<00:00, 10.99it/s] 100%|##########| 36/36 [00:04<00:00, 11.13it/s] 100%|##########| 36/36 [00:04<00:00, 8.78it/s]
0%| | 0/36 [00:00<?, ?it/s] 33%|###3 | 12/36 [00:00<00:00, 117.65it/s] 67%|######6 | 24/36 [00:00<00:00, 23.25it/s] 83%|########3 | 30/36 [00:01<00:00, 17.87it/s] 94%|#########4| 34/36 [00:01<00:00, 16.17it/s] 100%|##########| 36/36 [00:01<00:00, 18.62it/s]
0%| | 0/36 [00:00<?, ?it/s] 39%|###8 | 14/36 [00:00<00:00, 138.61it/s] 78%|#######7 | 28/36 [00:01<00:00, 20.15it/s] 97%|#########7| 35/36 [00:01<00:00, 16.23it/s] 100%|##########| 36/36 [00:01<00:00, 18.72it/s]
0%| | 0/36 [00:00<?, ?it/s] 39%|###8 | 14/36 [00:00<00:00, 66.99it/s] 58%|#####8 | 21/36 [00:00<00:00, 22.58it/s] 69%|######9 | 25/36 [00:01<00:00, 18.48it/s] 78%|#######7 | 28/36 [00:01<00:00, 16.51it/s] 83%|########3 | 30/36 [00:01<00:00, 15.72it/s] 89%|########8 | 32/36 [00:01<00:00, 14.99it/s] 94%|#########4| 34/36 [00:01<00:00, 14.14it/s] 100%|##########| 36/36 [00:02<00:00, 13.78it/s] 100%|##########| 36/36 [00:02<00:00, 17.69it/s]
0%| | 0/36 [00:00<?, ?it/s] 39%|###8 | 14/36 [00:00<00:00, 100.00it/s] 67%|######6 | 24/36 [00:01<00:00, 20.29it/s] 81%|######## | 29/36 [00:01<00:00, 17.10it/s] 92%|#########1| 33/36 [00:01<00:00, 15.66it/s] 100%|##########| 36/36 [00:02<00:00, 14.97it/s] 100%|##########| 36/36 [00:02<00:00, 18.00it/s]
If you use this tool please cite: https://pubs.rsna.org/doi/10.1148/ryai.230024
Resampling... Resampled in 10.76s Predicting part 1 of 5 ... Predicting part 2 of 5 ... Predicting part 3 of 5 ... Predicting part 4 of 5 ... Predicting part 5 of 5 ... Predicted in 104.88s Resampling... Saving segmentations... Saved in 3.18s Importing segmentation results... Cleaning up temporary folder... Processing completed in 147.69 seconds
Processing finished.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
I've found the root cause of the issue and submitted a pull request with the fix (https://github.com/wasserth/TotalSegmentator/pull/202)
Best Rudolf