{"id":29882,"date":"2025-04-20T13:41:26","date_gmt":"2025-04-20T05:41:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/29882.html"},"modified":"2025-04-20T13:41:26","modified_gmt":"2025-04-20T05:41:26","slug":"nnu-netv2%e5%9c%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e4%bd%bf%e7%94%a8%e5%85%a8%e6%b5%81%e7%a8%8b%ef%bc%88%e5%b0%8f%e7%99%bd%e8%be%b9%e8%b8%a9%e5%9d%91%e8%be%b9%e5%ad%a6%e4%b9%a0%e7%9a%84%e8%ae%b0-2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/29882.html","title":{"rendered":"nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E6%BA%90%E7%A0%81%E5%9C%B0%E5%9D%80%EF%BC%9A-toc\" style=\"margin-left:0px\">\u6e90\u7801\u5730\u5740<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E9%9B%B6%EF%BC%9A%E4%B8%8A%E4%BC%A0%E6%95%B0%E6%8D%AE%EF%BC%88easy%EF%BC%89-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u96f6&#xff1a;\u4e0a\u4f20\u51c6\u5907\u597d\u7684\u6587\u4ef6\u5939&#xff08;\u8be6\u89c1\u6b65\u9aa4\u56db&#xff09;<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E4%B8%80%EF%BC%9A%E5%85%88conda%20%E6%96%B0%E7%8E%AF%E5%A2%83%20python%3D%3D3.9%EF%BC%9A-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u4e00&#xff1a;\u5148conda \u65b0\u73af\u5883 python&#061;&#061;3.9&#xff1a;<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E4%BA%8C%EF%BC%9A%E5%AE%89%E8%A3%85pytorch%E5%A4%A7%E7%A4%BC%E5%8C%85%EF%BC%88%E6%B3%A8%E6%84%8F%EF%BC%9Apytorch%202.0%EF%BC%89-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u4e8c&#xff1a;\u5b89\u88c5pytorch\u5927\u793c\u5305&#xff08;pytorch 2.0&#xff09;<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E4%B8%89%EF%BC%9A%E5%AE%89%E8%A3%85nnunetv2-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u4e09&#xff1a;\u5b89\u88c5nnunetv2<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E5%9B%9B%EF%BC%9A%E5%BC%80%E5%A7%8B%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E7%BB%93%E6%9E%84%EF%BC%88%E5%8F%AF%E4%BB%A5%E5%9C%A8%E6%9C%AC%E5%9C%B0%E6%8F%90%E5%89%8D%E5%87%86%E5%A4%87%E5%A5%BD%EF%BC%89-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u56db&#xff1a;\u914d\u7f6e\u6587\u4ef6\u7ed3\u6784&#xff08;\u53ef\u4ee5\u5728\u672c\u5730\u63d0\u524d\u51c6\u5907\u597d&#xff09;<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E4%BA%94%EF%BC%9A%E6%95%B0%E6%8D%AE%E9%9B%86%E7%9A%84%E8%BD%AC%E6%8D%A2%E4%B8%8Ejson%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u4e94&#xff1a;\u6570\u636e\u96c6\u7684\u8f6c\u6362\u4e0ejson\u6587\u4ef6<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E5%85%AD%EF%BC%9A%E4%BF%AE%E6%94%B9%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%EF%BC%88%E4%B8%89%E4%B8%AA%EF%BC%89-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u516d&#xff1a;\u4fee\u6539\u73af\u5883\u53d8\u91cf<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E4%B8%83%EF%BC%9A%E6%95%B0%E6%8D%AE%E9%9B%86%E9%A2%84%E5%A4%84%E7%90%86-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u4e03&#xff1a;\u6570\u636e\u96c6\u9884\u5904\u7406<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E5%85%AB%EF%BC%9A%E6%A8%A1%E5%9E%8B%E8%AE%AD%E7%BB%83-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u516b&#xff1a;\u6a21\u578b\u8bad\u7ec3<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E4%B9%9D%EF%BC%9A%E6%A8%A1%E5%9E%8B%E6%8E%A8%E7%90%86-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u4e5d&#xff1a;\u6a21\u578b\u63a8\u7406<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E5%8D%81%EF%BC%9A%E6%A8%A1%E5%9E%8B%E9%A2%84%E6%B5%8B-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u5341&#xff1a;\u6a21\u578b\u9884\u6d4b<\/p>\n<p id=\"%E6%AD%A5%E9%AA%A4%E5%8D%81%E4%B8%80%EF%BC%9A%E9%A2%84%E6%B5%8B%E7%BB%93%E6%9E%9C%E5%88%86%E6%9E%90-toc\" style=\"margin-left:0px\">\u6b65\u9aa4\u5341\u4e00&#xff1a;\u9884\u6d4b\u7ed3\u679c\u5206\u6790<\/p>\n<p id=\"%E6%9C%80%E7%BB%88%EF%BC%9A%E8%8E%B7%E5%8F%96%E8%B6%85%E7%AE%97%E4%B8%8A%E7%9A%84%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:0px\">\u6700\u7ec8&#xff1a;\u83b7\u53d6\u8d85\u7b97\u4e0a\u7684\u6587\u4ef6<\/p>\n<p id=\"%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE-toc\" style=\"margin-left:0px\">\u53c2\u8003\u6587\u732e<\/p>\n<p id=\"%E8%83%8C%E6%99%AF%E4%B8%8E%E6%80%BB%E7%BB%93-toc\" style=\"margin-left:0px\">\u80cc\u666f\u4e0e\u603b\u7ed3<\/p>\n<hr id=\"hr-toc\" \/>\n<h2 id=\"%E6%BA%90%E7%A0%81%E5%9C%B0%E5%9D%80%EF%BC%9A\" style=\"margin-left:0;text-align:justify\">\u6e90\u7801\u5730\u5740<\/h2>\n<p>GitHub &#8211; MIC-DKFZ\/nnUNet<\/p>\n<p style=\"margin-left:0;text-align:justify\">https:\/\/github.com\/MIC-DKFZ\/nnUNet<\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E4%BB%A5%E4%B8%8B%E9%83%BD%E6%98%AF%E7%9B%B4%E6%8E%A5%E5%9C%A8%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84Terminal%E4%B8%8B%E5%AE%8C%E6%88%90%E7%9A%84\" style=\"margin-left:0;text-align:justify\"><span style=\"color:#a2e043\">\u4ee5\u4e0b\u90fd\u662f\u76f4\u63a5\u5728\u670d\u52a1\u5668\u7684<span style=\"background-color:#7b7f82\">Terminal<\/span>\u4e0b\u5b8c\u6210\u7684<\/span><\/h2>\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E9%9B%B6%EF%BC%9A%E4%B8%8A%E4%BC%A0%E6%95%B0%E6%8D%AE%EF%BC%88easy%EF%BC%89\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u96f6&#xff1a;\u4e0a\u4f20\u6570\u636e<\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u6211\u670d\u52a1\u5668\u7528\u7684featurize&#xff0c;\u4ed6\u53ef\u4ee5\u5728\u5b9e\u4f8b\u5916\u90e8\u9884\u5148\u4e0a\u4f20&#xff0c;\u53c2\u8003&#xff1a;\u6570\u636e\u96c6 | Featurize<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u5f53\u7136\u4e5f\u53ef\u4ee5\u5728\u5b9e\u4f8b\u91cc\u4e0a\u4f20&#xff08;\u4f1a\u6bd4\u8f83\u6162&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"516\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054117-680488fdee131.png\" width=\"480\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u5728\u53f3\u4fa7\u4efb\u52a1\u6846\u4e0a\u4fa7&#xff0c;\u4e5f\u53ef\u4ee5\u76f4\u63a5\u9009\u62e9\u4e0a\u4f20&#xff08;\u4e00\u822c\u4ec5\u652f\u6301zip\u7b49\u538b\u7f29\u6587\u4ef6&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E4%B8%80%EF%BC%9A%E5%85%88conda%20%E6%96%B0%E7%8E%AF%E5%A2%83%20python%3D%3D3.9%EF%BC%9A\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u4e00&#xff1a;\u5148conda \u65b0\u73af\u5883 python&#061;&#061;3.9&#xff1a;<\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u975e\u5fc5\u987b&#xff0c;\u5982\u679c\u670d\u52a1\u5668\u672c\u6765\u73af\u5883\u5c31\u5df2\u7ecf\u662fpytorch2.0&#043;python3.9\u5c31\u6ca1\u95ee\u9898&#xff08;\u8fd9\u548cnnunet\u521d\u4ee3\u7248\u672c\u914d\u7f6e\u6709\u5f88\u5927\u5dee\u522b&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u6a21\u677f&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"background-color:#f6f6f6\"><span style=\"background-color:#d0cece\"><span style=\"color:#121212\">conda create -n your_env_name python&#061;x.x<\/span><\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"background-color:#d0cece\"><span style=\"color:#000000\">conda activate your_env_name <\/span><\/span><\/p>\n<p>conda create -n nnunet python&#061;3.9   #\u8fc7\u7a0b\u4e2dy \u786e\u8ba4<br \/>\nconda activate nnunet<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u00a0\u5e38\u7528conda\u8bed\u53e5\u53c2\u8003&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:justify\">Anaconda conda\u5e38\u7528\u547d\u4ee4&#xff1a;\u4ece\u5165\u95e8\u5230\u7cbe\u901a_conda\u547d\u4ee4_\u7b28\u725b\u6162\u8015\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E4%BA%8C%EF%BC%9A%E5%AE%89%E8%A3%85pytorch%E5%A4%A7%E7%A4%BC%E5%8C%85%EF%BC%88%E6%B3%A8%E6%84%8F%EF%BC%9Apytorch%202.0%EF%BC%89\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u4e8c&#xff1a;\u5b89\u88c5pytorch\u5927\u793c\u5305&#xff08;\u6ce8\u610f&#xff1a;pytorch 2.0&#xff09;<\/h2>\n<p>conda install pytorch torchvision torchaudio pytorch-cuda&#061;11.7 -c pytorch -c nvidia <\/p>\n<p style=\"margin-left:0;text-align:left\">\u4e2d\u95f4\u6709\u62a5\u9519\u91cd\u65b0\u8f93\u5165\u8f93\u5165\u5373\u53ef&#xff0c;\u3010Y\/n\u3011\u8f93\u5165Y\u786e\u8ba4<\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:justify\">\u8865\u5145&#xff1a;\u67e5\u770b\u663e\u5361\u7248\u672c,torch\u5b89\u88c5GPU\u7248\u672c\u7684\u65f6\u5019&#xff0c;\u8981\u5b89\u88c5\u663e\u5361\u4ee5\u4e0b\u7684\u7248\u672c&#xff08;\u5373\u4e0a\u8ff0\u4ee3\u7801pytorch-cuda&#061;11.7&#xff0c;\u8fd9\u4e2a11.7\u8981\u5c0f\u4e8e\u663e\u5361\u7684cuda-version\u503c&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:justify\">&#xff08;\u672c\u5730&#xff09;windows&#043;R&#xff0c;\u6253\u5f00<span style=\"background-color:#ffffff\"><span style=\"color:#cc0000\">Windows<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#cc0000\">\u547d\u4ee4&#xff0c;\u8f93\u5165cmd<\/span><span style=\"color:#71777d\">&#xff0c;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#0d0016\">\u518d<\/span><\/span>\u8f93\u5165<span style=\"color:#121212\">nvidia-smi<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"460\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054118-680488fe245b1.png\" width=\"865\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">&#xff08;\u670d\u52a1\u5668\u7684terminal&#xff09;\u76f4\u63a5\u8f93\u5165<span style=\"color:#121212\">nvidia-smi<\/span><\/p>\n<p style=\"margin-left:0;text-align:left\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"476\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054118-680488fe63408.png\" width=\"865\" \/><\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E4%B8%89%EF%BC%9A%E5%AE%89%E8%A3%85nnunetv2\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u4e09&#xff1a;\u5b89\u88c5nnunetv2<\/h2>\n<p>git clone https:\/\/github.com\/MIC-DKFZ\/nnUNet.git<br \/>\ncd nnUNet<br \/>\npip install -e .  <\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#fe2c24\">\u6ce8\u610f\u6700\u540e\u4e00\u884ce\u540e\u9762\u8fd8\u6709\u4e00\u4e2a\u70b9&#xff01;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#0d0016\">\u81ea\u5df1\u5c31\u4f1a\u5b89\u88c5nnunetv2\u4e86&#xff01;<\/span><\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054118-680488fea03ff.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#0d0016\">\u4e00\u5957\u6d41\u7a0b\u540e pip list \u91cc\u9762\u6709 nnunetv2 \u5373\u5b8c\u6210&#xff08;\u6216\u8005 pip show nnunetv2&#xff09;<\/span><\/p>\n<p style=\"margin-left:0;text-align:left\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"566\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054119-680488ff5bc08.png\" width=\"865\" \/><\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E5%9B%9B%EF%BC%9A%E5%BC%80%E5%A7%8B%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E7%BB%93%E6%9E%84%EF%BC%88%E5%8F%AF%E4%BB%A5%E5%9C%A8%E6%9C%AC%E5%9C%B0%E6%8F%90%E5%89%8D%E5%87%86%E5%A4%87%E5%A5%BD%EF%BC%89\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u56db&#xff1a;\u5f00\u59cb\u914d\u7f6e\u6587\u4ef6\u7ed3\u6784&#xff08;\u53ef\u4ee5\u5728\u672c\u5730\u63d0\u524d\u51c6\u5907\u597d&#xff09;<\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u8fd9\u90e8\u5206\u8fd8\u662f\u548c\u4ee5\u524d\u5dee\u4e0d\u591a<\/p>\n<p style=\"margin-left:0;text-align:justify\">DATASET\u6587\u4ef6\u5939\u4e0b\u65b9\u521b\u5efa\u4e09\u4e2a\u6587\u4ef6\u5939&#xff0c;\u5206\u522b\u4e3a<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"185\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054119-680488ff9e16a.png\" width=\"308\" \/><\/p>\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n<tbody>\n<tr>\n<td style=\"width:228px\">nnUNet_raw<\/td>\n<td style=\"width:270px\">\u5b58\u653e\u521d\u59cb\u7684\u5f71\u50cf\u548cmask\u6587\u4ef6<\/td>\n<\/tr>\n<tr>\n<td style=\"width:228px\">\n<p>nnUNet_preprocessed<\/p>\n<\/td>\n<td style=\"width:270px\">\u9884\u5904\u7406\u540e\u7684\u4e2d\u95f4\u6587\u4ef6\u5b58\u653e\u5730<\/td>\n<\/tr>\n<tr>\n<td style=\"width:228px\">nnUNet_trained_models<\/td>\n<td style=\"width:270px\">\u8bad\u7ec3\u5b8c\u6210\u7684\u6a21\u578b\u3001\u8bad\u7ec3\u8fc7\u7a0b\u5b58\u653e\u5730<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\">\u5728nnUNet_raw\u6587\u4ef6\u5939\u4e0b\u65b9\u5728\u521b\u7acb\u4e00\u4e2a<span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">&#034;DatsetXXX_NAME<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">\u201d<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">\u53c2\u8003\u540d&#xff1a;<\/span><\/span>\u201cDataset101_Lung\u201d<\/p>\n<p style=\"margin-left:0;text-align:justify\">&#xff08;\u6570\u5b57\u7f16\u53f7\u662f<span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">000-999<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">\u7684\u4e09\u4f4d\u6570\u5b57<\/span><\/span>&#xff0c;<span style=\"background-color:#ffffff\"><span style=\"color:#121212\">\u6700\u597d\u5927\u4e8e<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#121212\">200<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#121212\">&#xff0c;\u56e0\u4e3a\u6bd4\u8f83\u5c0f\u7684\u6570\u5b57\u5df2\u7ecf\u88ab<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#121212\">fabian<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#121212\">\u7684<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#121212\">task id<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#121212\">\u5360\u7528&#xff0c;\u4ee5\u514d\u5728\u54ea\u91cc\u83ab\u540d\u5176\u5999\u51b2\u7a81\u4e86<\/span><\/span>&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"358\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054119-680488ffc4db3.png\" width=\"625\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">Dataset101_Lung\u4e0b\u56db\u4e2a\u6587\u4ef6\u5939&#043;\u4e00\u4e2ajson\u6587\u4ef6<\/p>\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n<tbody>\n<tr>\n<td style=\"width:141px\">imagesTr<\/td>\n<td style=\"width:357px\">train\u8bad\u7ec3\u96c6\u7684\u533b\u5b66\u5f71\u50cf&#xff08;CT\u3001MRI\u7b49&#xff09;<\/td>\n<\/tr>\n<tr>\n<td style=\"width:141px\">imagesTs<\/td>\n<td style=\"width:357px\">test \u68c0\u9a8c\u96c6\u7684\u533b\u5b66\u5f71\u50cf&#xff08;CT\u3001MRI\u7b49&#xff09;&#xff08;optional&#xff09;<\/td>\n<\/tr>\n<tr>\n<td style=\"width:141px\">labelsTr<\/td>\n<td style=\"width:357px\">train\u8bad\u7ec3\u96c6\u7684label\u6d82\u5c42<\/td>\n<\/tr>\n<tr>\n<td style=\"width:141px\">labelsTs<\/td>\n<td style=\"width:357px\">test \u8bad\u7ec3\u96c6\u7684label\u6d82\u5c42&#xff08;optional&#xff09;<\/td>\n<\/tr>\n<tr>\n<td style=\"width:141px\">dataset.json<\/td>\n<td style=\"width:357px\">\u6587\u4ef6\u4fe1\u606f&#xff0c;\u8be6\u89c1\u6b65\u9aa4\u4e94<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\">\u7279\u522b\u6ce8\u610f&#xff0c;\u53d6\u540d\u539f\u5219\u5982\u4e0b&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#fe2c24\">images\u91cc\u9762\u5728.nii.gz\u524d\u8981\u52a0\u51650000&#xff08;\u4ee3\u8868\u662f\u6a21\u60010&#xff0c;\u82e5\u6709\u5176\u4ed6\u6a21\u6001\u7684\u5c31\u4f9d\u6b210001&#xff0c;\u8fd9\u4e2a\u6570\u5b57\u5728json\u6587\u4ef6\u91cc\u8981\u6709\u4f53\u73b0&#xff0c;\u6bd4\u59820\u6a21\u6001\u662fCT&#xff0c;1\u6a21\u6001\u662fMRI&#xff0c;\u8be6\u60c5\u8bf7\u89c1\u6b65\u9aa46&#xff09;&#xff0c;label\u662f\u540c\u540d\u6587\u4ef6&#xff0c;\u4f46\u6ca1\u67090000,0001<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"439\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054119-680488ffeeb46.png\" width=\"649\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u4e0d\u540c\u4e8ennunet\u521d\u4ee3\u7248\u672c\u5728nnUNet_raw\u91cc\u9762\u4e0d\u9700\u8981\u989d\u5916\u7684 cropped<\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E4%BA%94%EF%BC%9A%E6%95%B0%E6%8D%AE%E9%9B%86%E7%9A%84%E8%BD%AC%E6%8D%A2%E4%B8%8Ejson%E6%96%87%E4%BB%B6\" style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#000000\">\u6b65\u9aa4\u4e94&#xff1a;<\/span><span style=\"color:#0d0016\">\u6570\u636e\u96c6\u7684\u8f6c\u6362\u4e0ejson\u6587\u4ef6<\/span><\/span><\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u6570\u636e\u96c6\u8f6c\u5316\u8fd9\u6b21\u6ca1\u7528\u4e0a&#xff0c;\u5c31\u5148\u4e0d\u7ec6\u8bf4\u4e86&#xff0c;\u540e\u7eed\u518d\u8865\u5145<\/p>\n<p style=\"margin-left:0;text-align:justify\">json\u6587\u4ef6\u76f8\u8f83nnunet\u521d\u4ee3\u7248\u672c\u6539\u4e86\u597d\u591a\u3002\u4f46\u8003\u8651\u5230\u5176\u5b9e\u5199\u7684\u6bd4\u539f\u5148\u7248\u672c\u66f4\u7b80\u6d01\u4e86&#xff0c;\u53ef\u4ee5\u8ba4\u4e3a\u662f\u4ef6\u597d\u4e8b\u60c5\u5427&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0px;text-align:center\">\u6211\u4e00\u5f00\u59cb\u7528\u4e86\u521d\u4ee3\u7684json\u60e8\u906d\u62a5\u9519&#xff1a; <img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054120-6804890026b20.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:left\">\u6807\u51c6\u683c\u5f0f\u7684\u6587\u4ef6\u5982\u4e0b&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:left\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"428\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054120-68048900890b5.png\" width=\"865\" \/><\/p>\n<p style=\"margin-left:0;text-align:left\">nnunetV2\u7ed9\u4e86\u76f8\u5e94\u7684\u811a\u672c&#xff1a;<\/p>\n<p>\u53ef\u53c2\u8003&#xff1a;\u00a0nnU-Net v2\u7684\u73af\u5883\u914d\u7f6e\u5230\u8bad\u7ec3\u81ea\u5df1\u7684\u6570\u636e\u96c6&#xff08;\u8be6\u7ec6\u6b65\u9aa4&#xff09;_\u5c0f\u841d\u5317hh\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:left\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"519\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054120-68048900c3d39.png\" width=\"865\" \/><\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#fe2c24\">\u5176\u4e2dlabels 0,1,2,3\u8bf7\u52a1\u5fc5\u5bf9\u5e94\u597d&#xff01;<\/span>\u6240\u6709mask\u6587\u4ef6\u4e0a\u51fa\u73b0\u7684\u6570\u5b57\u90fd\u8981\u6709\u5f52\u5c5e&#xff0c;\u76ee\u524dnnunet\u5c1a\u4e0d\u652f\u6301\u91cd\u5408\u7684mask&#xff08;\u5373\u4e0d\u540cmask\u4e4b\u95f4\u6709\u4ea4\u96c6&#xff09;\u3002\u5bf9\u6587\u4ef6\u91ccmask\u6570\u5b57\u4f4d\u7f6e\u7684&#xff0c;\u53ef\u4ee5\u6253\u5f00python\u53bb\u8bfb\u6587\u4ef6\u6216\u8005&#xff0c;ITK-SNAP\u8bfb\u4e00\u4e0b&#xff1a;ITK-SNAP Home (itksnap.org)<\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"360\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054121-680489010f118.png\" width=\"623\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">Label1\u662f\u7ea2\u8272&#xff0c;label2\u662f\u7eff\u8272&#xff0c;\u5219\u8fd9\u5c42mask\u7684\u77e9\u9635&#xff0c;\u5bf9\u5e94\u7ea2\u8272\u533a\u57df\u4f4d\u7f6e\u662f1&#xff0c;\u7eff\u8272\u7684\u662f2&#xff0c;\u5176\u4f59&#xff08;background&#xff09;\u662f0<\/p>\n<p style=\"margin-left:0;text-align:justify\">&#xff08;\u5907\u6ce8&#xff1a;ITK-SNAP&#xff0c;\u5305\u62ecpython\u91cc\u9762\u4e00\u4e9b\u9700\u8981\u8c03\u7528itk\u5305&#xff0c;\u90fd\u662f\u5728\u8def\u5f84\u4e2d\u4e0d\u80fd\u51fa\u73b0\u4e2d\u6587\u5b57&#xff0c;\u751a\u81f3\u201c-\u201d\u90fd\u4e0d\u80fd\u51fa\u73b0&#xff0c;\u53ef\u4ee5\u6539\u7528\u4e3a\u201c_\u201d&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E5%85%AD%EF%BC%9A%E4%BF%AE%E6%94%B9%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%EF%BC%88%E4%B8%89%E4%B8%AA%EF%BC%89\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u516d&#xff1a;\u4fee\u6539\u73af\u5883\u53d8\u91cf&#xff08;\u4e09\u4e2a&#xff09;<\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u8fd9\u4e00\u6b65\u5373\u4e3a\u91cd\u8981&#xff0c;\u5728\u670d\u52a1\u5668\u4e0a\u9762\u65e0\u6cd5ctrl&#043;H\u7684\u6253\u5f00.bashrc\u6587\u4ef6&#xff0c;\u4e00\u822c\u7684\u672c\u5730\u4e5f\u9700\u8981\u4fee\u6539\u73af\u5883\u53d8\u91cf&#xff0c;\u7528\u8fd9\u4e2a\u65b9\u6cd5\u5e94\u8be5\u4e5f\u53ef\u4ee5<\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#fe2c24\">\u9700\u8981\u7528\u5230vim<\/span><\/p>\n<p style=\"margin-left:0;text-align:left\">1\u3001\u8fdb\u5165vim<\/p>\n<p> vim ~\/.zshrc <\/p>\n<p style=\"margin-left:0;text-align:left\">vim ~\/.bashrc &#xff08;\u5728\u6211\u7684\u4f7f\u7528\u4e2d\u662f <span style=\"background-color:#d0cece\"><span style=\"color:#ff0000\">vim ~\/.zshrc<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#0d0016\">2\u3001<\/span>\u8fdb\u5165\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p>:a <\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#fe2c24\">&#xff08;\u6ce8\u610f\u5192\u53f7&#xff01;&#xff09;<\/span><\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">3\u3001\u4fee\u6539\u4e09\u4e2a\u73af\u5883\u53d8\u91cf&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#fe2c24\">\u8bf7\u4e00\u4e00\u5bf9\u5e94\u597d\u6b65\u9aa4\u56db \u4e0a\u8ff0\u6587\u4ef6\u683c\u5f0f\u91cc\u7684\u4e09\u4e2a\u6587\u4ef6\u5939<\/span><\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#fe2c24\">&#xff08;\u53ef\u4ee5\u70b9\u5230\u8fd9\u4e2a\u6587\u4ef6\u5939\u7684\u4f4d\u7f6e&#xff0c;\u7136\u540e\u53f3\u952e\u5f39\u5f00&#xff0c;\u70b9\u51fb\u201c\u590d\u5236\u7edd\u5bf9\u8def\u5f84\u201d&#xff09;<\/span> \u00a0<\/p>\n<p>export nnUNet_preprocessed&#061;&#034;\/home\/featurize\/nnUNet\/nnUNetFrame\/DATASET\/nnUNet_preprocessed&#034;<\/p>\n<p>export nnUNet_results&#061;&#034;\/home\/featurize\/nnUNet\/nnUNetFrame\/DATASET\/nnUNet_trained_models&#034;<\/p>\n<p>export nnUNet_raw&#061;&#034;\/home\/featurize\/nnUNet\/nnUNetFrame\/DATASET\/nnUNet_raw&#034; <\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">4\u3001\u9000\u51fa\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"background-color:#ff9900\">\u6309<\/span><span style=\"color:#000000\"><span style=\"background-color:#ff9900\">\u00a0 Esc<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#0d0016\">5\u3001<\/span>\u9000\u51fa\u00a0 \u8bb0\u5f97\u5148\u6309\u4e0a\u4e00\u6b65\u7684Esc<\/p>\n<p>:wq<\/p>\n<p style=\"margin-left:0;text-align:left\">\u8f93\u5165 <span style=\"background-color:#d0cece\"><span style=\"color:#000000\">\u00a0:wq <\/span><\/span>\u00a0&#xff08; &#xff1a;\u4e0d\u53ef\u5ffd\u7565&#xff0c;\u4fdd\u5b58\u9000\u51fa&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:left\">\u8f93\u5165 <span style=\"background-color:#d0cece\"><span style=\"color:#000000\">:q!\u00a0\u00a0\u00a0 <\/span><\/span>&#xff08;\u4e0d\u4fdd\u5b58\u9000\u51fa&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:left\">6\u3001\u9000\u51fa\u540e\u52a0\u8f7d\u66f4\u65b0\u540e\u7684\u914d\u7f6e<\/p>\n<p>source ~\/.zshrc  <\/p>\n<p style=\"margin-left:0;text-align:left\">source ~\/.bashrc\u00a0\u00a0\u00a0 &#xff08;<span style=\"color:#ff0000\">\u6211\u7684\u662fsource ~\/zshrc<\/span>&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:left\">7\u3001\u66f4\u65b0\u540e\u91cd\u65b0\u6fc0\u6d3b\u4e4b\u524d\u914d\u7f6e\u7684\u73af\u5883<\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"background-color:#d0cece\"><span style=\"color:#000000\">conda activate your_env_name <\/span><\/span><\/p>\n<p>conda activate nnunet <\/p>\n<p style=\"margin-left:0;text-align:justify\">\u5e38\u89c1\u95ee\u9898&#xff1a; \u8fd9\u4e2a\u5c31\u662f\u5178\u578b\u73af\u5883\u53d8\u91cf\u6ca1\u914d\u597d&#xff0c;\u62a5\u9519\u5199\u7684\u5f88\u660e\u663e\u4e86&#xff0c;\u5199\u660e\u4e86nnUNet_result\u53d8\u91cf\u4e0d\u5b58\u5728<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u6f5c\u5728\u7684\u95ee\u9898&#xff1a;<\/p>\n<li style=\"text-align:justify\">\u540d\u5b57&#xff08;\u53ef\u80fd\u5728\u8d85\u7b97\u91cc\u9762\u590d\u5236\u7684\u8def\u5f84\u524d\u9762\u8fd8\u8981\u52a0\u4e0a \/home\/xxxxx\/&#xff09;[\u4e00\u822c\u6765\u8bf4&#xff0c;\u76f4\u63a5\u53f3\u952e\u6587\u4ef6\u5939&#xff0c;\u7136\u540e\u590d\u5236\u7edd\u5bf9\u8def\u5f84\u5c31\u6ca1\u95ee\u9898\u4e86]<\/li>\n<li style=\"text-align:justify\">\u6587\u4ef6\u7ed3\u6784\u662f\u5426\u6709\u95ee\u9898&#xff0c;\u7279\u522b\u662fraw\u7684\u8def\u5f84\u8981\u662fDATASET01_NAME1\u7684\u4e0a\u4e00\u5c42<\/li>\n<li style=\"text-align:justify\">\u662f\u5426 source ~\/.zshrc &#xff08;\u5426\u5219\u76f8\u5f53\u4e8e\u6ca1\u5237\u65b0&#xff09;<\/li>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"228\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054121-680489013b8f8.png\" width=\"1200\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E4%B8%83%EF%BC%9A%E6%95%B0%E6%8D%AE%E9%9B%86%E9%A2%84%E5%A4%84%E7%90%86\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u4e03&#xff1a;\u6570\u636e\u96c6\u9884\u5904\u7406<\/h2>\n<p><span style=\"background-color:#cccccc\">nnUNetv2_plan_and_preprocess -d\u00a0 TASK-NUM\u00a0\u00a0&#8211;verify_dataset_integrity<\/span><\/p>\n<p>TASK-NUM\u662f\u4e4b\u524d\u5199\u7684\u6570\u5b57\u7f16\u53f7<\/p>\n<p>nnUNetv2_plan_and_preprocess -d 101 &#8211;verify_dataset_integrity <\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054121-68048901839ef.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:left\">\u5e38\u89c1\u62a5\u9519&#xff1a;RAM\u7206\u4e86&#xff0c;\u6211\u5f53\u65f6\u5728\u62a5\u9519\u56de\u6eaf\u4e00\u4e2a\u4e00\u4e2a\u53bb\u67e5&#xff0c;\u5728plan_preprocess_entrypoints.py\u91cc\u627e\u5230\u4e86\u53ef\u4ee5\u4fee\u6539\u7684\u5730\u65b9<\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054122-680489023bb9b.png\" \/><\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054122-68048902f128f.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:left\">default_np &#061; {&#034;2d&#034;:8, &#034;3d_fullres&#034;: 4, &#034;3d_lowres&#034;: 8} \u6539\u6210\u4e862,2,2&#xff08;\u8fd8\u4e0d\u884c\u5c311,1,1&#xff1b;\u518d\u4e0d\u884c\u5c31\u63d0\u5347\u4e0b\u6362\u4e2a\u914d\u7f6e\u5427\u3002\u3002\u3002\u6216\u8005\u4fee\u6539\u4e00\u4e0b\u5176\u4ed6\u770b\u4e0a\u53bb\u80fd\u51cf\u5c11workers\u7684\u5730\u65b9&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:left\">\u51cf\u5c11\u8fd9\u4e2anp&#xff0c;\u80fd\u591f\u8ba9\u5185\u5b58\u4e0d\u4f1a\u7206&#xff0c;\u4f46\u901f\u5ea6\u80af\u5b9a\u4f1a\u4f4e&#xff0c;\u5efa\u8bae\u5927\u5bb6\u53ef\u4ee5\u8bd5\u8bd5\u81ea\u5df1\u8bbe\u5907\u80fd\u591f\u5bb9\u7eb3\u7684\u6700\u5927\u503c<\/p>\n<p style=\"margin-left:0;text-align:left\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"421\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054123-68048903ae0ac.png\" width=\"865\" \/>\u4fee\u6539\u540e\u5185\u5b58\u5c31\u5904\u4e8e\u4e00\u4e2a\u6bd4\u8f83\u5065\u5eb7\u7684\u72b6\u6001\u4e86<\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E5%85%AB%EF%BC%9A%E6%A8%A1%E5%9E%8B%E8%AE%AD%E7%BB%83\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u516b&#xff1a;\u6a21\u578b\u8bad\u7ec3<\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u6211\u8d2a\u65b9\u4fbf&#xff0c;\u76f4\u63a5\u547d\u4ee4\u884c\u91cc\u9762\u5199&#xff0c;\u8dd1\u5b8c\u4e00\u6298\u518d\u5199\u4e0b\u4e00\u6b21\u3002\u5f53\u7136\u4e5f\u53ef\u4ee5\u7f16\u5199\u7ec8\u7aef\u8fd0\u884c\u6b64\u00a0tst.sh\u00a0\u6587\u4ef6&#xff0c;\u4f7f\u7528\u00a0source\u547d\u4ee4\u6267\u884c\u811a\u672c&#xff08;\u5f85\u8865\u5145\u5b66\u4e60&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#d0cece\"><span style=\"color:#000000\">nnUNetv2_train TASK-NUM\u00a02d FOLD\u00a0<\/span><\/span>\u00a0<\/p>\n<p>nnUNetv2_train 101 2d 0<br \/>\nnnUNetv2_train 101 2d 1<br \/>\nnnUNetv2_train 101 2d 2<br \/>\nnnUNetv2_train 101 2d 3<br \/>\nnnUNetv2_train 101 2d 4 <\/p>\n<p style=\"margin-left:0;text-align:justify\">\u00a0# \u5176\u4e2d101\u8868\u793a\u6570\u636e\u96c6ID&#xff0c;\u4e0a\u8ff0\u63d0\u53ca\u8fc7\u30020\u8868\u793a\u7b2c1\u6298<\/p>\n<p style=\"margin-left:0;text-align:justify\"># 2d\u6307\u7684\u662f\u8bad\u7ec3Unet\u4e2d\u76842d\u6a21\u578b&#xff0c;\u53ef\u4ee5\u9009\u62e93d_fullres&#xff0c;3d_lowres<\/p>\n<p style=\"margin-left:0px\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054123-68048903f1c92.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u5f00\u59cb\u8bad\u7ec3\u4e86&#xff01;Win&#xff01;<\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">nnUNet\/nnunetv2\/training\/nnUNetTrainer\/nnUNetTrainer.py\u8def\u5f84\u4e0b\u53ef\u4ee5\u4fee\u6539\u4e00\u4e9b\u53c2\u6570&#xff1a;<\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054124-68048904803fe.png\" \/>\u6bd4\u5982\u628aepochs\u6539\u4e3a\u81ea\u5df1\u60f3\u8981\u7684\u6570\u5b57&#xff0c;\u7279\u522b\u662f\u521a\u5f00\u59cb\u62ff\u5230\u4e00\u4e2a\u6570\u636e\u7684\u65f6\u5019&#xff0c;\u60f3\u5148\u968f\u4fbf\u8bad\u7ec3\u4e00\u4e0b&#xff0c;\u8282\u7ea6\u65f6\u95f4\u8dd1\u4e2a\u51e0\u5341\u6b21\u5c31\u5b8c\u5168ok\u4e86<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u4e00\u4e9b\u547d\u4ee4\u53c2\u6570\u53ef\u4ee5 \u5728\u540e\u9762\u52a0\u4e0a-h\u6765\u67e5\u770b<\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054124-68048904ba505.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#ff0033\">3.\u00a0<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#ff0033\">\u5728\u6b63\u5e38\u8fd0\u884c\u4ee3\u7801\u540e\u9047\u5230\u7684\u95ee\u9898&#xff1a;<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">Ctrl&#043;C<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">\u4f1a\u4e2d\u65ad\u5b9e\u9a8c&#xff0c;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">\u539f\u6765\u6307\u4ee4\u540e\u9762\u52a0<\/span><\/span><span style=\"background-color:#f9f2f4\"><span style=\"color:#c7254e\">&#8211;c<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">\u53ef\u4ee5\u63a5\u7740\u8fd0\u884c&#xff0c;\u518d\u4e5f\u4e0d\u62c5\u5fc3\u8dd1\u4e86\u4e00\u6574\u665a\u7684\u4e1c\u897f\u767d\u8dd1\u4e86&#xff01;<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">4.\u7ed3\u679c\u67e5\u770b&#xff0c;\u6bcf\u4e00\u6298\u8bad\u7ec3\u5b8c\u90fd\u53ef\u4ee5\u770b\u770b\u8bad\u7ec3\u7684\u8fc7\u7a0b&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u6bd4\u5982progress.png\u5c31\u8bb0\u5f55\u4e86\u8bad\u7ec3\u8fed\u4ee3\u6b21\u6570loss\u7b49\u7684\u53d8\u5316\u8d8b\u52bf&#xff0c;\u53ca\u65f6\u8c03\u6574<\/p>\n<p style=\"margin-left:0;text-align:left\">\u4f4d\u7f6e\u5728nnUNet\/nnUNetFrame\/DATASET\/nnUNet_results\/Dataset101_Lung\/nnUNetTrainer__nnUNetPlans__2d\/fold_0\/progress.png<\/p>\n<p style=\"margin-left:0;text-align:left\">\u5176\u4e2dnnUNetTrainer__nnUNetPlans__2d\u4e2dfold0&#xff0c;1,2,3,4\u4e0b\u90fd\u80fd\u770b\u5230\u4e00\u4e9b\u8bad\u7ec3\u8fc7\u7a0b\u7684\u8bb0\u5f55<\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-04-20vwiljmmebp1.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u4e0d\u540c\u4e8e\u4e00\u822c\u7684\u8fed\u4ee3\u8fc7\u7a0b&#xff0c;nnunet\u8bad\u7ec3\u6ca1\u6709early stop\u6982\u5ff5&#xff0c;Fabian\u81ea\u5df1\u5728github\u4e0a\u89e3\u91ca\u4e86<\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-04-20l1lwdz3jezk.png\" \/><\/p>\n<p style=\"margin-left:0px;text-align:center\">\n<p style=\"margin-left:0px;text-align:center\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E4%B9%9D%EF%BC%9A%E6%A8%A1%E5%9E%8B%E6%8E%A8%E7%90%86\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u4e5d&#xff1a;\u6a21\u578b\u63a8\u7406<\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u53ef\u53c2\u8003&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:justify\">nnUNet\u5b9e\u6218\u4e00\u4f7f\u7528\u9884\u8bad\u7ec3nnUNet\u6a21\u578b\u8fdb\u884c\u63a8\u7406_nnunet \u63a8\u7406_Tina\u59d0\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:justify\">nnUnet v2\u9879\u76ee\u5b66\u4e60\u8bb0\u5f55&#xff0c;\u8bad\u7ec3\u81ea\u5b9a\u4e49\u6a21\u578b&#xff08;\u4e0d\u662fUnet&#xff09; &#8211; \u77e5\u4e4e (zhihu.com)<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u7cbe\u7ec6\u5316\u4fee\u6539 \u4fee\u6539loss\u7b49<\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">\u2191\u53c2\u8003&#xff0c;\u53ef\u7528\u4e8e\u63d0\u524d\u63a8\u7406<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p>nnUNetv2_find_best_configuration 101 -f 0 1 2 3 4 -c 2d <\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-04-20z4v24nodrmn.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-04-20jweit0uztrx.png\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E5%8D%81%EF%BC%9A%E6%A8%A1%E5%9E%8B%E9%A2%84%E6%B5%8B\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u5341&#xff1a;\u6a21\u578b\u9884\u6d4b<\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u65b0\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u7528\u4e8e\u50a8\u5b58\u9884\u6d4b\u7684mask\u6587\u4ef6<\/p>\n<p style=\"margin-left:0;text-align:justify\">-I \u540e\u8ddf\u7740\u662f\u9700\u8981\u9884\u6d4bmask\u7684\u539f\u5f71\u50cf\u6587\u4ef6&#xff0c; -o\u540e\u9762\u8ddf\u7740label\u50a8\u5b58\u7684\u4f4d\u7f6e<\/p>\n<p style=\"margin-left:0px\">nUNetv2_predict -i\u539f\u5f71\u50cf\u6587\u4ef6\u5939\u00a0-o\u00a0 \u50a8\u5b58\u4f4d\u7f6e\u00a0-d TASK-NUM\u00a0-c 2d<\/p>\n<p>nnUNetv2_predict -i nnUNet\/nnUNetFrame\/DATASET\/nnUNet_raw\/Dataset101_Lung\/imagesTr -o \/home\/featurize\/nnUNet\/nnUNetFrame\/DATASET\/nnUNet_mask\/Dataset101_lung\/trainmask -d 101 -c 2d <\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-04-20s43d3aayu5f.png\" \/><\/p>\n<p style=\"margin-left:0px;text-align:center\">\n<p style=\"margin-left:0px;text-align:center\">\n<h2 id=\"%E6%AD%A5%E9%AA%A4%E5%8D%81%E4%B8%80%EF%BC%9A%E9%A2%84%E6%B5%8B%E7%BB%93%E6%9E%9C%E5%88%86%E6%9E%90\" style=\"margin-left:0;text-align:justify\">\u6b65\u9aa4\u5341\u4e00&#xff1a;\u9884\u6d4b\u7ed3\u679c\u5206\u6790<\/h2>\n<p style=\"margin-left:0;text-align:justify\">nnunet\u6709\u81ea\u5df1\u5185\u7f6e\u7684\u8bc4\u4ef7\u6587\u4ef6&#xff0c;\u4f4d\u7f6e\u5728<\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">\u9884\u6d4b\u7ed3\u679c\u5206\u6790&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">\/home\/featurize\/nnUNet\/nnunetv2\/evaluation\/evaluate_predictions.py<\/span><\/p>\n<p style=\"margin-left:0px;text-align:center\"><span style=\"color:#ff0000\"><img decoding=\"async\" alt=\"\" src=\"2025-04-20y4uzkyc0ypx.png\" \/><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">\u4fee\u6539\u5373\u53ef&#xff0c;\u518d\u5728terminal cd\u5230\u8be5py\u6587\u4ef6\u6240\u5728\u4f4d\u7f6e,\u8f93\u5165python3 evaluate_prediction.py&#xff0c;\u63a5\u7740\u53bb\u67e5\u770bsummary.json\u62a5\u544a\u5373\u53ef<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"117\" src=\"2025-04-20grk2heulimu.png\" width=\"865\" \/><\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-04-20bsztqr5evqf.png\" \/><\/p>\n<p style=\"margin-left:0px;text-align:center\"><span style=\"color:#ff0000\">\u5206\u522b\u5bf9\u5e94\u7740label1,2,3\u7684\u8bc4\u4ef7\u6307\u6807<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E6%9C%80%E7%BB%88%EF%BC%9A%E8%8E%B7%E5%8F%96%E8%B6%85%E7%AE%97%E4%B8%8A%E7%9A%84%E6%96%87%E4%BB%B6\" style=\"margin-left:0;text-align:justify\">\u6700\u7ec8&#xff1a;\u83b7\u53d6\u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6<\/h2>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#e7e6e6\"><span style=\"color:#000000\">\u00a0\u628a\u6587\u4ef6\u538b\u7f29&#xff0c;\u7136\u540e\u53f3\u952e\u5f39\u5f00download<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\">\n<h2 id=\"%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE\" style=\"margin-left:0px;text-align:left\">\u53c2\u8003\u6587\u732e<\/h2>\n<p style=\"margin-left:0;text-align:left\">\u8fd8\u662f\u591a\u770b\u770b\u5f00\u53d1\u8005\u7684github\u548c\u5199\u7684documentation&#xff0c;\u8fd8\u662f\u6709\u4e0d\u5c11\u542f\u53d1\u7684<\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">\u00a0nnU-Net v2\u7684\u73af\u5883\u914d\u7f6e\u5230\u8bad\u7ec3\u81ea\u5df1\u7684\u6570\u636e\u96c6&#xff08;\u8be6\u7ec6\u6b65\u9aa4&#xff09;_\u5c0f\u841d\u5317hh\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:left\">\u5728Windows\u4e0a\u5b9e\u73b0nnU-Net v2\u7684\u73af\u5883\u914d\u7f6e_netv2_\u65e0\u804a\u7684\u7a0b\u5e8f\u733f\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:left\">GitHub &#8211; MIC-DKFZ\/nnUNet<\/p>\n<p style=\"margin-left:0;text-align:left\">nnUNet_v2\/documentation\/how_to_use_nnunet.md at master \u00b7 DIAGNijmegen\/nnUNet_v2 \u00b7 GitHub<\/p>\n<p style=\"margin-left:0;text-align:left\">nnUNetV2\u4f7f\u7528\u6559\u7a0b&#xff0c;\u8d85\u8be6\u7ec6&#xff01;&#xff01;&#xff08;\u4f7f\u7528MSD\u5341\u9879\u5168\u80fd\u6570\u636e\u96c6&#xff09;_msd\u6570\u636e\u96c6_\u4e0d\u5f00\u5fc3\u7684\u591a\u5df4\u80fa\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:left\">\u4e0d\u7528\u5199\u4ee3\u7801\u795e\u5668&#xff01;\u6559\u4f60\u75284\u884c\u547d\u4ee4\u8f7b\u677e\u4f7f\u7528nnUNet\u8bad\u7ec3\u81ea\u5df1\u7684\u533b\u5b66\u56fe\u50cf\u5206\u5272\u6a21\u578b_Tina\u59d0\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">\u4e3b\u8981\u95ee\u9898&#xff1a;nnunet\u548cnnunetv2\u6709\u4e00\u5b9a\u5dee\u5f02&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:left\">nnUNet-v2 \u5b98\u65b9\u8c03\u7528\u6559\u7a0b&#xff08;\u8282\u9009\u5173\u952e\u5185\u5bb9&#xff09;_\u65b0\u4e00\u4ee3\u5207\u7cd5\u4f20\u627f\u4eba\u7684\u535a\u5ba2-CSDN\u535a\u5ba2 &#xff08;<span style=\"background-color:#ffff00\">\u8fd9\u7bc7\u6587\u7ae0\u51e0\u4e4e\u5305\u542b\u4e86\u6240\u6709\u5dee\u5f02&#xff01;&#xff01;<\/span>&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:left\">1\u3001\u73af\u5883\u7684\u8981\u6c42&#xff0c;torch\u76f4\u63a5\u62c9\u52302.0\u4e86&#xff0c;\u4e00\u5f00\u59cb\u914d1.\u51e0\u7684\u8fd8\u7528\u4e0d\u4e86<\/p>\n<p style=\"text-align:left\">2\u3001\u547d\u540d\u7684\u5dee\u5f02&#xff08;\u5982\u6307\u4ee4\u540d\u5728nnunet\u540e\u9762\u90fd\u8981&#043;v2&#xff09;<\/p>\n<p style=\"text-align:left\">3\u3001Json\u6587\u4ef6\u7684\u533a\u522b&#xff0c;\u5176\u5b9e\u5199\u7684\u6bd4\u539f\u5148\u7248\u672c\u66f4\u66f4\u7b80\u6d01\u4e86&#xff0c;\u53cd\u5012\u662f\u4ef6\u597d\u4e8b\u60c5&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">\u65e7\u7248\u7684\u53c2\u8003&#xff1a;<\/p>\n<p style=\"margin-left:0;text-align:left\">nnUNet\u4fdd\u59c6\u7ea7\u4f7f\u7528\u6559\u7a0b&#xff01;\u4ece\u73af\u5883\u914d\u7f6e\u5230\u8bad\u7ec3\u4e0e\u63a8\u7406&#xff08;\u65b0\u624b\u5fc5\u770b&#xff09;_\u6c5f\u6c5fahh\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:left\">\u4fdd\u59c6\u7ea7\u6559\u7a0b&#xff1a;nnUnet\u57282\u7ef4\u56fe\u50cf\u7684\u8bad\u7ec3\u548c\u6d4b\u8bd5_Minerva_\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p style=\"margin-left:0;text-align:left\">\n<p style=\"margin-left:0;text-align:left\">\n<h2 id=\"%E8%83%8C%E6%99%AF%E4%B8%8E%E6%80%BB%E7%BB%93\" style=\"margin-left:0px;text-align:left\">\u80cc\u666f\u4e0e\u603b\u7ed3<\/h2>\n<p style=\"margin-left:0;text-align:justify\">\u80cc\u666f&#xff1a;\u524d\u671f\u5728\u672c\u5730windows\u7535\u8111\u4e0a\u88c5wsl\u518d\u88c5nnunet\u8d70\u4e86\u5f88\u591a\u5f2f\u8def&#xff0c;\u73af\u5883\u914d\u7684\u5f88\u662f\u7834\u9632\u3002\u540e\u5728\u670d\u52a1\u5668\u4e0a\u5374\u6bd4\u8f83\u8f7b\u677e&#xff0c;\u6240\u4ee5\u5f3a\u70c8\u5efa\u8bae\u6709\u6761\u4ef6\u7684\u76f4\u63a5\u627e\u4e2a\u4e0d\u90a3\u4e48\u8d35\u7684\u670d\u52a1\u5668\u5e73\u53f0&#xff08;\u81f3\u5c11\u73af\u5883\u914d\u5d29\u4e86\u4e5f\u53ef\u4ee5\u76f4\u63a5\u91cd\u5f00&#xff0c;\u5b8c\u5168\u6ca1\u6709\u5fc3\u7406\u8d1f\u62c5&#xff09;<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u4f5c\u4e3a\u4e00\u4e2a\u672c\u79d1\u4f4e\u5e74\u7ea7\u7684AI\u521d\u5b66\u8005&#xff0c;\u7b2c\u4e00\u6b21\u505a\u6df1\u5ea6\u5b66\u4e60\u76f8\u5173\u9879\u76ee&#xff0c;\u7b2c\u4e00\u6b21\u4f7f\u7528\u8fd9\u4e2a\u5e93&#xff0c;\u7b2c\u4e00\u6b21\u72ec\u81ea\u914d\u73af\u5883&#xff0c;\u52a0\u4e0a\u6070\u9022nnunetv2\u66f4\u65b0\u540e&#xff0c;\u539f\u7248\u672c\u6709\u4e9b\u603b\u7ed3\u548c\u7ecf\u9a8c\u4e0d\u518d\u80fd\u76f4\u63a5\u7167\u6284\u4f7f\u7528&#xff0c;\u7f51\u4e0a\u6ca1\u6709\u5f88\u5feb\u66f4\u65b0v2\u7684\u6559\u7a0b&#xff0c;\u8fd8\u662f\u6709\u4e9b\u75db\u82e6\u7684\u3002\u540c\u65f6\u4f5c\u4e3a\u7b2c\u4e00\u6b21\u5199\u8fd9\u6837\u7684\u6307\u5357&#xff0c;\u5185\u5bb9\u6709\u4e9b\u5197\u4f59&#xff0c;\u4e5f\u4e00\u5b9a\u6709\u7f3a\u6f0f\u548c\u4e0d\u8db3&#xff0c;\u8fd8\u8bf7\u5927\u5bb6\u591a\u591a\u5305\u6db5&#xff0c;\u6b22\u8fce\u5927\u5bb6\u5728\u8bc4\u8bba\u533a\u63d0\u95ee\u6307\u51fa~~<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u672c\u6587\u6ca1\u5305\u542b\u7684bug\u548c\u62a5\u9519\u4e5f\u53ef\u4ee5\u63d0\u95ee&#xff0c;\u4e5f\u4f1a\u5c3d\u6240\u80fd\u53bb\u627e\u7684&#xff01;<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u540e\u7eed\u4e5f\u4f1a\u591a\u591a\u8bfb\u8bfb\u539f\u6587\u4ef6&#xff0c;\u6709\u6536\u83b7\u548c\u611f\u60f3\u4e5f\u4f1a\u518d\u591a\u591a\u66f4\u65b0~<\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#e7e6e6\"><span style=\"color:#000000\">\u5b8c\u7ed3\u6563\u82b1&#xff01;\u6709\u5176\u4ed6\u62a5\u9519\u6b22\u8fce\u8bc4\u8bba\u533a\u8ba8\u8bba&#xff0c;\u697c\u4e3b\u4e5f\u662f\u7b2c\u4e00\u6b21\u4f7f\u7528\u8fd9\u4e2a\u5e93&#xff0c;\u5bf9\u5176\u4e2d\u5f88\u591a\u51fd\u6570\u8fd8\u6ca1\u6709\u7ec6\u7ec6\u53bb\u8bfb\u8fc7&#xff0c;\u4e4b\u540e\u518d\u6162\u6162\u53d1\u6398\u3001\u591a\u8bfb\u8bfbdocumentation&#xff0c;\u627e\u5230\u4e00\u4e9b\u53ef\u4f9b\u76f4\u63a5\u4f7f\u7528\u7684\u51fd\u6570&#xff0c;\u518d\u66f4\u65b0\u66f4\u65b0\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#e7e6e6\"><span style=\"color:#000000\">\u4e3e\u4f8b&#xff1a;\u5728preprocessing\u91cc\u6709\u9ed8\u8ba4\u7684\u5f52\u4e00\u5316\u3001\u91cd\u91c7\u6837\u7b49\u64cd\u4f5c&#xff0c;\u6211\u624b\u4e0a\u6709\u62ff\u5230\u5176\u4ed6\u6570\u636e&#xff08;\u4e0d\u9700\u8981\u7528\u6765\u5206\u5272&#xff09;\u4f46\u4e0d\u77e5\u9053\u8be5\u600e\u4e48\u5f52\u4e00\u5316&#xff0c;\u6211\u76f4\u63a5\u8bfb\u4e86\u8bfbnnunet\u91cc\u7684preprocessing\u77e5\u9053\u5927\u6982\u7684\u6d41\u7a0b\u4e86\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"448\" src=\"2025-04-20oileso2ybaq.png\" width=\"481\" \/><\/p>\n<p style=\"margin-left:0px;text-align:center\"><img decoding=\"async\" alt=\"\" src=\"2025-04-201r1scso4ahq.png\" \/><\/p>\n<p><span style=\"background-color:#e7e6e6\"><span style=\"color:#000000\">\u5b66\u4e60&#xff0c;<\/span><\/span><span style=\"color:#be191c\"><span style=\"background-color:#d7d8d9\">\u8def\u6f2b\u6f2b\u5176\u4fee\u8fdc\u516e<\/span><\/span>&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb8.3k\u6b21\uff0c\u70b9\u8d5e58\u6b21\uff0c\u6536\u85cf155\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528nnUNetv2\u8fdb\u884c\u6df1\u5ea6\u5b66\u4e60\u9879\u76ee\uff0c\u5305\u62ecconda\u73af\u5883\u8bbe\u7f6e\u3001\u4f9d\u8d56\u5e93\u5b89\u88c5\u3001\u6570\u636e\u96c6\u7ec4\u7ec7\u4e0e\u9884\u5904\u7406\u3001\u6a21\u578b\u8bad\u7ec3\u4e0e\u63a8\u7406\u7b49\u6b65\u9aa4\uff0c\u4ee5\u53ca\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n","protected":false},"author":2,"featured_media":29862,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[88,50,43,86,523],"topic":[],"class_list":["post-29882","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-conda","tag-50","tag-43","tag-86","tag-523"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/29882.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb8.3k\u6b21\uff0c\u70b9\u8d5e58\u6b21\uff0c\u6536\u85cf155\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528nnUNetv2\u8fdb\u884c\u6df1\u5ea6\u5b66\u4e60\u9879\u76ee\uff0c\u5305\u62ecconda\u73af\u5883\u8bbe\u7f6e\u3001\u4f9d\u8d56\u5e93\u5b89\u88c5\u3001\u6570\u636e\u96c6\u7ec4\u7ec7\u4e0e\u9884\u5904\u7406\u3001\u6a21\u578b\u8bad\u7ec3\u4e0e\u63a8\u7406\u7b49\u6b65\u9aa4\uff0c\u4ee5\u53ca\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/29882.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-20T05:41:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054117-680488fdee131.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/29882.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/29882.html\",\"name\":\"nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-20T05:41:26+00:00\",\"dateModified\":\"2025-04-20T05:41:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/29882.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/29882.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/29882.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/29882.html","og_locale":"zh_CN","og_type":"article","og_title":"nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb8.3k\u6b21\uff0c\u70b9\u8d5e58\u6b21\uff0c\u6536\u85cf155\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528nnUNetv2\u8fdb\u884c\u6df1\u5ea6\u5b66\u4e60\u9879\u76ee\uff0c\u5305\u62ecconda\u73af\u5883\u8bbe\u7f6e\u3001\u4f9d\u8d56\u5e93\u5b89\u88c5\u3001\u6570\u636e\u96c6\u7ec4\u7ec7\u4e0e\u9884\u5904\u7406\u3001\u6a21\u578b\u8bad\u7ec3\u4e0e\u63a8\u7406\u7b49\u6b65\u9aa4\uff0c\u4ee5\u53ca\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/29882.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-20T05:41:26+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420054117-680488fdee131.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/29882.html","url":"https:\/\/www.wsisp.com\/helps\/29882.html","name":"nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-20T05:41:26+00:00","dateModified":"2025-04-20T05:41:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/29882.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/29882.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/29882.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"nnU-Netv2\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528\u5168\u6d41\u7a0b\uff08\u5c0f\u767d\u8fb9\u8e29\u5751\u8fb9\u5b66\u4e60\u7684\u8bb0\u5f55\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/29882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=29882"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/29882\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/29862"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=29882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=29882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=29882"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=29882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}