{"id":1051,"date":"2026-05-14T17:13:42","date_gmt":"2026-05-14T09:13:42","guid":{"rendered":"https:\/\/www.eutaboo.com\/index.php\/2026\/05\/14\/%e3%80%8annu-net-0%e5%9f%ba%e7%a1%80%e5%85%a5%e9%97%a8%ef%bc%883%ef%bc%89%ef%bc%9a%e6%95%b0%e6%8d%ae%e9%9b%86%e6%a0%bc%e5%bc%8f%ef%bc%8c%e4%bb%8e-imagestr-labelstr-%e5%88%b0-dataset-json%e3%80%8b\/"},"modified":"2026-05-14T17:13:42","modified_gmt":"2026-05-14T09:13:42","slug":"%e3%80%8annu-net-0%e5%9f%ba%e7%a1%80%e5%85%a5%e9%97%a8%ef%bc%883%ef%bc%89%ef%bc%9a%e6%95%b0%e6%8d%ae%e9%9b%86%e6%a0%bc%e5%bc%8f%ef%bc%8c%e4%bb%8e-imagestr-labelstr-%e5%88%b0-dataset-json%e3%80%8b","status":"publish","type":"post","link":"https:\/\/www.eutaboo.com\/index.php\/2026\/05\/14\/%e3%80%8annu-net-0%e5%9f%ba%e7%a1%80%e5%85%a5%e9%97%a8%ef%bc%883%ef%bc%89%ef%bc%9a%e6%95%b0%e6%8d%ae%e9%9b%86%e6%a0%bc%e5%bc%8f%ef%bc%8c%e4%bb%8e-imagestr-labelstr-%e5%88%b0-dataset-json%e3%80%8b\/","title":{"rendered":"\u300annU-Net 0\u57fa\u7840\u5165\u95e8\uff083\uff09\uff1a\u6570\u636e\u96c6\u683c\u5f0f\uff0c\u4ece imagesTr\/labelsTr \u5230 dataset.json\u300b"},"content":{"rendered":"<h2>\u672c\u7bc7\u5b66\u4e60\u76ee\u6807<\/h2>\n<p>\u8fd9\u662f\u300annU-Net 0\u57fa\u7840\u5165\u95e8\u300b\u7cfb\u5217\u7684\u7b2c 3 \u7bc7\u3002\u524d\u4e24\u7bc7\u6211\u4eec\u8bb2\u4e86 nnU-Net v2 \u7684\u5b9a\u4f4d\u548c\u5b89\u88c5\u73af\u5883\u3002\u672c\u6587\u8fdb\u5165\u7b2c\u4e00\u4e2a\u771f\u6b63\u5bb9\u6613\u8e29\u5751\u7684\u73af\u8282\uff1a\u6570\u636e\u96c6\u683c\u5f0f\u3002<\/p>\n<p>\u8bfb\u5b8c\u672c\u6587\uff0c\u4f60\u5e94\u8be5\u80fd\u591f\uff1a<\/p>\n<ol>\n<li>\u7406\u89e3 nnU-Net v2 \u4e3a\u4ec0\u4e48\u8981\u6c42\u56fa\u5b9a\u7684\u6570\u636e\u96c6\u76ee\u5f55\u7ed3\u6784\u3002<\/li>\n<li>\u6b63\u786e\u533a\u5206 <code>imagesTr<\/code>\u3001<code>labelsTr<\/code>\u3001<code>imagesTs<\/code> \u7684\u4f5c\u7528\u3002<\/li>\n<li>\u638c\u63e1 case id\u3001channel \u7f16\u53f7\u548c\u6807\u7b7e\u6587\u4ef6\u547d\u540d\u89c4\u5219\u3002<\/li>\n<li>\u5199\u51fa\u4e00\u4e2a\u6700\u5c0f\u53ef\u7528\u7684 <code>dataset.json<\/code>\u3002<\/li>\n<li>\u77e5\u9053\u7528\u4ec0\u4e48\u547d\u4ee4\u68c0\u67e5\u6570\u636e\u96c6\u683c\u5f0f\u662f\u5426\u6b63\u786e\u3002<\/li>\n<\/ol>\n<h2>1. \u4e3a\u4ec0\u4e48\u6570\u636e\u96c6\u683c\u5f0f\u8fd9\u4e48\u91cd\u8981<\/h2>\n<p>nnU-Net v2 \u7684\u6838\u5fc3\u601d\u60f3\u662f\u81ea\u52a8\u5206\u6790\u6570\u636e\u5e76\u751f\u6210\u8bad\u7ec3\u914d\u7f6e\u3002\u8981\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u5b83\u5fc5\u987b\u5148\u53ef\u9760\u5730\u627e\u5230\u8bad\u7ec3\u56fe\u50cf\u3001\u6807\u7b7e\u3001\u901a\u9053\u4fe1\u606f\u3001\u7c7b\u522b\u4fe1\u606f\u548c\u6587\u4ef6\u683c\u5f0f\u3002\u5982\u679c\u4f60\u7684\u6570\u636e\u76ee\u5f55\u6df7\u4e71\uff0cnnU-Net \u5c31\u65e0\u6cd5\u5224\u65ad\u54ea\u4e2a\u6587\u4ef6\u662f\u56fe\u50cf\u3001\u54ea\u4e2a\u6587\u4ef6\u662f\u6807\u7b7e\u3001\u54ea\u4e9b\u6587\u4ef6\u5c5e\u4e8e\u540c\u4e00\u4e2a\u75c5\u4f8b\u3002<\/p>\n<p>\u56e0\u6b64\uff0cnnU-Net v2 \u5bf9\u6570\u636e\u96c6\u6709\u4e00\u5957\u660e\u786e\u683c\u5f0f\u8981\u6c42\u3002\u4f60\u53ef\u4ee5\u628a\u5b83\u7406\u89e3\u6210\u201c\u548c\u6846\u67b6\u7b7e\u8ba2\u7684\u6570\u636e\u63a5\u53e3\u201d\u3002\u53ea\u8981\u63a5\u53e3\u6b63\u786e\uff0c\u540e\u9762\u7684 plan\u3001preprocess\u3001train\u3001predict \u624d\u80fd\u987a\u5229\u8854\u63a5\u3002<\/p>\n<h2>2. \u6807\u51c6\u76ee\u5f55\u7ed3\u6784<\/h2>\n<p>\u5b98\u65b9\u6587\u6863\u8981\u6c42\uff0c\u6bcf\u4e2a\u6570\u636e\u96c6\u90fd\u653e\u5728 <code>nnUNet_raw<\/code> \u4e0b\u9762\uff0c\u5e76\u547d\u540d\u4e3a <code>DatasetXXX_Name<\/code>\u3002\u5176\u4e2d <code>XXX<\/code> \u662f\u4e09\u4f4d\u6570\u5b57\u6570\u636e\u96c6\u7f16\u53f7\uff0c<code>Name<\/code> \u662f\u4f60\u7ed9\u6570\u636e\u96c6\u8d77\u7684\u540d\u5b57\u3002<\/p>\n<pre><code class=\"language-text\">nnUNet_raw\/\n\u2514\u2500\u2500 Dataset001_Liver\n    \u251c\u2500\u2500 dataset.json\n    \u251c\u2500\u2500 imagesTr\/\n    \u251c\u2500\u2500 labelsTr\/\n    \u2514\u2500\u2500 imagesTs\/<\/code><\/pre>\n<p>\u4e09\u4e2a\u5b50\u76ee\u5f55\u7684\u542b\u4e49\u5982\u4e0b\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u76ee\u5f55<\/th>\n<th>\u662f\u5426\u5fc5\u987b<\/th>\n<th>\u4f5c\u7528<\/th>\n<th>\u662f\u5426\u6709\u6807\u7b7e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>imagesTr<\/code><\/td>\n<td>\u5fc5\u987b<\/td>\n<td>\u8bad\u7ec3\u56fe\u50cf<\/td>\n<td>\u5bf9\u5e94 <code>labelsTr<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>labelsTr<\/code><\/td>\n<td>\u5fc5\u987b<\/td>\n<td>\u8bad\u7ec3\u6807\u7b7e\uff0c\u4e5f\u5c31\u662f\u4eba\u5de5\u6807\u6ce8\u7684\u5206\u5272 mask<\/td>\n<td>\u81ea\u8eab\u5c31\u662f\u6807\u7b7e<\/td>\n<\/tr>\n<tr>\n<td><code>imagesTs<\/code><\/td>\n<td>\u53ef\u9009<\/td>\n<td>\u6d4b\u8bd5\u56fe\u50cf\u6216\u65e0\u6807\u7b7e\u63a8\u7406\u56fe\u50cf<\/td>\n<td>\u6ca1\u6709\u6807\u7b7e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>mask<\/strong> \u5728\u5206\u5272\u4efb\u52a1\u4e2d\u901a\u5e38\u6307\u6807\u7b7e\u56fe\u3002\u5b83\u548c\u539f\u56fe\u5927\u5c0f\u4e00\u81f4\uff0c\u6bcf\u4e2a\u50cf\u7d20\u6216\u4f53\u7d20\u7684\u6570\u503c\u4ee3\u8868\u7c7b\u522b\u3002\u4f8b\u5982\u80cc\u666f\u662f 0\uff0c\u809d\u810f\u662f 1\uff0c\u80bf\u7624\u662f 2\u3002<\/p>\n<h2>3. case id\uff1a\u540c\u4e00\u4e2a\u75c5\u4f8b\u5982\u4f55\u5bf9\u5e94\u8d77\u6765<\/h2>\n<p><strong>case id<\/strong> \u662f\u75c5\u4f8b\u7f16\u53f7\u6216\u6837\u672c\u7f16\u53f7\u3002nnU-Net v2 \u901a\u8fc7 case id \u5224\u65ad\u54ea\u4e9b\u56fe\u50cf\u901a\u9053\u548c\u54ea\u4e2a\u6807\u7b7e\u5c5e\u4e8e\u540c\u4e00\u4e2a\u75c5\u4f8b\u3002<\/p>\n<p>\u8bad\u7ec3\u56fe\u50cf\u6587\u4ef6\u547d\u540d\u683c\u5f0f\u662f\uff1a<\/p>\n<pre><code class=\"language-text\">{CASE_IDENTIFIER}_{XXXX}.{FILE_ENDING}<\/code><\/pre>\n<p>\u6807\u7b7e\u6587\u4ef6\u547d\u540d\u683c\u5f0f\u662f\uff1a<\/p>\n<pre><code class=\"language-text\">{CASE_IDENTIFIER}.{FILE_ENDING}<\/code><\/pre>\n<p>\u8fd9\u91cc\u7684 <code>XXXX<\/code> \u662f\u56db\u4f4d channel \u7f16\u53f7\uff0c\u4f8b\u5982 <code>0000<\/code>\u3001<code>0001<\/code>\u3002\u6807\u7b7e\u6587\u4ef6\u4e0d\u5e26 channel \u7f16\u53f7\u3002<\/p>\n<p>\u4e00\u4e2a\u5355\u901a\u9053 3D NIfTI \u6570\u636e\u96c6\u53ef\u4ee5\u8fd9\u6837\u547d\u540d\uff1a<\/p>\n<pre><code class=\"language-text\">Dataset001_Liver\/\n\u251c\u2500\u2500 imagesTr\/\n\u2502   \u251c\u2500\u2500 liver_001_0000.nii.gz\n\u2502   \u251c\u2500\u2500 liver_002_0000.nii.gz\n\u2502   \u2514\u2500\u2500 liver_003_0000.nii.gz\n\u251c\u2500\u2500 labelsTr\/\n\u2502   \u251c\u2500\u2500 liver_001.nii.gz\n\u2502   \u251c\u2500\u2500 liver_002.nii.gz\n\u2502   \u2514\u2500\u2500 liver_003.nii.gz\n\u2514\u2500\u2500 dataset.json<\/code><\/pre>\n<p>\u6ce8\u610f <code>liver_001_0000.nii.gz<\/code> \u548c <code>liver_001.nii.gz<\/code> \u901a\u8fc7\u5171\u540c\u7684 case id <code>liver_001<\/code> \u5bf9\u5e94\u8d77\u6765\u3002<\/p>\n<h2>4. \u591a\u901a\u9053\u6570\u636e\u600e\u4e48\u653e<\/h2>\n<p>\u533b\u5b66\u56fe\u50cf\u91cc\u7ecf\u5e38\u4f1a\u6709\u591a\u6a21\u6001\u6216\u591a\u901a\u9053\u8f93\u5165\u3002\u4f8b\u5982\u8111\u80bf\u7624 MRI \u53ef\u80fd\u6709 T1\u3001T1ce\u3001T2\u3001FLAIR\uff1b\u524d\u5217\u817a MRI \u53ef\u80fd\u6709 T2 \u548c ADC\u3002nnU-Net v2 \u5bf9\u975e RGB \u591a\u901a\u9053\u8f93\u5165\u7684\u8981\u6c42\u662f\uff1a\u6bcf\u4e2a\u901a\u9053\u5355\u72ec\u5b58\u6210\u4e00\u4e2a\u6587\u4ef6\uff0c\u5e76\u7528\u56db\u4f4d channel \u7f16\u53f7\u533a\u5206\u3002<\/p>\n<pre><code class=\"language-text\">Dataset002_Prostate\/\n\u251c\u2500\u2500 imagesTr\/\n\u2502   \u251c\u2500\u2500 case_001_0000.nii.gz\n\u2502   \u251c\u2500\u2500 case_001_0001.nii.gz\n\u2502   \u251c\u2500\u2500 case_002_0000.nii.gz\n\u2502   \u2514\u2500\u2500 case_002_0001.nii.gz\n\u251c\u2500\u2500 labelsTr\/\n\u2502   \u251c\u2500\u2500 case_001.nii.gz\n\u2502   \u2514\u2500\u2500 case_002.nii.gz\n\u2514\u2500\u2500 dataset.json<\/code><\/pre>\n<p>\u8fd9\u91cc <code>case_001_0000.nii.gz<\/code> \u548c <code>case_001_0001.nii.gz<\/code> \u662f\u540c\u4e00\u4e2a\u75c5\u4f8b\u7684\u4e24\u4e2a\u8f93\u5165\u901a\u9053\u3002\u5b98\u65b9\u6587\u6863\u5f3a\u8c03\uff1a\u540c\u4e00\u75c5\u4f8b\u7684\u6240\u6709\u901a\u9053\u5fc5\u987b\u51e0\u4f55\u4e00\u81f4\u5e76\u4e14\u5bf9\u9f50\uff0c\u901a\u9053\u987a\u5e8f\u5728\u6240\u6709\u75c5\u4f8b\u4e2d\u5fc5\u987b\u4e00\u81f4\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6587\u4ef6<\/th>\n<th>\u542b\u4e49<\/th>\n<th>\u901a\u9053\u7f16\u53f7<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>case_001_0000.nii.gz<\/code><\/td>\n<td>\u7b2c 1 \u4e2a\u75c5\u4f8b\u7684\u7b2c 0 \u4e2a\u8f93\u5165\u901a\u9053<\/td>\n<td><code>0000<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>case_001_0001.nii.gz<\/code><\/td>\n<td>\u7b2c 1 \u4e2a\u75c5\u4f8b\u7684\u7b2c 1 \u4e2a\u8f93\u5165\u901a\u9053<\/td>\n<td><code>0001<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>case_001.nii.gz<\/code><\/td>\n<td>\u7b2c 1 \u4e2a\u75c5\u4f8b\u7684\u6807\u7b7e<\/td>\n<td>\u65e0 channel \u7f16\u53f7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>5. dataset.json\uff1a\u544a\u8bc9 nnU-Net \u8fd9\u4e2a\u6570\u636e\u96c6\u662f\u4ec0\u4e48<\/h2>\n<p><code>dataset.json<\/code> \u662f\u6bcf\u4e2a\u6570\u636e\u96c6\u5fc5\u987b\u5305\u542b\u7684\u5143\u4fe1\u606f\u6587\u4ef6\u3002<strong>\u5143\u4fe1\u606f<\/strong>\u6307\u63cf\u8ff0\u6570\u636e\u7684\u6570\u636e\uff0c\u4f8b\u5982\u901a\u9053\u540d\u79f0\u3001\u6807\u7b7e\u7c7b\u522b\u3001\u8bad\u7ec3\u6837\u672c\u6570\u91cf\u548c\u6587\u4ef6\u540e\u7f00\u3002<\/p>\n<p>\u5b98\u65b9\u53c2\u8003\u6587\u6863\u4e2d\u6700\u91cd\u8981\u7684\u5b57\u6bb5\u5305\u62ec <code>channel_names<\/code>\u3001<code>labels<\/code>\u3001<code>numTraining<\/code> \u548c <code>file_ending<\/code>\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u6700\u5c0f\u793a\u4f8b\uff1a<\/p>\n<pre><code class=\"language-json\">{\n  \"channel_names\": {\n    \"0\": \"CT\"\n  },\n  \"labels\": {\n    \"background\": 0,\n    \"liver\": 1,\n    \"tumor\": 2\n  },\n  \"numTraining\": 3,\n  \"file_ending\": \".nii.gz\"\n}<\/code><\/pre>\n<p>\u5b57\u6bb5\u89e3\u91ca\u5982\u4e0b\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5b57\u6bb5<\/th>\n<th>\u542b\u4e49<\/th>\n<th>\u5e38\u89c1\u9519\u8bef<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>channel_names<\/code><\/td>\n<td>\u8f93\u5165\u901a\u9053\u540d\u79f0\uff0c\u4f1a\u5f71\u54cd\u5f52\u4e00\u5316\u884c\u4e3a<\/td>\n<td>\u591a\u901a\u9053\u987a\u5e8f\u548c\u6587\u4ef6\u7f16\u53f7\u4e0d\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<td><code>labels<\/code><\/td>\n<td>\u6807\u7b7e\u540d\u79f0\u5230\u6574\u6570\u7c7b\u522b\u7684\u6620\u5c04<\/td>\n<td>\u6807\u7b7e\u6587\u4ef6\u91cc\u51fa\u73b0\u4e86\u672a\u58f0\u660e\u7684\u7c7b\u522b\u503c<\/td>\n<\/tr>\n<tr>\n<td><code>numTraining<\/code><\/td>\n<td>\u8bad\u7ec3\u75c5\u4f8b\u6570\u91cf<\/td>\n<td>\u6570\u91cf\u548c <code>labelsTr<\/code> \u4e2d\u6807\u7b7e\u6587\u4ef6\u6570\u4e0d\u4e00\u81f4<\/td>\n<\/tr>\n<tr>\n<td><code>file_ending<\/code><\/td>\n<td>\u56fe\u50cf\u548c\u6807\u7b7e\u4f7f\u7528\u7684\u6587\u4ef6\u540e\u7f00<\/td>\n<td>\u56fe\u50cf\u662f <code>.nii.gz<\/code>\uff0c\u4f46\u5199\u6210 <code>.nii<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>6. \u652f\u6301\u54ea\u4e9b\u6587\u4ef6\u683c\u5f0f<\/h2>\n<p>\u5b98\u65b9 reference \u8bf4\u660e\uff0cnnU-Net v2 \u652f\u6301\u591a\u79cd\u8f93\u5165\u6587\u4ef6\u683c\u5f0f\u3002\u5e38\u89c1\u5185\u7f6e\u9009\u9879\u5305\u62ec\uff1a<\/p>\n<ul>\n<li><code>.nii.gz<\/code>\u3001<code>.nrrd<\/code>\u3001<code>.mha<\/code><\/li>\n<li><code>.png<\/code>\u3001<code>.bmp<\/code>\u3001<code>.tif<\/code><\/li>\n<li>\u5e26 spacing sidecar JSON \u7684 3D TIFF<\/li>\n<\/ul>\n<p>\u5bf9\u533b\u5b66 3D \u6570\u636e\u6765\u8bf4\uff0c<code>.nii.gz<\/code> \u662f\u5f88\u5e38\u89c1\u7684\u9009\u62e9\u3002\u5bf9 2D \u56fe\u50cf\u6765\u8bf4\uff0c<code>.png<\/code> \u6216 <code>.tif<\/code> \u4e5f\u5e38\u89c1\u3002\u5b98\u65b9\u6587\u6863\u8fd8\u7279\u522b\u63d0\u9192\uff1a\u56fe\u50cf\u548c\u6807\u7b7e\u5fc5\u987b\u4f7f\u7528\u540c\u4e00\u4e2a\u6570\u636e\u96c6\u7ea7\u522b\u7684\u683c\u5f0f\uff0c<code>.jpg<\/code> \u8fd9\u7c7b\u6709\u635f\u683c\u5f0f\u4e0d\u9002\u5408\u7528\u4f5c\u5206\u5272\u8bad\u7ec3\u6570\u636e\u3002<\/p>\n<h2>7. \u63a8\u7406\u8f93\u5165\u4e5f\u8981\u9075\u5b88\u547d\u540d\u89c4\u5219<\/h2>\n<p>\u5f88\u591a\u4eba\u8bad\u7ec3\u65f6\u6574\u7406\u5bf9\u4e86\u6570\u636e\uff0c\u4f46\u63a8\u7406\u65f6\u53c8\u5fd8\u4e86\u547d\u540d\u89c4\u5219\u3002\u5b98\u65b9 reference \u660e\u786e\u8bf4\u660e\uff1a\u63a8\u7406\u8f93\u5165\u4e5f\u5fc5\u987b\u5339\u914d\u8bad\u7ec3\u6570\u636e\u96c6\u7684\u6587\u4ef6\u540e\u7f00\u548c channel \u547d\u540d\u89c4\u5219\u3002<\/p>\n<p>\u4f8b\u5982\u4e24\u901a\u9053\u63a8\u7406\u8f93\u5165\u5e94\u8be5\u7c7b\u4f3c\uff1a<\/p>\n<pre><code class=\"language-text\">input_folder\/\n\u251c\u2500\u2500 case_001_0000.nii.gz\n\u251c\u2500\u2500 case_001_0001.nii.gz\n\u251c\u2500\u2500 case_002_0000.nii.gz\n\u2514\u2500\u2500 case_002_0001.nii.gz<\/code><\/pre>\n<p>\u9884\u6d4b\u7ed3\u679c\u4f1a\u5199\u6210\u4e0d\u5e26 channel \u7f16\u53f7\u7684\u5f62\u5f0f\uff1a<\/p>\n<pre><code class=\"language-text\">case_001.nii.gz\ncase_002.nii.gz<\/code><\/pre>\n<h2>8. \u6570\u636e\u96c6\u6574\u7406\u6d41\u7a0b\u56fe<\/h2>\n<p>\u628a\u539f\u59cb\u6570\u636e\u6574\u7406\u6210 nnU-Net \u683c\u5f0f\uff0c\u53ef\u4ee5\u6309\u4e0b\u9762\u7684\u6d41\u7a0b\u505a\uff1a<\/p>\n<pre><code class=\"language-mermaid\">flowchart TD\n    A[\u6536\u96c6\u539f\u59cb\u56fe\u50cf\u548c\u6807\u7b7e] --> B[\u786e\u5b9a\u6bcf\u4e2a\u75c5\u4f8b\u7684 case id]\n    B --> C[\u786e\u8ba4\u8f93\u5165\u901a\u9053\u6570\u91cf\u548c\u987a\u5e8f]\n    C --> D[\u6309 case_id_channel \u7f16\u53f7\u91cd\u547d\u540d imagesTr]\n    D --> E[\u6309 case_id \u91cd\u547d\u540d labelsTr]\n    E --> F[\u7f16\u5199 dataset.json]\n    F --> G[\u8fd0\u884c plan_and_preprocess \u7684\u5b8c\u6574\u6027\u68c0\u67e5]\n    G --> H{\u68c0\u67e5\u901a\u8fc7?}\n    H -- \u662f --> I[\u8fdb\u5165 preprocessing \u548c\u8bad\u7ec3]\n    H -- \u5426 --> J[\u4fee\u6b63\u547d\u540d\/\u6807\u7b7e\/\u901a\u9053\/\u6587\u4ef6\u683c\u5f0f]\n    J --> G\n<\/code><\/pre>\n<h2>9. \u6700\u5c0f\u68c0\u67e5\u547d\u4ee4<\/h2>\n<p>\u51c6\u5907\u597d\u6570\u636e\u96c6\u540e\uff0c\u4e0d\u5efa\u8bae\u76f4\u63a5\u5f00\u59cb\u8bad\u7ec3\u3002\u5148\u8fd0\u884c\u5b98\u65b9\u63a8\u8350\u7684\u5b8c\u6574\u6027\u68c0\u67e5\uff1a<\/p>\n<pre><code class=\"language-bash\">nnUNetv2_plan_and_preprocess -d 1 --verify_dataset_integrity<\/code><\/pre>\n<p>\u8fd9\u91cc <code>-d 1<\/code> \u8868\u793a\u6570\u636e\u96c6\u7f16\u53f7 1\uff0c\u4e5f\u5c31\u662f <code>Dataset001_...<\/code>\u3002\u5982\u679c\u4f60\u7684\u6570\u636e\u96c6\u662f <code>Dataset123_MyDataset<\/code>\uff0c\u5c31\u5199\uff1a<\/p>\n<pre><code class=\"language-bash\">nnUNetv2_plan_and_preprocess -d 123 --verify_dataset_integrity<\/code><\/pre>\n<p>\u8fd9\u6761\u547d\u4ee4\u4f1a\u8fdb\u5165 plan \u548c preprocess \u6d41\u7a0b\uff0c\u5e76\u5728\u524d\u9762\u68c0\u67e5\u6570\u636e\u96c6\u5b8c\u6574\u6027\u3002\u5bf9\u521d\u5b66\u8005\u6765\u8bf4\uff0c\u7b2c\u4e00\u6b21\u51c6\u5907\u6570\u636e\u96c6\u65f6\u4e00\u5b9a\u8981\u52a0 <code>--verify_dataset_integrity<\/code>\u3002\u5982\u679c\u8fd9\u91cc\u62a5\u9519\uff0c\u4f18\u5148\u68c0\u67e5\uff1a<\/p>\n<ul>\n<li>\u6570\u636e\u96c6\u76ee\u5f55\u662f\u5426\u5728 <code>nnUNet_raw<\/code> \u4e0b\u3002<\/li>\n<li>\u76ee\u5f55\u540d\u662f\u5426\u662f <code>DatasetXXX_Name<\/code>\u3002<\/li>\n<li><code>imagesTr<\/code> \u548c <code>labelsTr<\/code> \u7684 case id \u662f\u5426\u4e00\u4e00\u5bf9\u5e94\u3002<\/li>\n<li>\u56fe\u50cf\u662f\u5426\u5e26 <code>_0000<\/code>\u3001<code>_0001<\/code> \u8fd9\u7c7b channel \u7f16\u53f7\u3002<\/li>\n<li>\u6807\u7b7e\u6587\u4ef6\u662f\u5426\u4e0d\u5e26 channel \u7f16\u53f7\u3002<\/li>\n<li><code>dataset.json<\/code> \u4e2d\u7684 <code>file_ending<\/code> \u662f\u5426\u548c\u771f\u5b9e\u6587\u4ef6\u540e\u7f00\u4e00\u81f4\u3002<\/li>\n<li>\u6807\u7b7e\u56fe\u4e2d\u662f\u5426\u5b58\u5728 <code>labels<\/code> \u5b57\u6bb5\u6ca1\u6709\u58f0\u660e\u7684\u7c7b\u522b\u503c\u3002<\/li>\n<\/ul>\n<h2>10. \u5b98\u65b9\u8d44\u6599\u5165\u53e3<\/h2>\n<p>\u672c\u6587\u4e3b\u8981\u53c2\u8003\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/MIC-DKFZ\/nnUNet\/blob\/master\/documentation\/reference\/dataset-format.md\" target=\"_blank\"  rel=\"nofollow\" >Dataset and Input Format Reference<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/MIC-DKFZ\/nnUNet\/blob\/master\/documentation\/how-to\/prepare-a-dataset.md\" target=\"_blank\"  rel=\"nofollow\" >Prepare a Dataset<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/MIC-DKFZ\/nnUNet\/blob\/master\/documentation\/how-to\/plan-and-preprocess.md\" target=\"_blank\"  rel=\"nofollow\" >Plan and Preprocess<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/MIC-DKFZ\/nnUNet\" target=\"_blank\"  rel=\"nofollow\" >MIC-DKFZ\/nnUNet \u5b98\u65b9\u4ed3\u5e93<\/a><\/li>\n<\/ul>\n<h2>\u672c\u7bc7\u603b\u7ed3<\/h2>\n<p>nnU-Net v2 \u7684\u6570\u636e\u96c6\u683c\u5f0f\u53ef\u4ee5\u8bb0\u6210\u4e00\u53e5\u8bdd\uff1a\u6bcf\u4e2a\u6570\u636e\u96c6\u653e\u5728 <code>nnUNet_raw\/DatasetXXX_Name<\/code> \u4e0b\uff0c\u8bad\u7ec3\u56fe\u50cf\u653e <code>imagesTr<\/code>\uff0c\u8bad\u7ec3\u6807\u7b7e\u653e <code>labelsTr<\/code>\uff0c\u6d4b\u8bd5\u56fe\u50cf\u53ef\u9009\u653e <code>imagesTs<\/code>\uff0c\u56fe\u50cf\u6587\u4ef6\u5fc5\u987b\u5e26\u56db\u4f4d channel \u7f16\u53f7\uff0c\u6807\u7b7e\u6587\u4ef6\u4e0d\u5e26 channel \u7f16\u53f7\uff0c\u5e76\u4e14\u6bcf\u4e2a\u6570\u636e\u96c6\u5fc5\u987b\u6709 <code>dataset.json<\/code>\u3002<\/p>\n<p>\u53ea\u8981\u6570\u636e\u63a5\u53e3\u6574\u7406\u6b63\u786e\uff0c\u540e\u9762\u7684 plan\u3001preprocess\u3001train \u548c predict \u5c31\u4f1a\u987a\u7545\u5f88\u591a\u3002<\/p>\n<h2>\u4e0b\u4e00\u7bc7\u9884\u544a<\/h2>\n<p>\u4e0b\u4e00\u7bc7\u6211\u4eec\u4f1a\u771f\u6b63\u8dd1\u901a nnU-Net v2 \u7684\u7b2c\u4e00\u4e2a\u5b8c\u6574\u95ed\u73af\uff1a<code>plan_and_preprocess<\/code>\u3001<code>train<\/code>\u3001<code>predict<\/code>\u3002\u4f60\u4f1a\u770b\u5230\u4ece\u6570\u636e\u96c6\u7f16\u53f7\u5230\u8bad\u7ec3 fold\uff0c\u518d\u5230\u9884\u6d4b\u8f93\u51fa\u6587\u4ef6\u7684\u5b8c\u6574\u547d\u4ee4\u94fe\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7bc7\u624b\u628a\u624b\u8bb2\u6e05 nnU-Net v2 \u6570\u636e\u96c6\u76ee\u5f55\u3001case id\u3001\u901a\u9053\u7f16\u53f7\u3001\u6807\u7b7e\u547d\u540d\u548c dataset.json \u7684\u6700\u5c0f\u53ef\u7528\u5199\u6cd5\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[83],"tags":[],"class_list":["post-1051","post","type-post","status-publish","format-standard","hentry","category-83"],"views":2,"_links":{"self":[{"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/posts\/1051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/comments?post=1051"}],"version-history":[{"count":0,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/posts\/1051\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/media?parent=1051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/categories?post=1051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eutaboo.com\/index.php\/wp-json\/wp\/v2\/tags?post=1051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}