{"id":32533,"date":"2025-04-24T19:36:33","date_gmt":"2025-04-24T11:36:33","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/32533.html"},"modified":"2025-04-24T19:36:33","modified_gmt":"2025-04-24T11:36:33","slug":"%e9%83%a8%e7%bd%b2%e6%b5%aa%e6%bd%ae%e6%9c%8d%e5%8a%a1%e5%99%a8aistation","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/32533.html","title":{"rendered":"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation"},"content":{"rendered":"<\/p>\n<h4>\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668<\/h4>\n<ul>\n<li>\u524d\u8a00<\/li>\n<li>1. \u9996\u5148\u8fdb\u5165\u6d6a\u6f6e\u670d\u52a1\u5668\u7f51\u7ad9<\/li>\n<li>2. \u5982\u4f55\u5728\u6d6a\u6f6e\u4e0a\u8dd1\u901a\u5b9e\u9a8c<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>&#xff08;1&#xff09;\u4e0a\u4f20\u6570\u636e\u96c6&amp;\u4ee3\u7801<\/li>\n<li>&#xff08;2&#xff09;\u521b\u5efa\u4e00\u4e2a\u5f00\u53d1\u73af\u5883<\/li>\n<li>&#xff08;3&#xff09;\u4e0b\u8f7d\u5e76\u5b89\u88c5anaconda<\/li>\n<li>&#xff08;4&#xff09;\u4e0a\u4f20\u865a\u62df\u73af\u5883<\/li>\n<li>&#xff08;5&#xff09;\u5728\u6d6a\u6f6e\u4e0a\u914d\u7f6e\u865a\u62df\u73af\u5883<\/li>\n<li>&#xff08;6&#xff09;\u8fd0\u884c\u4ee3\u7801<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u524d\u8a00<\/h2>\n<p>\u4e00\u822c\u5728\u524d\u8a00\u6211\u90fd\u4f1a\u8bf4\u4e00\u4e9b\u9898\u5916\u8bdd&#xff0c;\u563f\u563f~ \u6700\u8fd1&#xff0c;\u6709\u4e2a\u95ee\u9898\u6211\u60f3\u4e86\u5f88\u4e45&#xff0c;\u5728\u8fd9\u91cc\u5206\u4eab\u7ed9\u5bb6\u4eba\u4eec\u54c8&#xff0c;\u5c31\u662f\u8bf4\u5047\u5982\u6709\u4e24\u79cd\u52aa\u529b\u7684\u65b9\u5f0f&#xff0c;\u4e00\u79cd\u662f\u975e\u5e38\u52aa\u529b&#xff0c;\u5bf9\u81ea\u5df1\u8981\u6c42\u975e\u5e38\u4e25\u683c&#xff0c;\u6bcf\u5929\u6ca1\u6709\u4ec0\u4e48\u73a9\u7684\u65f6\u95f4&#xff0c;\u81ea\u5df1\u7684\u80fd\u529b\u63d0\u5347\u5730\u5f88\u5feb&#xff0c;\u4f46\u662f\u7f3a\u70b9\u662f\u53ef\u80fd\u4f1a\u7f3a\u5931\u751f\u6d3b\u4e2d\u5f88\u591a\u7684\u5c0f\u5feb\u4e50&#xff1b;\u8fd8\u6709\u4e00\u79cd\u662f\u5bf9\u81ea\u5df1\u8981\u6c42\u6ca1\u90a3\u4e48\u4e25\u683c&#xff0c;\u4f46\u662f\u4e5f\u5728\u52aa\u529b&#xff0c;\u80fd\u529b\u63d0\u5347\u5730\u6bd4\u8f83\u7f13\u6162&#xff0c;\u4f46\u662f\u80fd\u4f53\u4f1a\u5230\u751f\u6d3b\u4e2d\u7684\u5f88\u591a\u5feb\u4e50\u3002\u8fd9\u4e24\u79cd\u52aa\u529b\u7684\u65b9\u5f0f\u5bb6\u4eba\u4eec\u66f4\u503e\u5411\u4e8e\u90a3\u79cd\u5462&#xff1f;\u5927\u5bb6\u53ef\u4ee5\u5728\u8bc4\u8bba\u533a\u7559\u8a00\u54c8&#xff0c;\u6bcf\u4e00\u6761\u6211\u90fd\u4f1a\u5f88\u8ba4\u771f\u5730\u53c2\u8003\u54d2~<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113625-680a223925393.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"400\" \/><\/p>\n<p>\u597d\u5566&#xff0c;\u8a00\u5f52\u6b63\u4f20\u4e86\u54c8~<\/p>\n<h2>1. \u9996\u5148\u8fdb\u5165\u6d6a\u6f6e\u670d\u52a1\u5668\u7f51\u7ad9<\/h2>\n<p>\u6d6a\u6f6e\u670d\u52a1\u5668\u7684\u7f51\u5740&#xff1a;https:\/\/172.17.71.11:32206\/login.html&#xff0c;\u6709\u53ef\u80fd\u6d4f\u89c8\u5668\u4f1a\u63d0\u793a\u8fd9\u4e2a\u7f51\u5740\u5e76\u4e0d\u5b89\u5168&#xff0c;\u4f46\u662f\u8fd9\u4e2a\u5e76\u6ca1\u6709\u5173\u7cfb&#xff0c;\u70b9\u51fb\u8fdb\u5165\u5c31\u597d\u4e86\u3002<\/p>\n<p>\u8fdb\u5165\u7f51\u5740\u4e4b\u540e\u7684\u754c\u9762\u5982\u4e0b\u56fe\u6240\u793a&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113625-680a2239bc0f4.png\" alt=\"\u6d6a\u6f6e\u767b\u5f55\u754c\u9762\" \/> \u7136\u540e\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u5c31\u597d\u4e86\u3002<\/p>\n<h2>2. \u5982\u4f55\u5728\u6d6a\u6f6e\u4e0a\u8dd1\u901a\u5b9e\u9a8c<\/h2>\n<p>\u9996\u5148&#xff0c;\u5bb6\u4eba\u4eec\u5fc5\u987b\u8981\u77e5\u9053\u4e00\u4e2a\u4e8b\u5b9e&#xff0c;\u90a3\u5c31\u662f\u6d6a\u6f6e\u8fd9\u4e2a\u670d\u52a1\u5668\u5427&#xff0c;\u662f\u4e00\u53f0\u88f8\u673a&#xff0c;\u4e5f\u5c31\u662f\u4e0a\u9762\u4ec0\u4e48\u73af\u5883\u4e5f\u6ca1\u6709&#xff0c;\u6240\u4ee5&#xff08;\u91cd\u70b9\u6765\u4e86\u5965&#xff09;&#xff0c;\u6211\u4eec\u9700\u8981\u6dfb\u52a0\u4e0a\u6211\u4eec\u7684\u4ee3\u7801\u4ee5\u53ca\u6570\u636e\u96c6&#xff0c;\u5b89\u88c5\u597danaconda&#xff0c;\u7136\u540e\u8fd8\u6709\u5bf9\u5e94\u7684conda\u865a\u62df\u73af\u5883&#xff0c;\u5176\u6b21\u8fd8\u8981\u6709Pytorch\u3002<\/p>\n<h4>&#xff08;1&#xff09;\u4e0a\u4f20\u6570\u636e\u96c6&amp;\u4ee3\u7801<\/h4>\n<p>\u70b9\u5f00\u201c\u6570\u636e\u7ba1\u7406\u201d\u8fd9\u4e00\u680f&#xff0c;\u7136\u540e\u91cc\u9762\u6709\u4e2a\u201c\u6587\u4ef6\u7ba1\u7406\u201d&#xff0c;\u4e0b\u9762\u7684\u201c\u6570\u636e\u96c6\u7ba1\u7406\u201d\u5148\u4e0d\u7528\u7ba1\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113626-680a223a99881.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"256\" \/><\/p>\n<p>\u7136\u540e\u8fd9\u91cc\u6709\u4e00\u4e9b\u76ee\u5f55&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a&#xff0c;\u6709\u7528\u6237\u76ee\u5f55\u3001\u516c\u5171\u76ee\u5f55\u3002\u4e00\u822c\u6211\u4eec\u7684\u4ee3\u7801\u548c\u6570\u636e\u96c6\u90fd\u662f\u653e\u5728\u4e00\u4e2a\u6587\u4ef6\u5939\u91cc\u7684&#xff0c;\u5e76\u4e14\u6211\u4eec\u4e00\u822c\u653e\u5728\u8fd9\u4e2a\u7528\u6237\u76ee\u5f55\u91cc\u3002\u516c\u5171\u76ee\u5f55\u91cc\u7684\u5168\u5c40\u5171\u4eab\u91cc\u4e5f\u6709\u4e00\u4e9b\u6587\u4ef6&#xff0c;\u4e00\u822c\u662f\u7ba1\u7406\u5458\u4e0a\u4f20\u7684\u4e00\u4e9b\u6bd4\u8f83\u5e38\u89c1\u7684\u6570\u636e\u96c6\u7b49\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113626-680a223ac25e6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"256\" \/><\/p>\n<p>\u5982\u4e0b\u56fe\u6240\u793a&#xff0c;\u4e0a\u4f20\u6587\u4ef6\u6709\u4e24\u79cd\u65b9\u5f0f&#xff0c;\u4e00\u79cd\u662f\u4e0b\u56fe\u4e2d\u7ea2\u8272\u6846\u6846\u5708\u51fa\u6765\u7684\u201c\u4e0a\u4f20\u201d&#xff0c;\u8fd9\u79cd\u65b9\u5f0f\u662f\u4ece\u672c\u5730\u76f4\u63a5\u4e0a\u4f20&#xff0c;\u4f46\u662f\u6709\u4e00\u4e2a\u9650\u5236\u2014\u2014\u4e0a\u4f20\u7684\u6587\u4ef6\u5927\u5c0f\u53ea\u80fd\u5c0f\u4e8e1G&#xff0c;\u6240\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u6211\u4e0d\u662f\u7ecf\u5e38\u7528\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113626-680a223aed42d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u8fd8\u6709\u4e00\u79cd\u65b9\u5f0f\u662f\u901a\u8fc7SFTP\u5de5\u5177\u6765\u4e0a\u4f20\u6587\u4ef6\u3002<\/p>\n<p>\u8fd9\u91cc\u5148\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0bSFTP\u662f\u4ec0\u4e48\u54c8\u3002SFTP\u662f\u4e00\u79cd\u6587\u4ef6\u7f51\u7edc\u4f20\u8f93\u7684\u5b89\u5168\u534f\u8bae&#xff0c;\u4e00\u822c\u80fd\u591f\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u5de5\u5177\u4e00\u822c\u90fd\u53ef\u4ee5\u8fdb\u884cSFTP\u6587\u4ef6\u4f20\u8f93\u3002\u50cf\u6211\u4e00\u76f4\u7528\u7684SFTP\u5de5\u5177\u53eb\u505aMobaXterm\u3002<\/p>\n<p>\u60f3\u8fdb\u4e00\u6b65\u4e86\u89e3SFTP\u7684\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b\u8fd9\u7bc7\u6587\u7ae0&#xff1a;https:\/\/blog.csdn.net\/weixin_42046751\/article\/details\/105250458<\/p>\n<p>\u767b\u5f55\u4e0aMobaXterm\u540e\u5148\u8fde\u63a5\u4e0a\u6d6a\u6f6e\u670d\u52a1\u5668&#xff0c;\u70b9\u51fb\u5de6\u4e0a\u89d2\u7684session&#xff0c;\u7136\u540e\u70b9\u51fbSFTP&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a\u3002Remote host\u4e3a\u6d6a\u6f6e\u7684ip\u5730\u5740&#xff1a;172.17.71.11 &#xff0c;Username\u5c31\u662f\u767b\u5f55\u6d6a\u6f6e\u7684\u8d26\u53f7&#xff08;\u50cf\u6211\u5c31\u662f\u5b66\u53f7&#xff09;&#xff0c;\u7136\u540e\u70b9\u51fbOK\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113627-680a223b5a6e9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"400\" \/><\/p>\n<p>\u7136\u540e\u9700\u8981\u8ba9\u4f60\u8f93\u5165\u5bc6\u7801&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113627-680a223ba3ed5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"400\" \/><\/p>\n<p>\u8fd9\u91cc\u7684\u5bc6\u7801\u9700\u8981\u5728\u6d6a\u6f6e\u670d\u52a1\u5668\u4e2d\u624b\u52a8\u70b9\u201c\u590d\u5236\u5bc6\u7801\u201d\u5f97\u5230&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113627-680a223bce381.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u767b\u5f55\u4e0a\u53bb\u4e4b\u540e\u5c31\u53ef\u4ee5\u4e0a\u4f20\u6587\u4ef6\u5566~<\/p>\n<h4>&#xff08;2&#xff09;\u521b\u5efa\u4e00\u4e2a\u5f00\u53d1\u73af\u5883<\/h4>\n<p>\u70b9\u5f00\u76ee\u5f55\u7684\u201c\u4e1a\u52a1\u7ba1\u7406\u201d&#xff0c;\u7136\u540e\u518d\u70b9\u51fb\u201c\u5f00\u53d1\u73af\u5883\u201d\u3002\u5728\u91cc\u9762\u7684\u53f3\u4e0a\u89d2\u6709\u4e00\u4e2a\u201c\u521b\u5efa\u201d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113628-680a223c0bafb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u70b9\u51fb\u201c\u521b\u5efa\u201d\u4e4b\u540e&#xff0c;\u4f60\u9700\u8981\u9009\u62e9\u4e00\u4e2a\u5f00\u53d1\u73af\u5883\u955c\u50cf&#xff0c;\u6211\u7684\u73af\u5883\u65f6Pytorch&#xff0c;\u56e0\u6b64\u6211\u9009\u62e9\u4e86\u4e00\u4e2a\u6211\u7684\u540c\u5b66\u516c\u5f00\u51fa\u6765\u7684Pytorch\u73af\u5883\u955c\u50cf\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113628-680a223c574f3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u9009\u62e9\u4e00\u4e2a\u4e4b\u540e\u5c31\u5230\u4e86\u4e0b\u9762\u8fd9\u4e2a\u7a97\u53e3&#xff0c;\u9009\u62e9\u4e00\u4e2a\u8fd8\u6709\u663e\u5361\u7684\u8282\u70b9\u3002\u56e0\u4e3a\u6211\u8fd9\u91cc\u5df2\u7ecf\u6709\u4e00\u4e2a\u5f00\u53d1\u73af\u5883\u4e86&#xff0c;\u6240\u4ee5\u8fd9\u91ccCPU\u663e\u793a\u8d44\u6e90\u4e0d\u8db3&#xff0c;\u6b63\u5e38\u6765\u8bf4\u662f4&#xff0c;\u52a0\u901f\u5361\u5e94\u8be5\u662f1\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113628-680a223cc2f31.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4e0b\u9762\u8fd8\u6709\u6570\u636e\u914d\u7f6e\u548c\u66f4\u591a\u9009\u9879&#xff0c;\u6211\u6ca1\u52a8&#xff0c;\u76f4\u63a5\u70b9\u201c\u786e\u5b9a\u201d\u4e86\u3002<\/p>\n<h4>&#xff08;3&#xff09;\u4e0b\u8f7d\u5e76\u5b89\u88c5anaconda<\/h4>\n<p>\u5148\u5230\u6e05\u534e\u5927\u5b66\u5f00\u6e90\u955c\u50cf\u7f51\u7ad9\u4e0b\u8f7danaconda\u7684\u811a\u672c\u6587\u4ef6<\/p>\n<p>\u955c\u50cf\u7f51\u7ad9\u7f51\u5740&#xff1a;https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/archive\/<\/p>\n<p>\u5728\u91cc\u9762\u627e\u5230\u81ea\u5df1\u9700\u8981\u7684\u811a\u672c\u6587\u4ef6\u5c31\u884c\u4e86&#xff0c;\u4ee5\u6211\u4e3a\u4f8b&#xff0c;\u6211\u7684\u662f<\/p>\n<p>Anaconda3-2021<span class=\"token punctuation\">.<\/span>11-Linux-x86_64<span class=\"token punctuation\">.<\/span>sh<\/p>\n<p>\u70b9\u51fb\u4e4b\u540e\u5c31\u53ef\u4ee5\u4e0b\u8f7d\u5230\u672c\u5730\u4e86&#xff0c;\u7136\u540e\u518d\u901a\u8fc7SFTP\u5de5\u5177\u5c06\u4e0a\u9762\u7684\u811a\u672c\u6587\u4ef6\u4e0a\u4f20\u5230\u6d6a\u6f6e\u670d\u52a1\u5668\u3002 \u6765\u5230\u6d6a\u6f6e\u7684\u5f00\u53d1\u73af\u5883\u7684\u754c\u9762&#xff0c;\u70b9\u51fb\u5f00\u53d1\u73af\u5883&#xff08;\u5c31\u662f\u4e0b\u56fe\u4e2d\u7ea2\u8272\u6846\u6846&#xff09;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113629-680a223d42794.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4e4b\u540e\u518d\u70b9\u51fbShell&#xff0c;\u8fdb\u5165\u7ec8\u7aef\u547d\u4ee4\u7a97\u53e3\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113629-680a223d8e749.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u63a5\u7740\u5c31\u53ef\u4ee5\u6267\u884c\u811a\u672c\u6587\u4ef6\u4e86&#xff0c;\u7528\u4e0b\u9762\u7684\u547d\u4ee4&#xff1a;<\/p>\n<p>bash Anaconda3-2021<span class=\"token punctuation\">.<\/span>11-Linux-x86_64<span class=\"token punctuation\">.<\/span>sh<\/p>\n<p>\u7136\u540e\u5c31\u662f\u4e00\u5f00\u59cb\u662f\u8ba9\u5927\u5bb6\u63a5\u6536\u534f\u8bae&#xff0c;\u8f93\u5165yes\u5c31\u597d\u3002\u518d\u63a5\u7740\u5c31\u662f\u8ba9\u4f60\u786e\u8ba4\u5b89\u88c5\u76ee\u5f55&#xff0c;\u9ed8\u8ba4\u7684\u76ee\u5f55\u662f\/root\/anaconda3&#xff0c;\u6211\u6ca1\u6539\u3002\u6700\u540e\u4f1a\u95ee\u4f60\u662f\u5426\u914d\u7f6e\u73af\u5883\u53d8\u91cf&#xff0c;\u4f60\u53ef\u4ee5\u9009yes&#xff0c;\u4f46\u662f\u6211\u9009\u4e86no&#xff0c;\u7136\u540e\u6211\u53c8\u81ea\u5df1\u624b\u52a8\u914d\u7f6e\u4e86anaconda\u7684\u73af\u5883\u53d8\u91cf\u3002\u6700\u540e\u7cfb\u7edf\u5c31\u4f1a\u63d0\u793a\u5927\u5bb6 installed successfully !<\/p>\n<p>\u90a3\u4e48&#xff0c;\u6211\u6765\u548c\u5bb6\u4eba\u4eec\u8bf4\u8bf4\u600e\u4e48\u624b\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u54c8~<\/p>\n<p>&#xff08;1&#xff09;\u6dfb\u52a0\u73af\u5883\u53d8\u91cf<\/p>\n<p><span class=\"token function\">echo<\/span> <span class=\"token string\">&#039;export PATH&#061;&#034;\/root\/anaconda3\/bin:$PATH&#034;&#039;<\/span> &gt;&gt; ~<span class=\"token operator\">\/<\/span><span class=\"token punctuation\">.<\/span>bashrc<\/p>\n<p>\u8fd9\u91cc\u7684\/root\/anaconda3\/bin \u4e0d\u662f\u4e00\u5c18\u4e0d\u53d8\u7684&#xff0c;\u8981\u6839\u636e\u81ea\u5df1\u7684anaconda\u76ee\u5f55\u6765\u914d\u7f6e\u3002<\/p>\n<p>&#xff08;2&#xff09;\u4f7f\u5176\u7acb\u5373\u751f\u6548<\/p>\n<p>source ~<span class=\"token operator\">\/<\/span><span class=\"token punctuation\">.<\/span>bashrc<\/p>\n<p>&#xff08;3&#xff09;\u9a8c\u8bc1anaconda\u662f\u5426\u5b89\u88c5\u6210\u529f<\/p>\n<p>anaconda <span class=\"token operator\">&#8211;<\/span>V  <span class=\"token comment\">#\u6ce8\u610fV\u662f\u5927\u5199<\/span><\/p>\n<p>\u5982\u679c\u663e\u793a\u51faanaconda\u7684\u7248\u672c&#xff0c;\u90a3\u4e48&#xff0c;\u606d\u559c\u5bb6\u4eba\u4eec\u5b89\u88c5\u6210\u529f&#xff01;<\/p>\n<p>&#xff08;4&#xff09;\u8fdb\u5165anaconda\u7684base\u73af\u5883<\/p>\n<p>source activate<\/p>\n<h4>&#xff08;4&#xff09;\u4e0a\u4f20\u865a\u62df\u73af\u5883<\/h4>\n<p>\u56e0\u4e3a\u6211\u4eec\u8fd0\u884c\u7684\u9879\u76ee\u4e00\u822c\u6765\u8bf4\u90fd\u6709\u4e00\u4e2a\u4e13\u95e8\u7684\u865a\u62df\u73af\u5883\u6765\u5bf9\u5e94&#xff0c;\u865a\u62df\u73af\u5883\u4e2d\u6709\u9879\u76ee\u6240\u9700\u8981\u7684\u5305\u3002\u4e00\u822c\u6765\u8bf4&#xff0c;\u4e00\u822c\u7684Linux\u670d\u52a1\u5668\u5c31\u53ef\u4ee5\u76f4\u63a5\u81ea\u8eab\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883\u7684&#xff0c;\u5c31\u662f\u5148\u4e0b\u8f7danaconda\u7684\u811a\u672c\u6587\u4ef6&#xff0c;\u5c31\u662f.sh\u7ed3\u5c3e\u7684\u90a3\u4e2a\u4e1c\u897f&#xff0c;\u7136\u540e\u518d\u7528bash\u547d\u4ee4\u5b89\u88c5anaconda&#xff0c;\u63a5\u7740\u5c31\u80fd\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883&#xff0c;\u7136\u540e\u518d\u5728\u865a\u62df\u73af\u5883\u91cc\u4e0b\u8f7dtorch\u4e86&#xff0c;\u6700\u540e\u518dpip\u6216\u8005conda\u81ea\u5df1\u9700\u8981\u7684\u5305\u5c31OK\u4e86\u3002BUT&#xff01;&#xff01;&#xff01;\u6d6a\u6f6e\u8fd9\u4e2a\u795e\u5947\u7684\u670d\u52a1\u5668\u7adf\u7136\u6ca1\u8054\u7f51&#xff08;\u5c31\u8fde\u813e\u6c14\u8fd9\u4e48\u597d\u7684\u6211\u90fd\u60f3\u9a82\u4eba&#xff09;&#xff01;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113629-680a223db783b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"300\" \/> \u56e0\u6b64&#xff01;&#xff01;&#xff01;\u53ea\u80fd\u5728\u53e6\u4e00\u53f0Linux\u670d\u52a1\u5668\u4e0a\u5148\u521b\u5efa\u597d\u4e00\u4e2a\u865a\u62df\u73af\u5883&#xff0c;\u7136\u540e\u6253\u5305\u4e0b\u8f7d\u5230\u672c\u5730&#xff0c;\u7136\u540e\u518d\u672c\u5730\u4e0a\u4f20\u5230\u6d6a\u6f6e\u518d\u89e3\u538b~~\u771f\u7684\u662f\u79bb\u8c31\u4ed6\u5988\u7ed9\u79bb\u8c31\u5f00\u95e8&#xff0c;\u79bb\u8c31\u5230\u5bb6\u4e86\u3002\u5173\u952e\u662f\u6211\u7684\u5b9e\u9a8c\u5ba4\u7684\u670d\u52a1\u5668\u8fde\u78c1\u76d8\u7a7a\u95f4\u90fd\u54a9\u7684\u4e86&#xff0c;\u8fde\u521b\u5efa\u4e2a\u865a\u62df\u73af\u5883\u90fd\u6ca1\u6709space&#xff0c;\u8fd8\u5361\u5f97\u4e00\u6279\u2026\u2026\u6211\u771f\u7684\u4f1a\u8c22\u2026\u2026<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113630-680a223ecab50.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"300\" \/> \u56e0\u6b64&#xff0c;\u6211\u6253\u7b97\u5728\u5b9e\u9a8c\u5ba4\u670d\u52a1\u5668\u4e0a\u5c06\u539f\u672c\u7684\u4e0d\u600e\u4e48\u7ecf\u5e38\u7528\u7684\u865a\u62df\u73af\u5883\u5220\u6389&#xff0c;\u518d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883\u2026\u2026\u521b\u5efa\u4e2a\u865a\u62df\u73af\u5883\u90fd\u5f97\u8fd9\u4e48\u9ebb\u70e6&#xff0c;\u8bf6~<\/p>\n<p>&#xff08;1&#xff09;\u5148\u67e5\u770b\u81ea\u5df1\u6709\u54ea\u4e9b\u865a\u62df\u73af\u5883&#xff1a;<\/p>\n<p>conda env list<\/p>\n<p>&#xff08;2&#xff09;\u7136\u540e\u5220\u6389\u5176\u4e2d\u4e00\u4e2a\u865a\u62df\u73af\u5883(\u7eaf\u5c5e\u662f\u4e3a\u4e86\u8ba9\u51fa\u78c1\u76d8\u7a7a\u95f4&#xff0c;\u5bb6\u4eba\u4eec\u53ef\u4ee5\u4e0d\u7528\u505a\u8fd9\u6b65)&#xff1a;<\/p>\n<p>conda remove <span class=\"token operator\">&#8211;<\/span>n \u73af\u5883\u540d\u79f0 <span class=\"token operator\">&#8212;<\/span>all<\/p>\n<p>\u7136\u540e\u7cfb\u7edf\u4f1a\u63d0\u793a\u662f\u5426\u8981\u5220\u9664&#xff0c;\u8f93\u5165yes\u5c31\u884c\u5566<\/p>\n<p>&#xff08;3&#xff09;\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883<\/p>\n<p>conda create <span class=\"token operator\">&#8211;<\/span>n \u73af\u5883\u540d\u79f0 python&#061;\u7248\u672c<\/p>\n<p>\u4f46\u662f\u53c8\u51fa\u73b0\u95ee\u9898\u4e86&#xff01;\u6211\u53ef\u771f\u662f\u591a\u82e6\u591a\u96be\u7684\u79d1\u7814\u4eba\u554a~<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113631-680a223f7e3aa.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6211\u67e5\u9605\u4e86\u4e00\u4e0b\u8d44\u6599\u5f97\u51fa\u4e86\u95ee\u9898\u7684\u7ed3\u8bba\u2014\u2014\u6839\u76ee\u5f55\u4e0b\u7684\u8fd9\u4e9btmp\u76ee\u5f55\u6ca1\u6709\u78c1\u76d8\u7a7a\u95f4\u2026\u2026\u8fd8\u662f\u8001\u95ee\u9898&#xff0c; \u4e0d\u8fc7\u6211\u8054\u7cfb\u4e86\u4e00\u4e0b\u670d\u52a1\u5668\u7684\u7ba1\u7406\u5458&#xff0c;\u4ed6\u8bf4\u53ef\u4ee5\u5148\u5220\u6389\u4e00\u4e9b\u7f13\u5b58\u6587\u4ef6\u5e94\u4e0b\u6025&#xff0c;\u7ba1\u7406\u5458\u4eba\u8fd8\u662f\u86ee\u4e0d\u9519\u6ef4~ \u4e0b\u56fe\u4e5f\u662f\u5e94\u8bc1\u4e86\u6211\u7684\u7ed3\u8bba\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113631-680a223fd8d71.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u76f8\u5e94\u7684\u76ee\u5f55\u4e0b\u53ef\u7528\u7684\u78c1\u76d8\u7a7a\u95f4\u4e3a\u96f6\u2026\u2026<\/p>\n<p>OK&#xff0c;\u7ecf\u8fc7\u5341\u5206\u949f\u7684\u7b49\u5f85\u540e&#xff0c;\u78c1\u76d8\u7a7a\u95f4\u817e\u51fa\u4e8c\u5341\u591aG\u4e86&#xff0c;\u7ec8\u4e8e\u628a\u865a\u62df\u73af\u5883\u521b\u5efa\u597d\u5566&#xff0c;\u4e2d\u95f4\u8fc7\u7a0b\u4f1a\u6709\u4e00\u4e2a\u8ba9\u5927\u5bb6\u8f93\u5165yes\u7684\u64cd\u4f5c\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113632-680a22400fb31.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fd9\u4e2aTransUNet\u5c31\u662f\u6211\u521a\u521a\u521b\u5efa\u597d\u7684\u865a\u62df\u73af\u5883~ \u90a3\u4e48\u63a5\u7740\u9700\u8981\u5728\u8fd9\u4e2a\u865a\u62df\u73af\u5883\u91cc\u5b89\u88c5torch\u4ee5\u53ca\u9879\u76ee\u9700\u8981\u7684\u5305&#xff0c;\u90a3\u4e48\u6765\u5427~ \u4e00\u822c\u6765\u8bf4&#xff0c;\u6211\u4eec\u9996\u5148\u9700\u8981\u5148\u8fdb\u5165torch\u7684\u5b98\u7f51\u8fdb\u884ctorch\u7684\u4e0b\u8f7d<\/p>\n<p>torch\u5b98\u7f51\u7684\u7f51\u5740&#xff1a;https:\/\/pytorch.org\/get-started\/locally\/<\/p>\n<p>\u4e0b\u8f7dtorch\u4e4b\u524d&#xff0c;\u6211\u4eec\u5148\u5f97\u5f04\u6e05\u695a\u4e00\u4e9b\u4e1c\u897f&#xff0c;\u90a3\u5c31\u662f\u6211\u4eec\u670d\u52a1\u5668\u7684NVIDIA\u9a71\u52a8\u7248\u672c\u4ee5\u53ca\u5bf9\u5e94\u7684cuda\u7248\u672c&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5728shell\u4e2d\u8f93\u5165\u8fd9\u4e2a\u547d\u4ee4\u6765\u67e5\u770b&#xff1a;<\/p>\n<p>nvidia-smi<\/p>\n<p>\u7ed3\u679c\u5c31\u50cf\u8fd9\u4e2a\u6837\u5b50&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113632-680a22403ee9d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fd9\u91cc\u7684Driver Version\u5c31\u662f\u9a71\u52a8\u7248\u672c&#xff0c;CUDA Version\u5c31\u662f\u5bf9\u5e94\u7684cuda\u7248\u672c\u3002\u6211\u4eec\u4e0b\u8f7d\u7684torch\u7684cuda\u7248\u672c\u53ef\u4ee5\u4f4e\u4e8e\u5bf9\u5e94\u7684cuda\u7248\u672c&#xff0c;\u6240\u4ee5\u6211\u4eec\u4e00\u822c\u4f1a\u5728\u670d\u52a1\u5668\u4e0a\u88c5\u8f83\u9ad8\u7248\u672c\u7684NVIDIA\u9a71\u52a8&#xff0c;\u8fd9\u6837\u5bf9\u5e94\u7684cuda\u7248\u672c\u4e5f\u6bd4\u8f83\u9ad8&#xff0c;\u517c\u5bb9\u6027\u5c31\u6bd4\u8f83\u9ad8\u3002 torch\u5b98\u7f51\u4e2d\u4e0b\u8f7dtorch&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113632-680a22406eaf7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5f53\u7136\u8bf4\u5982\u679c\u8fd9\u91cc\u6ca1\u6709\u5bf9\u5e94\u7684\u7248\u672c&#xff0c;\u90a3\u4e48\u53ef\u4ee5\u5230 Previous Pytorch Versions \u4e2d\u4e0b\u8f7dtorch\u3002<\/p>\n<p><img decoding=\"async\" src=\"2025-04-240npe3hteg5y.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u627e\u5230\u81ea\u5df1\u60f3\u8981\u7684\u7248\u672c\u7684torch\u7684\u65f6\u5019&#xff0c;\u5728shell\u4e2d\u8f93\u5165\u547d\u4ee4\u5c31\u53ef\u4ee5\u5566\u3002\u672c\u6765\u6211\u7684\u9879\u76ee\u6240\u9700\u8981\u7684torch\u7248\u672c\u662f1.4.0&#xff0c;torchvision\u7684\u7248\u672c\u662f0.5.0\u7684&#xff0c;\u4f46\u662f\u8fd9\u4e24\u4e2a\u7248\u672c\u90fd\u592a\u8001\u4e86&#xff0c;\u5e76\u4e14\u6211\u4e00\u76f4\u4e0b\u8f7d\u4e0d\u4e86&#xff0c;\u4e00\u76f4\u4f1a\u62a5\u9519\u3002\u56e0\u6b64\u6211\u54a8\u8be2\u4e86\u4e00\u4e0b\u6211\u7684\u540c\u95e8\u548c\u5e08\u5144&#xff0c;\u5f97\u51fa\u7684\u7ed3\u8bba\u597d\u50cf\u662f&#xff1a;\u5b9e\u9a8c\u5ba4\u670d\u52a1\u5668\u7684cuda\u7248\u672c\u662f11.7\u7684&#xff0c;\u53ea\u80fd\u4e0b\u8f7d1.10.0\u4ee5\u4e0a\u7248\u672c\u7684torch&#xff0c;\u5e76\u4e14\u9ad8\u7248\u672c\u7684torch\u662f\u53ef\u4ee5\u517c\u5bb9\u4f4e\u7248\u672c\u7684torch\u7684\u3002\u6240\u4ee5\u6211\u5c31\u4e0b\u8f7d\u4e861.13.1\u7248\u672c\u7684torch&#xff0c;\u5bf9\u5e94\u7684\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>conda install pytorch&#061;&#061;1<span class=\"token punctuation\">.<\/span>13<span class=\"token punctuation\">.<\/span>1 torchvision&#061;&#061;0<span class=\"token punctuation\">.<\/span>14<span class=\"token punctuation\">.<\/span>1 torchaudio&#061;&#061;0<span class=\"token punctuation\">.<\/span>13<span class=\"token punctuation\">.<\/span>1 pytorch-cuda&#061;11<span class=\"token punctuation\">.<\/span>7 <span class=\"token operator\">&#8211;<\/span>c pytorch <span class=\"token operator\">&#8211;<\/span>c nvidia<\/p>\n<p>\u679c\u7136&#xff0c;\u9ad8\u7248\u672c\u7684torch\u5c31\u4e0b\u8f7d\u597d\u4e86&#xff0c;\u54c8\u54c8\u3002\u53cd\u6b63\u8981\u662f\u7248\u672c\u4e0d\u517c\u5bb9\u7684\u8bdd&#xff0c;\u540e\u671f\u518d\u6539\u5427&#xff0c;\u54c8\u54c8~<\/p>\n<p><img decoding=\"async\" src=\"2025-04-24gnczcdbq1b3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"400\" \/><\/p>\n<p>\u63a5\u7740\u5c31\u662f\u4e0b\u8f7d\u9879\u76ee\u6240\u9700\u8981\u7684\u5176\u4ed6\u7684\u5305\u5c31\u597d\u4e86&#xff0c;\u5efa\u8bae\u90fd\u4f7f\u7528conda\u547d\u4ee4\u6765\u4e0b\u8f7d&#xff0c;\u4e0d\u8981conda\u548cpip\u6df7\u5408\u4f7f\u7528&#xff0c;\u8fd9\u6837\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5305\u4e4b\u95f4\u4e0d\u517c\u5bb9\u3002\u8fd9\u6837\u73af\u5883\u5c31\u5b8c\u6210\u5566~<\/p>\n<p>PS&#xff1a;\u5982\u679c\u6709\u7684\u5305\u603b\u662f\u4e0b\u8f7d\u5931\u8d25\u7684\u8bdd&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u5230anaconda\u5b98\u7f51\u53bb\u5bfb\u627e\u76f8\u5e94\u7684\u8d44\u6e90&#xff0c;\u5177\u4f53\u53ef\u4ee5\u53c2\u8003\u8fd9\u7bc7\u535a\u5ba2&#xff1a;https:\/\/blog.csdn.net\/weixin_45552562\/article\/details\/109668589<\/p>\n<p>Anaconda\u5b98\u7f51&#xff1a;https:\/\/anaconda.org\/<\/p>\n<p>&#xff08;4&#xff09;\u6253\u5305\u521b\u5efa\u597d\u7684\u73af\u5883 \u9996\u5148\u5b89\u88c5\u6253\u5305\u5de5\u5177conda-pack&#xff1a;<\/p>\n<p>conda install <span class=\"token operator\">&#8211;<\/span>c conda-forge conda-pack<\/p>\n<p>\u4e4b\u540e\u8fdb\u5165\u5230\u865a\u62df\u73af\u5883&#xff0c;\u8fd9\u91cc\u6211\u9700\u8981\u8fdb\u5165\u7684\u865a\u62df\u73af\u5883\u5c31\u662fTransUNet&#xff1a;<\/p>\n<p>conda activate TransUNet<\/p>\n<p>\u7136\u540e\u8fdb\u5165\u5230\u865a\u62df\u73af\u5883\u6240\u5728\u7684\u76ee\u5f55&#xff1a;<\/p>\n<p>cd <span class=\"token operator\">\/<\/span><span class=\"token keyword\">data<\/span><span class=\"token operator\">\/<\/span>ubuntu\/user\/kzy\/envs\/<\/p>\n<p>\u6700\u540e\u6267\u884c\u6253\u5305\u547d\u4ee4\u5c31\u53ef\u4ee5\u4e86&#xff1a;<\/p>\n<p>conda pack <span class=\"token operator\">&#8211;<\/span>n TransUNet <span class=\"token operator\">&#8211;<\/span>o TransUNet<span class=\"token punctuation\">.<\/span>tar<span class=\"token punctuation\">.<\/span>gz<\/p>\n<p>\u8fd9\u6837\u5c31\u4f1a\u5728TransUNet\u865a\u62df\u73af\u5883\u6240\u5728\u7684\u540c\u4e00\u76ee\u5f55\u4e0b\u5f97\u5230\u865a\u62df\u73af\u5883\u7684\u538b\u7f29\u5305\u2014\u2014TransUNet.tar.gz \u4e4b\u540e\u70b9\u51fb\u4e0b\u8f7d&#xff0c;\u4e0b\u8f7d\u5230\u672c\u5730\u5c31\u597d\u3002\u6b64\u65f6\u5b9e\u9a8c\u5ba4\u670d\u52a1\u5668\u7684\u5de5\u4f5c\u5c31\u5b8c\u6210\u4e86&#xff0c;\u8be5\u628a\u76ee\u5149\u8f6c\u5230\u90a3\u4e2a\u8fde\u7f51\u7edc\u90fd\u6ca1\u6709\u7684\u6d6a\u6f6e\u670d\u52a1\u5668\u4e86\u3002<\/p>\n<h4>&#xff08;5&#xff09;\u5728\u6d6a\u6f6e\u4e0a\u914d\u7f6e\u865a\u62df\u73af\u5883<\/h4>\n<p>&#xff08;1&#xff09;\u5c06\u865a\u62df\u73af\u5883\u538b\u7f29\u5305\u4e0a\u4f20<\/p>\n<p>\u5728\u7b2c&#xff08;3&#xff09;\u6b65\u4e2d\u6211\u4eec\u5df2\u7ecf\u5728\u6d6a\u6f6e\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u597d\u4e86anaconda&#xff0c;\u5e76\u4e14\u8fdb\u5165\u5230\u4e86base\u73af\u5883\u3002\u63a5\u7740\u6211\u4eec\u5c31\u9700\u8981\u5c06\u672c\u5730\u7684TransUNet.tar.gz&#xff08;\u865a\u62df\u73af\u5883\u538b\u7f29\u5305&#xff09;\u518d\u6b21\u901a\u8fc7SFTP\u5de5\u5177\u4e0a\u4f20\u5230\u6d6a\u6f6e\u3002<\/p>\n<p>\u56e0\u4e3a\u6211\u4eec\u7684anaconda\u5728\u6d6a\u6f6e\u4e0a\u7684\u76ee\u5f55\u662f\/root\/anaconda3&#xff0c;\u6240\u4ee5\u672c\u5e94\u8be5\u5c06TransUNet.tar.gz\u4e0a\u4f20\u5230\/root\/anaconda3\/envs\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684&#xff0c;\u4f46\u662f\u6211\u5728SFTP\u5de5\u5177\u4e0a\u8c8c\u4f3c\u6ca1\u6709\u627e\u5230\u8fd9\u4e2a\u76ee\u5f55&#xff0c;\u4f46\u662f\u8fd9\u4e2a\u76ee\u5f55\u786e\u5b9e\u53c8\u5b58\u5728&#xff0c;\u771f\u662f\u79bb\u8c31&#xff0c;\u7b11\u62c9\u4e86\u54c8\u54c8~ \u6240\u4ee5\u6211\u53ea\u80fd\u5148\u5c06TransUNet.tar.gz\u4e0a\u4f20\u5230\u7528\u6237\u76ee\u5f55\u4e0b&#xff08;\u5c31\u662f\u548c\u4ee3\u7801&amp;\u6570\u636e\u96c6\u540c\u4e00\u76ee\u5f55&#xff09;\u3002<\/p>\n<p>\u4e0a\u4f20\u540e\u6211\u53c8\u901a\u8fc7\u8fd9\u4e2a\u547d\u4ee4\u5c06\u7528\u6237\u76ee\u5f55\u4e0b\u7684TransUNet.tar.gz\u8f6c\u79fb\u5230\/root\/anaconda3\/envs\u4e0b&#xff1a;<\/p>\n<p><span class=\"token function\">mv<\/span> \u8def\u5f841 \u8def\u5f842 <span class=\"token comment\">#\u5c06\u8def\u5f841\u7684\u5185\u5bb9\u8f6c\u79fb\u5230\u8def\u5f842<\/span><\/p>\n<p>\u8fd9\u91cc\u6211\u7684\u5c31\u662f\u8fd9\u6837&#xff1a;<\/p>\n<p><span class=\"token function\">mv<\/span> <span class=\"token operator\">*<\/span><span class=\"token operator\">\/<\/span>TransUNet<span class=\"token punctuation\">.<\/span>tar<span class=\"token punctuation\">.<\/span>gz <span class=\"token operator\">\/<\/span>root\/anaconda3\/envs\/TransUNet<span class=\"token punctuation\">.<\/span>tar<span class=\"token punctuation\">.<\/span>gz <\/p>\n<p>\u8fd9\u91cc\u7684*\u8868\u793a\u5927\u5bb6\u81ea\u5df1\u7684\u76ee\u5f55&#xff0c;\u5404\u4f4d\u5bb6\u4eba\u6839\u636e\u81ea\u5df1\u7684\u60c5\u51b5\u5199\u54c8~<\/p>\n<p>\u4e4b\u540e\u53ef\u4ee5\u8fdb\u5165\u5230\/root\/anaconda3\/envs\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u67e5\u770b\u662f\u5426\u8f6c\u79fb\u6210\u529f&#xff1a;<\/p>\n<p>cd <span class=\"token operator\">\/<\/span>root\/anaconda3\/envs <span class=\"token comment\">#\u8fdb\u5165\u73af\u5883\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">ls<\/span> <span class=\"token comment\">#\u67e5\u770b\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6<\/span><\/p>\n<p>\u5982\u679c\u663e\u793aTransUNet.tar.gz\u7684\u8bdd&#xff0c;\u5c31\u8868\u793a\u8f6c\u79fb\u6210\u529f\u5566&#xff01;<\/p>\n<p>&#xff08;2&#xff09;\u521b\u5efa\u4e00\u4e2a\u73af\u5883\u76ee\u5f55 \u5728\/root\/anaconda3\/envs\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55\u7528\u4e8e\u5b58\u653e\u89e3\u538b\u540e\u7684\u865a\u62df\u73af\u5883&#xff0c;\u56e0\u4e3a\u6211\u7684\u865a\u62df\u73af\u5883\u53eb\u505aTransUNet.tar.gz&#xff0c;\u56e0\u6b64\u6211\u521b\u5efa\u4e86\u4e00\u4e2a\u73af\u5883\u76ee\u5f55\u540d\u79f0\u4e5f\u4e3aTransUNet<\/p>\n<p>cd <span class=\"token operator\">\/<\/span>root\/anaconda3\/envs <span class=\"token comment\">#\u5148\u8fdb\u5165\u73af\u5883\u76ee\u5f55<\/span><br \/>\nmkdir TransUNet <span class=\"token comment\">#\u521b\u5efa\u76ee\u5f55<\/span><\/p>\n<p>&#xff08;3&#xff09;\u89e3\u538b\u865a\u62df\u73af\u5883\u538b\u7f29\u5305<\/p>\n<p>tar <span class=\"token operator\">&#8211;<\/span>zxvf TransUNet<span class=\"token punctuation\">.<\/span>tar<span class=\"token punctuation\">.<\/span>gz <span class=\"token operator\">&#8211;<\/span>C TransUNet\/ <span class=\"token comment\">#\u5c06\u538b\u7f29\u5305\u89e3\u538b\u5230\u521a\u521a\u521b\u5efa\u7684\u76ee\u5f55\u4e0b<\/span><\/p>\n<p>\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u540e&#xff0c;\u67e5\u770b\u865a\u62df\u73af\u5883&#xff0c;\u5982\u679c\u51fa\u73b0\u4e86TransUNet&#xff0c;\u90a3\u4e48\u5c31\u6210\u529f\u5566&#xff01;<\/p>\n<p>conda env list<\/p>\n<p>\u6210\u529f&#xff01;&#xff01;&#xff01;<\/p>\n<p><img decoding=\"async\" src=\"2025-04-24uz4mhk1okfh.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>&#xff08;6&#xff09;\u8fd0\u884c\u4ee3\u7801<\/h4>\n<p>\u8fdb\u5165\u865a\u62df\u73af\u5883\u540e&#xff0c;\u8fdb\u5165\u4ee3\u7801\u76ee\u5f55&#xff0c;\u8fd0\u884c\u4ee3\u7801\u5c31\u53ef\u4ee5\u4e86~<\/p>\n<p>conda activate TransUNet <span class=\"token comment\">#\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/span><br \/>\ncd \u76ee\u5f55 <span class=\"token comment\">#\u8fdb\u5165\u4ee3\u7801\u76ee\u5f55<\/span><br \/>\npython ~<span class=\"token punctuation\">.<\/span>py <span class=\"token comment\">#\u8fd0\u884c\u4ee3\u7801<\/span><\/p>\n<p>\u3010\u6ce8\u610f\u3011\u56e0\u4e3a\u6d6a\u6f6e\u670d\u52a1\u5668\u7684\u7f51\u7edc\u95ee\u9898&#xff0c;\u5bfc\u81f4\u7ec8\u7aef\u5f88\u4e0d\u7a33\u5b9a&#xff0c;\u5efa\u8bae\u4f7f\u7528nohup\u547d\u4ee4&#xff0c;\u8ba9\u7a0b\u5e8f\u540e\u53f0\u8fd0\u884c&#xff0c;\u8ba9\u7ed3\u679c\u4fdd\u5b58\u5728\u65e5\u5fd7\u4e2d&#xff1a;<\/p>\n<p>nohup python ~<span class=\"token punctuation\">.<\/span>py &gt; result<span class=\"token punctuation\">.<\/span>log&amp;<\/p>\n<p>\u81f3\u6b64\u5927\u529f\u544a\u6210&#xff0c;\u611f\u8c22\u5bb6\u4eba\u4eec\u770b\u5230\u8fd9\u91cc&#xff0c;\u4e0d\u59a8\u70b9\u4e2a\u8d5e&#xff0c;\u5173\u6ce8\u4e00\u6ce2\u567b~<\/p>\n<p><img decoding=\"async\" src=\"2025-04-24nw0t0kzjdir.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"400\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation\uff0c\u4e0a\u4f20\u6570\u636e\u96c6\u3001\u4ee3\u7801\uff0c\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u5b89\u88c5anaconda\uff0c\u5e76\u914d\u7f6e\u865a\u62df\u73af\u5883\uff0c\u8fd0\u884c\u4ee3\u7801\u3002\u5efa\u8bae\u4f7f\u7528nohup\u547d\u4ee4\u89e3\u51b3\u7f51\u7edc\u95ee\u9898\u3002<\/p>\n","protected":false},"author":2,"featured_media":32513,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,86,44],"topic":[],"class_list":["post-32533","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-86","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation - \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\/32533.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation\uff0c\u4e0a\u4f20\u6570\u636e\u96c6\u3001\u4ee3\u7801\uff0c\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u5b89\u88c5anaconda\uff0c\u5e76\u914d\u7f6e\u865a\u62df\u73af\u5883\uff0c\u8fd0\u884c\u4ee3\u7801\u3002\u5efa\u8bae\u4f7f\u7528nohup\u547d\u4ee4\u89e3\u51b3\u7f51\u7edc\u95ee\u9898\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/32533.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-24T11:36:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113625-680a223925393.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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/32533.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/32533.html\",\"name\":\"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-24T11:36:33+00:00\",\"dateModified\":\"2025-04-24T11:36:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/32533.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/32533.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/32533.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation\"}]},{\"@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":"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation - \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\/32533.html","og_locale":"zh_CN","og_type":"article","og_title":"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation\uff0c\u4e0a\u4f20\u6570\u636e\u96c6\u3001\u4ee3\u7801\uff0c\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u5b89\u88c5anaconda\uff0c\u5e76\u914d\u7f6e\u865a\u62df\u73af\u5883\uff0c\u8fd0\u884c\u4ee3\u7801\u3002\u5efa\u8bae\u4f7f\u7528nohup\u547d\u4ee4\u89e3\u51b3\u7f51\u7edc\u95ee\u9898\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/32533.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-24T11:36:33+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424113625-680a223925393.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/32533.html","url":"https:\/\/www.wsisp.com\/helps\/32533.html","name":"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-24T11:36:33+00:00","dateModified":"2025-04-24T11:36:33+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/32533.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/32533.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/32533.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u90e8\u7f72\u6d6a\u6f6e\u670d\u52a1\u5668AiStation"}]},{"@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\/32533","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=32533"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/32533\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/32513"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=32533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=32533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=32533"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=32533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}