onlineinfoh commited on
Commit
ce5137a
·
1 Parent(s): a3f3216

add env setup and log for nnunet training

Browse files
model_training/env_snapshot.txt ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ acvl_utils==0.2.5
2
+ batchgenerators==0.25.1
3
+ batchgeneratorsv2==0.3.0
4
+ blosc2==3.10.0
5
+ certifi==2022.12.7
6
+ charset-normalizer==2.1.1
7
+ connected-components-3d==3.25.0
8
+ contourpy==1.3.2
9
+ cycler==0.12.1
10
+ dynamic_network_architectures==0.4.2
11
+ einops==0.8.1
12
+ fft-conv-pytorch==1.2.0
13
+ filelock==3.13.1
14
+ fonttools==4.60.1
15
+ fsspec==2024.6.1
16
+ future==1.0.0
17
+ graphviz==0.21
18
+ hf-xet==1.1.10
19
+ huggingface-hub==0.35.3
20
+ idna==3.4
21
+ imagecodecs==2025.3.30
22
+ imageio==2.37.0
23
+ importlib_resources==6.5.2
24
+ Jinja2==3.1.4
25
+ joblib==1.5.2
26
+ kiwisolver==1.4.9
27
+ lazy_loader==0.4
28
+ linecache2==1.0.0
29
+ MarkupSafe==2.1.5
30
+ matplotlib==3.10.7
31
+ monai==1.5.1
32
+ mpmath==1.3.0
33
+ msgpack==1.1.2
34
+ ndindex==1.10.0
35
+ networkx==3.3
36
+ nibabel==5.3.2
37
+ nnunetv2==2.6.2
38
+ numexpr==2.13.1
39
+ numpy==2.1.2
40
+ packaging==25.0
41
+ pandas==2.3.3
42
+ pillow==11.0.0
43
+ platformdirs==4.5.0
44
+ py-cpuinfo==9.0.0
45
+ pyparsing==3.2.5
46
+ python-dateutil==2.9.0.post0
47
+ pytz==2025.2
48
+ PyYAML==6.0.3
49
+ requests==2.28.1
50
+ safetensors==0.6.2
51
+ scikit-image==0.25.2
52
+ scikit-learn==1.7.2
53
+ scipy==1.15.3
54
+ seaborn==0.13.2
55
+ simpleitk==2.5.2
56
+ six==1.17.0
57
+ sympy==1.13.3
58
+ threadpoolctl==3.6.0
59
+ tifffile==2025.5.10
60
+ timm==1.0.20
61
+ torch==2.7.1+cu128
62
+ torchaudio==2.7.1
63
+ torchvision==0.22.1
64
+ tqdm==4.67.1
65
+ traceback2==1.4.0
66
+ triton==3.3.1
67
+ typing_extensions==4.12.2
68
+ tzdata==2025.2
69
+ unittest2==1.1.0
70
+ urllib3==1.26.13
71
+ yacs==0.1.8
72
+ ==== nnU-Net Environment Snapshot ====
73
+ Timestamp: 2025-10-10T00:46:14.777088
74
+
75
+ --- System ---
76
+ OS: Linux-6.8.0-1013-nvidia-64k-aarch64-with-glibc2.35
77
+ Architecture: aarch64
78
+ Python: 3.10.12 (main, May 27 2025, 17:12:29) [GCC 11.4.0]
79
+
80
+ --- CUDA / GPU ---
81
+ Torch: 2.7.1+cu128
82
+ CUDA available: True
83
+ CUDA version: 12.8
84
+ cuDNN version: 90800
85
+ GPU 0: NVIDIA GH200 480GB
86
+
87
+ --- nnU-Net Environment Variables ---
88
+ CUDA_MODULE_LOADING=LAZY
89
+ LD_LIBRARY_PATH=/usr/mpi/gcc/openmpi-4.1.7rc1/lib:/usr/mpi/gcc/openmpi-4.1.7rc1/lib64
90
+ PATH=/home/ubuntu/wcm/env/nnunet/bin:/home/ubuntu/.local/bin:/usr/mpi/gcc/openmpi-4.1.7rc1/bin:/home/ubuntu/.local/bin:/home/ubuntu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
91
+ nnUNet_preprocessed=nnUNet_preprocessed
92
+ nnUNet_raw=nnUNet_raw
93
+ nnUNet_results=nnUNet_results
94
+
95
+ --- Installed Key Packages ---
96
+ nnunetv2: 2.6.2
97
+ torch: 2.7.1+cu128
98
+ torchvision: 0.22.1
99
+ numpy: 2.1.2
100
+ scipy: 1.15.3
101
+ nibabel: 5.3.2
102
+ pandas: 2.3.3
103
+ opencv-python: not found
104
+ matplotlib: 3.10.7
105
+
106
+ --- All Installed Packages ---
model_training/preprocess_D101.log ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fingerprint extraction...
2
+ Dataset101_FinalSet
3
+ Using <class 'nnunetv2.imageio.simpleitk_reader_writer.SimpleITKIO'> as reader/writer
4
+
5
+ ####################
6
+ verify_dataset_integrity Done.
7
+ If you didn't see any error messages then your dataset is most likely OK!
8
+ ####################
9
+
10
+ Using <class 'nnunetv2.imageio.simpleitk_reader_writer.SimpleITKIO'> as reader/writer
11
+ Experiment planning...
12
+
13
+ ############################
14
+ INFO: You are using the old nnU-Net default planner. We have updated our recommendations. Please consider using those instead! Read more here: https://github.com/MIC-DKFZ/nnUNet/blob/master/documentation/resenc_presets.md
15
+ ############################
16
+
17
+ Attempting to find 3d_lowres config.
18
+ Current spacing: [2.5 0.89722656 0.89722656].
19
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
20
+ Current median shape: [391. 497.08737864 497.08737864]
21
+ Attempting to find 3d_lowres config.
22
+ Current spacing: [2.5 0.92414336 0.92414336].
23
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
24
+ Current median shape: [391. 482.60910548 482.60910548]
25
+ Attempting to find 3d_lowres config.
26
+ Current spacing: [2.5 0.95186766 0.95186766].
27
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
28
+ Current median shape: [391. 468.55252959 468.55252959]
29
+ Attempting to find 3d_lowres config.
30
+ Current spacing: [2.5 0.98042369 0.98042369].
31
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
32
+ Current median shape: [391. 454.90536853 454.90536853]
33
+ Attempting to find 3d_lowres config.
34
+ Current spacing: [2.5 1.0098364 1.0098364].
35
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
36
+ Current median shape: [391. 441.6556976 441.6556976]
37
+ Attempting to find 3d_lowres config.
38
+ Current spacing: [2.5 1.04013149 1.04013149].
39
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
40
+ Current median shape: [391. 428.79193942 428.79193942]
41
+ Attempting to find 3d_lowres config.
42
+ Current spacing: [2.5 1.07133544 1.07133544].
43
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
44
+ Current median shape: [391. 416.30285381 416.30285381]
45
+ Attempting to find 3d_lowres config.
46
+ Current spacing: [2.5 1.1034755 1.1034755].
47
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
48
+ Current median shape: [391. 404.17752797 404.17752797]
49
+ Attempting to find 3d_lowres config.
50
+ Current spacing: [2.5 1.13657977 1.13657977].
51
+ Current patch size: (np.int64(112), np.int64(128), np.int64(128)).
52
+ Current median shape: [391. 392.40536696 392.40536696]
53
+ Attempting to find 3d_lowres config.
54
+ Current spacing: [2.5 1.17067716 1.17067716].
55
+ Current patch size: (np.int64(128), np.int64(128), np.int64(112)).
56
+ Current median shape: [391. 380.97608443 380.97608443]
57
+ Attempting to find 3d_lowres config.
58
+ Current spacing: [2.5 1.20579747 1.20579747].
59
+ Current patch size: (np.int64(128), np.int64(128), np.int64(112)).
60
+ Current median shape: [391. 369.87969362 369.87969362]
61
+ Attempting to find 3d_lowres config.
62
+ Current spacing: [2.5 1.2419714 1.2419714].
63
+ Current patch size: (np.int64(128), np.int64(128), np.int64(112)).
64
+ Current median shape: [391. 359.10649866 359.10649866]
65
+ Attempting to find 3d_lowres config.
66
+ Current spacing: [2.5 1.27923054 1.27923054].
67
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
68
+ Current median shape: [391. 348.64708608 348.64708608]
69
+ Attempting to find 3d_lowres config.
70
+ Current spacing: [2.575 1.31760746 1.31760746].
71
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
72
+ Current median shape: [379.61165049 338.49231658 338.49231658]
73
+ Attempting to find 3d_lowres config.
74
+ Current spacing: [2.65225 1.35713568 1.35713568].
75
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
76
+ Current median shape: [368.55500047 328.63331707 328.63331707]
77
+ Attempting to find 3d_lowres config.
78
+ Current spacing: [2.7318175 1.39784975 1.39784975].
79
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
80
+ Current median shape: [357.82038881 319.06147288 319.06147288]
81
+ Attempting to find 3d_lowres config.
82
+ Current spacing: [2.81377203 1.43978524 1.43978524].
83
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
84
+ Current median shape: [347.39843574 309.76842027 309.76842027]
85
+ Attempting to find 3d_lowres config.
86
+ Current spacing: [2.89818519 1.4829788 1.4829788 ].
87
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
88
+ Current median shape: [337.28003469 300.7460391 300.7460391 ]
89
+ Attempting to find 3d_lowres config.
90
+ Current spacing: [2.98513074 1.52746816 1.52746816].
91
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
92
+ Current median shape: [327.45634436 291.98644573 291.98644573]
93
+ Attempting to find 3d_lowres config.
94
+ Current spacing: [3.07468466 1.57329221 1.57329221].
95
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
96
+ Current median shape: [317.91878094 283.48198614 283.48198614]
97
+ Attempting to find 3d_lowres config.
98
+ Current spacing: [3.1669252 1.62049097 1.62049097].
99
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
100
+ Current median shape: [308.65901062 275.22522927 275.22522927]
101
+ Attempting to find 3d_lowres config.
102
+ Current spacing: [3.26193296 1.6691057 1.6691057 ].
103
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
104
+ Current median shape: [299.66894235 267.20896045 267.20896045]
105
+ Attempting to find 3d_lowres config.
106
+ Current spacing: [3.35979095 1.71917887 1.71917887].
107
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
108
+ Current median shape: [290.94072072 259.4261752 259.4261752 ]
109
+ Attempting to find 3d_lowres config.
110
+ Current spacing: [3.46058468 1.77075424 1.77075424].
111
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
112
+ Current median shape: [282.46671915 251.87007301 251.87007301]
113
+ Attempting to find 3d_lowres config.
114
+ Current spacing: [3.56440222 1.82387687 1.82387687].
115
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
116
+ Current median shape: [274.23953316 244.53405146 244.53405146]
117
+ Attempting to find 3d_lowres config.
118
+ Current spacing: [3.67133428 1.87859317 1.87859317].
119
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
120
+ Current median shape: [266.25197394 237.41170045 237.41170045]
121
+ Attempting to find 3d_lowres config.
122
+ Current spacing: [3.78147431 1.93495097 1.93495097].
123
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
124
+ Current median shape: [258.49706208 230.49679655 230.49679655]
125
+ Attempting to find 3d_lowres config.
126
+ Current spacing: [3.89491854 1.9929995 1.9929995 ].
127
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
128
+ Current median shape: [250.96802143 223.78329762 223.78329762]
129
+ Attempting to find 3d_lowres config.
130
+ Current spacing: [4.0117661 2.05278948 2.05278948].
131
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
132
+ Current median shape: [243.65827324 217.2653375 217.2653375 ]
133
+ Attempting to find 3d_lowres config.
134
+ Current spacing: [4.13211908 2.11437317 2.11437317].
135
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
136
+ Current median shape: [236.56143033 210.93722087 210.93722087]
137
+ Attempting to find 3d_lowres config.
138
+ Current spacing: [4.25608265 2.17780436 2.17780436].
139
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
140
+ Current median shape: [229.67129158 204.79341832 204.79341832]
141
+ Attempting to find 3d_lowres config.
142
+ Current spacing: [4.38376513 2.24313849 2.24313849].
143
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
144
+ Current median shape: [222.98183648 198.82856148 198.82856148]
145
+ Attempting to find 3d_lowres config.
146
+ Current spacing: [4.51527809 2.31043265 2.31043265].
147
+ Current patch size: (np.int64(128), np.int64(128), np.int64(128)).
148
+ Current median shape: [216.48721989 193.03743833 193.03743833]
149
+ 2D U-Net configuration:
150
+ {'data_identifier': 'nnUNetPlans_2d', 'preprocessor_name': 'DefaultPreprocessor', 'batch_size': 12, 'patch_size': (np.int64(512), np.int64(512)), 'median_image_size_in_voxels': array([512., 512.]), 'spacing': array([0.87109375, 0.87109375]), 'normalization_schemes': ['CTNormalization'], 'use_mask_for_norm': [False], 'resampling_fn_data': 'resample_data_or_seg_to_shape', 'resampling_fn_seg': 'resample_data_or_seg_to_shape', 'resampling_fn_data_kwargs': {'is_seg': False, 'order': 3, 'order_z': 0, 'force_separate_z': None}, 'resampling_fn_seg_kwargs': {'is_seg': True, 'order': 1, 'order_z': 0, 'force_separate_z': None}, 'resampling_fn_probabilities': 'resample_data_or_seg_to_shape', 'resampling_fn_probabilities_kwargs': {'is_seg': False, 'order': 1, 'order_z': 0, 'force_separate_z': None}, 'architecture': {'network_class_name': 'dynamic_network_architectures.architectures.unet.PlainConvUNet', 'arch_kwargs': {'n_stages': 8, 'features_per_stage': (32, 64, 128, 256, 512, 512, 512, 512), 'conv_op': 'torch.nn.modules.conv.Conv2d', 'kernel_sizes': ((3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3)), 'strides': ((1, 1), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2)), 'n_conv_per_stage': (2, 2, 2, 2, 2, 2, 2, 2), 'n_conv_per_stage_decoder': (2, 2, 2, 2, 2, 2, 2), 'conv_bias': True, 'norm_op': 'torch.nn.modules.instancenorm.InstanceNorm2d', 'norm_op_kwargs': {'eps': 1e-05, 'affine': True}, 'dropout_op': None, 'dropout_op_kwargs': None, 'nonlin': 'torch.nn.LeakyReLU', 'nonlin_kwargs': {'inplace': True}}, '_kw_requires_import': ('conv_op', 'norm_op', 'dropout_op', 'nonlin')}, 'batch_dice': True}
151
+
152
+ Using <class 'nnunetv2.imageio.simpleitk_reader_writer.SimpleITKIO'> as reader/writer
153
+ 3D lowres U-Net configuration:
154
+ {'data_identifier': 'nnUNetPlans_3d_lowres', 'preprocessor_name': 'DefaultPreprocessor', 'batch_size': 2, 'patch_size': (np.int64(128), np.int64(128), np.int64(128)), 'median_image_size_in_voxels': (216, 193, 193), 'spacing': array([4.51527809, 2.31043265, 2.31043265]), 'normalization_schemes': ['CTNormalization'], 'use_mask_for_norm': [False], 'resampling_fn_data': 'resample_data_or_seg_to_shape', 'resampling_fn_seg': 'resample_data_or_seg_to_shape', 'resampling_fn_data_kwargs': {'is_seg': False, 'order': 3, 'order_z': 0, 'force_separate_z': None}, 'resampling_fn_seg_kwargs': {'is_seg': True, 'order': 1, 'order_z': 0, 'force_separate_z': None}, 'resampling_fn_probabilities': 'resample_data_or_seg_to_shape', 'resampling_fn_probabilities_kwargs': {'is_seg': False, 'order': 1, 'order_z': 0, 'force_separate_z': None}, 'architecture': {'network_class_name': 'dynamic_network_architectures.architectures.unet.PlainConvUNet', 'arch_kwargs': {'n_stages': 6, 'features_per_stage': (32, 64, 128, 256, 320, 320), 'conv_op': 'torch.nn.modules.conv.Conv3d', 'kernel_sizes': ((3, 3, 3), (3, 3, 3), (3, 3, 3), (3, 3, 3), (3, 3, 3), (3, 3, 3)), 'strides': ((1, 1, 1), (2, 2, 2), (2, 2, 2), (2, 2, 2), (2, 2, 2), (2, 2, 2)), 'n_conv_per_stage': (2, 2, 2, 2, 2, 2), 'n_conv_per_stage_decoder': (2, 2, 2, 2, 2), 'conv_bias': True, 'norm_op': 'torch.nn.modules.instancenorm.InstanceNorm3d', 'norm_op_kwargs': {'eps': 1e-05, 'affine': True}, 'dropout_op': None, 'dropout_op_kwargs': None, 'nonlin': 'torch.nn.LeakyReLU', 'nonlin_kwargs': {'inplace': True}}, '_kw_requires_import': ('conv_op', 'norm_op', 'dropout_op', 'nonlin')}, 'batch_dice': False, 'next_stage': '3d_cascade_fullres'}
155
+
156
+ 3D fullres U-Net configuration:
157
+ {'data_identifier': 'nnUNetPlans_3d_fullres', 'preprocessor_name': 'DefaultPreprocessor', 'batch_size': 2, 'patch_size': (np.int64(112), np.int64(128), np.int64(128)), 'median_image_size_in_voxels': array([391., 512., 512.]), 'spacing': array([2.5 , 0.87109375, 0.87109375]), 'normalization_schemes': ['CTNormalization'], 'use_mask_for_norm': [False], 'resampling_fn_data': 'resample_data_or_seg_to_shape', 'resampling_fn_seg': 'resample_data_or_seg_to_shape', 'resampling_fn_data_kwargs': {'is_seg': False, 'order': 3, 'order_z': 0, 'force_separate_z': None}, 'resampling_fn_seg_kwargs': {'is_seg': True, 'order': 1, 'order_z': 0, 'force_separate_z': None}, 'resampling_fn_probabilities': 'resample_data_or_seg_to_shape', 'resampling_fn_probabilities_kwargs': {'is_seg': False, 'order': 1, 'order_z': 0, 'force_separate_z': None}, 'architecture': {'network_class_name': 'dynamic_network_architectures.architectures.unet.PlainConvUNet', 'arch_kwargs': {'n_stages': 6, 'features_per_stage': (32, 64, 128, 256, 320, 320), 'conv_op': 'torch.nn.modules.conv.Conv3d', 'kernel_sizes': ((1, 3, 3), (3, 3, 3), (3, 3, 3), (3, 3, 3), (3, 3, 3), (3, 3, 3)), 'strides': ((1, 1, 1), (1, 2, 2), (2, 2, 2), (2, 2, 2), (2, 2, 2), (2, 2, 2)), 'n_conv_per_stage': (2, 2, 2, 2, 2, 2), 'n_conv_per_stage_decoder': (2, 2, 2, 2, 2), 'conv_bias': True, 'norm_op': 'torch.nn.modules.instancenorm.InstanceNorm3d', 'norm_op_kwargs': {'eps': 1e-05, 'affine': True}, 'dropout_op': None, 'dropout_op_kwargs': None, 'nonlin': 'torch.nn.LeakyReLU', 'nonlin_kwargs': {'inplace': True}}, '_kw_requires_import': ('conv_op', 'norm_op', 'dropout_op', 'nonlin')}, 'batch_dice': True}
158
+
159
+ Plans were saved to nnUNet_preprocessed/Dataset101_FinalSet/nnUNetPlans.json
160
+ Preprocessing...
161
+ Preprocessing dataset Dataset101_FinalSet
162
+ Configuration: 2d...
163
+ Configuration: 3d_fullres...
164
+ Configuration: 3d_lowres...