{"id":33245,"date":"2024-01-03T10:10:23","date_gmt":"2024-01-03T02:10:23","guid":{"rendered":"https:\/\/www.deepin.org\/?p=33245"},"modified":"2024-01-03T10:13:03","modified_gmt":"2024-01-03T02:13:03","slug":"33245-2","status":"publish","type":"post","link":"https:\/\/www.deepin.org.cn\/zh\/33245-2\/","title":{"rendered":"AI \u6765\u88ad\uff0cdeepin\u6df1\u5ea6\u770b\u56fe\u8ba9\u4f60\u7684\u7167\u7247\u7115\u7136\u4e00\u65b0\uff01"},"content":{"rendered":"<img loading=\"lazy\" src=\"https:\/\/storage.deepin.org\/thread\/202401030154325356_AI\u770b\u56fe.png\" alt=\"\" width=\"900\" height=\"383\" \/><\/p>\n<p>\u968f\u7740 AI \u6280\u672f\u3001\u5c24\u5176\u662f\u751f\u6210\u5f0f\u5927\u6a21\u578b\u7684\u98de\u901f\u53d1\u5c55\uff0cAI \u5df2\u7ecf\u6e17\u900f\u5230\u5404\u4e2a\u9886\u57df\uff0c\u4e5f\u5305\u62ec PC \u548c\u64cd\u4f5c\u7cfb\u7edf\u3002<strong>deepin\uff08\u6df1\u5ea6\uff09\u64cd\u4f5c\u7cfb\u7edf\u6b63\u5728\u52aa\u529b\u4e0e AI \u6df1\u5ea6\u878d\u5408\uff0c\u8ba9\u7528\u6237\u4eab\u53d7\u66f4\u667a\u80fd\u3001\u66f4\u9ad8\u6548\u7684\u4f7f\u7528\u4f53\u9a8c\u3002<\/strong><\/p>\n<p>\u4e4b\u524d\uff0cdeepin \u9009\u53d6\u4e86\u7528\u6237\u5e38\u7528\u7684\u667a\u80fd\u5168\u5c40\u641c\u7d22\u3001\u90ae\u4ef6\u3001\u6d4f\u89c8\u5668\u4e09\u5927\u5e94\u7528\uff0c\u7387\u5148\u5f00\u542f AI \u80fd\u529b\u3002\u6700\u8fd1\uff0c\u6df1\u5ea6\u770b\u56fe\u6084\u7136\u66f4\u65b0\u4e86 <strong>AI \u4fee\u56fe<\/strong>\u529f\u80fd\uff0c\u8ba9\u6211\u4eec\u4ece\u5b89\u88c5\u5230\u5b9e\u64cd\uff0c\u518d\u5230\u80cc\u540e\u7684\u6280\u672f\u5b9e\u73b0\uff0c\u8fd1\u8ddd\u79bb\u770b\u770b\u53d1\u751f\u4e86\u54ea\u4e9b\u53d8\u5316\uff01<\/p>\n<h1 style=\"text-align: center;\"><strong>\u4fbf\u6377\u5b89\u88c5<\/strong><\/h1>\n<p>deepin V20.9 \u66f4\u65b0\u7cfb\u7edf\u540e\uff0c\u53ef\u5728\u5e94\u7528\u5546\u5e97\u4e00\u952e\u5b89\u88c5\u201c\u770b\u56fe AI \u63d2\u4ef6\u201d\uff1a<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030159145026_1.png\" alt=\"\" width=\"1080\" height=\"684\" \/><\/p>\n<p>\u5f53\u7136\uff0c\u4e5f\u53ef\u901a\u8fc7\u547d\u4ee4\u76f4\u63a5\u5b89\u88c5\uff1a<\/p>\n<p><em><strong>sudo apt install imageenhance<\/strong><\/em><\/p>\n<h1 style=\"text-align: center;\"><strong>\u4e30\u5bcc\u7684\u672c\u5730\u5316\u56fe\u50cf AI \u529f\u80fd<\/strong><\/h1>\n<p>\u5728\u6700\u65b0\u4e0a\u67b6\u7684\u770b\u56fe AI \u63d2\u4ef6\u4e2d\uff0c\u4e00\u53e3\u6c14\u589e\u52a0\u4e86 8 \u4e2a AI \u4fee\u56fe\u529f\u80fd\uff0c\u4e0d\u4f9d\u8d56\u4e8e\u4e92\u8054\u7f51\u5728\u7ebf\u6a21\u578b\uff0c\u4e5f\u4e0d\u53d7\u5236\u4e8e\u7b97\u529b\u7684\u786c\u4ef6\u7ea6\u675f\uff0c\u5728 PC \u5355\u673a\u4e0a\u53ef\u8f7b\u677e\u8fd0\u884c\u3002<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/20240103015852631_2.png\" alt=\"\" width=\"935\" height=\"743\" \/><\/p>\n<p>\u56fe\u50cf\u4e0a\u8272\uff1a\u4e3a\u9ed1\u767d\u56fe\u50cf\u6216\u5355\u8272\u56fe\u50cf\u81ea\u52a8\u6dfb\u52a0\u989c\u8272\uff1b<\/p>\n<p>\u63d0\u5347\u5206\u8fa8\u7387\uff1a\u589e\u52a0\u56fe\u50cf\u7684\u50cf\u7d20\u5bc6\u5ea6\uff0c\u4f7f\u56fe\u50cf\u7ec6\u8282\u66f4\u52a0\u6e05\u6670\u548c\u5177\u8c61\u5316\uff1b<br \/>\n\u6a21\u7cca\u80cc\u666f\uff1a\u964d\u4f4e\u56fe\u50cf\u80cc\u666f\u7684\u6e05\u6670\u5ea6\uff0c\u4f7f\u4e3b\u4f53\u66f4\u52a0\u7a81\u51fa\uff1b<br \/>\n\u5220\u9664\u80cc\u666f\uff1a\u53bb\u9664\u56fe\u50cf\u80cc\u666f\uff0c\u4f7f\u4e3b\u4f53\u72ec\u7acb\u51fa\u6765\u6216\u66f4\u6362\u65b0\u7684\u80cc\u666f\uff1b<br \/>\n\u624b\u7ed8\u6f2b\u753b\uff1a\u5c06\u771f\u5b9e\u56fe\u50cf\u8f6c\u5316\u4e3a\u624b\u7ed8\u6f2b\u753b\u98ce\u683c\uff1b<br \/>\n2D \u6f2b\u753b\uff1a\u5c06\u771f\u5b9e\u56fe\u50cf\u8f6c\u5316\u4e3a 2D \u6f2b\u753b\u98ce\u683c\uff1b<br \/>\n3D \u6f2b\u753b\uff1a\u5c06\u771f\u5b9e\u56fe\u50cf\u8f6c\u5316\u4e3a 3D \u6f2b\u753b\u98ce\u683c\uff1b<br \/>\n\u7d20\u63cf\uff1a\u5c06\u771f\u5b9e\u56fe\u50cf\u8f6c\u5316\u4e3a\u7d20\u63cf\u98ce\u683c\u3002<br \/>\n\u8ba9\u6211\u4eec\u770b\u770b\u5b9e\u64cd\u6548\u679c\uff1a<\/p>\n<h2><strong>\u56fe\u7247\u4e0a\u8272<\/strong><\/h2>\n<p><img class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030159001485_3.png\" alt=\"\" \/><\/p>\n<h2><strong>\u63d0\u5347\u5206\u8fa8\u7387<\/strong><\/h2>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030201006413_4.png\" alt=\"\" width=\"1080\" height=\"418\" \/><\/p>\n<h2><strong>\u6a21\u7cca\u80cc\u666f<\/strong><\/h2>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030201083090_5.jpg\" alt=\"\" width=\"930\" height=\"553\" \/><\/p>\n<h2><strong>\u5220\u9664\u80cc\u666f<\/strong><\/h2>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030201235194_6.jpg\" alt=\"\" width=\"923\" height=\"560\" \/><\/p>\n<h2><strong>\u624b\u7ed8\u6f2b\u753b<\/strong><\/h2>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/20240103020201563_7.png\" alt=\"\" width=\"940\" height=\"318\" \/><\/p>\n<h2><strong>2D \u6f2b\u753b<\/strong><\/h2>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030202112433_8.png\" alt=\"\" width=\"936\" height=\"316\" \/><\/p>\n<h2><strong>3D \u6f2b\u753b<\/strong><\/h2>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030202214147_9.png\" alt=\"\" width=\"935\" height=\"313\" \/><\/p>\n<h2><strong>\u7d20\u63cf<\/strong><\/h2>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030202304078_10.png\" alt=\"\" width=\"930\" height=\"311\" \/><\/p>\n<h1 style=\"text-align: center;\"><strong>\u63a2\u79d8\u80cc\u540e\u7684\u6280\u672f\u5b9e\u73b0<\/strong><\/h1>\n<p>\u4e0e\u52a8\u8f84\u9700\u8981\u5f3a\u5927\u7b97\u529b\u548c\u786c\u4ef6\u8bbe\u5907\u7684\u5927\u6a21\u578b\u76f8\u6bd4\uff0c\u672c\u5730\u5316 AI \u6a21\u578b\u80cc\u540e\u7684\u6280\u672f\u6709\u54ea\u4e9b\u5462\uff1f<\/p>\n<p>\u98ce\u683c\u8f6c\u6362\uff1a\u91c7\u7528\u5168\u65b0\u57df\u6821\u51c6\u56fe\u50cf\u7ffb\u8bd1\u6a21\u578b <strong>DCT-Net<\/strong>\uff08Domain-Calibrated Translation\uff09\uff0c\u5229\u7528\u5c0f\u6837\u672c\u7684\u98ce\u683c\u6570\u636e\uff0c\u5373\u53ef\u5f97\u5230\u9ad8\u4fdd\u771f\u3001\u5f3a\u9c81\u68d2\u3001\u6613\u62d3\u5c55\u7684\u4eba\u50cf\u98ce\u683c\u8f6c\u6362\u6a21\u578b\uff0c\u5e76\u901a\u8fc7\u7aef\u5230\u7aef\u63a8\u7406\u5feb\u901f\u5f97\u5230\u98ce\u683c\u8f6c\u6362\u7ed3\u679c\uff1b<\/p>\n<p>\u56fe\u50cf\u5206\u8fa8\u7387\u63d0\u5347\uff1a\u5728 Real-ESRGAN \u63d0\u51fa\u4e86\u901a\u8fc7\u591a\u6b21\u964d\u8d28\u7684\u65b9\u5f0f\u6765\u6a21\u62df\u771f\u5b9e\u590d\u6742\u964d\u8d28\uff0c\u76f8\u6bd4\u8f83\u4e8e\u4e4b\u524d\u7684\u7b80\u5355\u4e0b\u91c7\u6837\uff0c\u80fd\u591f\u66f4\u597d\u5904\u7406\u771f\u5b9e\u7684\u4f4e\u5206\u8fa8\u7387\u573a\u666f\uff1b<\/p>\n<p>\u56fe\u7247\u4e0a\u8272\uff1a\u4f7f\u7528\u4e86\u6700\u65b0\u7684<strong> SOTA \u56fe\u50cf\u4e0a\u8272\u7b97\u6cd5<\/strong>\uff0c\u80fd\u591f\u5bf9\u8f93\u5165\u7684\u9ed1\u767d\u56fe\u50cf\u751f\u6210\u81ea\u7136\u751f\u52a8\u7684\u5f69\u8272\u7ed3\u679c\u3002<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202401030202384324_11.png\" alt=\"\" width=\"1080\" height=\"240\" \/><\/p>\n<h1 style=\"text-align: center;\"><strong>\u5f69\u86cb\uff1a\u5728deepin\u4e0a\u90e8\u7f72\u5176\u4ed6AI\u6846\u67b6<\/strong><\/h1>\n<p><strong>deepin\uff08\u6df1\u5ea6\uff09\u64cd\u4f5c\u7cfb\u7edf\u7684 AI \u80fd\u529b\u8fd9\u4e48\u5f3a\uff0c\u53ef\u4ee5\u652f\u6301\u5176\u4ed6\u4e3b\u6d41\u6846\u67b6\u90e8\u7f72\u4f7f\u7528\u5417\uff1f\u7b54\u6848\u662f\u80af\u5b9a\u7684\uff0c\u9996\u5148\u6765\u6311\u6218\u4e0b OpenVINO \u5427\u3002<\/strong><\/p>\n<p>OpenVINO \u662f\u82f1\u7279\u5c14\u63a8\u51fa\u7684\u4e00\u6b3e\u5168\u9762\u7684\u5de5\u5177\u5957\u4ef6\uff0c\u7528\u4e8e\u5feb\u901f\u90e8\u7f72\u89c6\u89c9\u5e94\u7528\u548c\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u652f\u6301\u8ba1\u7b97\u673a\u89c6\u89c9\u7684 CNN \u7f51\u7edc\u7ed3\u6784\u8d85\u8fc7 150 \u4f59\u79cd\uff0c\u662f\u4e00\u4e2a Pipeline \u5de5\u5177\u96c6\uff0c\u53ef\u4ee5\u5b8c\u6210\u7b97\u6cd5\u6a21\u578b\u90e8\u7f72\u6240\u9700\u8981\u7684\u5404\u79cd\u80fd\u529b\u3002<\/p>\n<h3>\u73af\u5883\u5b89\u88c5<\/h3>\n<p>\u524d\u7f6e\u6761\u4ef6\uff1aConda\u3001Git\u3002<\/p>\n<p>\u5b89\u88c5\u547d\u4ee4\uff1a<em><strong>pip install -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple -r requirement.txt<\/strong><\/em><\/p>\n<p>requirements.txt :<\/p>\n<p>openvino==2023.1<br \/>\nopenvino-dev==2023.1<br \/>\ngit+https:\/\/github.com\/huggingface\/optimum-intel.git<br \/>\nonnx==1.14.1<\/p>\n<h3><strong>\u6a21\u578b\u8f6c\u6362<\/strong><\/h3>\n<p>\u73af\u5883\u5b89\u88c5\u540e\uff0c\u5bf9\u4e8e PyTorch \u6a21\u578b\uff0c\u9700\u8981\u5c06\u5176\u8f6c\u5316\u4e3a ONNX \u6a21\u578b\uff0c\u7136\u540e\u7528\u547d\u4ee4\u5c06\u5176\u8f6c\u6362\u4e3a IR \u6a21\u578b\uff1a<\/p>\n<p><em><strong>mo --input_model model.onnx<\/strong><\/em><\/p>\n<p>\u6a21\u578b\u8f6c\u6362\u540e OpenVINO \u5373\u53ef\u6b63\u5e38\u8fd0\u884c\u76f8\u5173 demo \u8fdb\u884c\u56fe\u50cf\u8f6c\u6362\u3002<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u5145\u6ee1\u65e0\u9650\u53ef\u80fd\u7684 AI \u65f6\u4ee3\uff0c\u6df1\u5ea6\u770b\u56fe\u5728 AI \u7684\u52a0\u6301\u4e0b\uff0c\u53ef\u4ee5\u8ba9\u6bcf\u4e00\u5f20\u56fe\u50cf\u90fd\u6210\u4e3a\u6211\u4eec\u5fc3\u7075\u7684\u72ec\u7279\u8868\u8fbe\uff0c\u8ba9\u6bcf\u4e00\u6b21\u5206\u4eab\u90fd\u6210\u4e3a\u4e0e\u4e16\u754c\u7684\u7f8e\u597d\u5bf9\u8bdd\u3002\u8ba9\u6211\u4eec\u5171\u540c\u63a2\u7d22\u89c6\u89c9\u827a\u672f\u7684\u65e0\u9650\u53ef\u80fd\uff0c\u8ba9\u751f\u6d3b\u66f4\u52a0\u7f8e\u597d\uff01<\/p>\n<p style=\"text-align: right;\">\u5185\u5bb9\u6765\u6e90\uff1adeepin\u793e\u533a<\/p>\n<p style=\"text-align: right;\">\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904<\/p>","protected":false},"excerpt":{"rendered":"<p>\u968f\u7740 AI \u6280\u672f\u3001\u5c24\u5176\u662f\u751f\u6210\u5f0f\u5927\u6a21\u578b\u7684\u98de\u901f\u53d1\u5c55\uff0cAI \u5df2\u7ecf\u6e17\u900f\u5230\u5404\u4e2a\u9886\u57df\uff0c\u4e5f\u5305\u62ec PC \u548c\u64cd\u4f5c\u7cfb\u7edf\u3002deepin\uff08\u6df1\u5ea6\uff09\u64cd\u4f5c\u7cfb\u7edf\u6b63\u5728\u52aa\u529b\u4e0e AI \u6df1\u5ea6\u878d\u5408\uff0c\u8ba9\u7528\u6237\u4eab\u53d7\u66f4\u667a\u80fd\u3001\u66f4\u9ad8\u6548\u7684\u4f7f\u7528\u4f53\u9a8c\u3002 \u4e4b\u524d\uff0cdeepin \u9009\u53d6\u4e86\u7528\u6237\u5e38\u7528\u7684\u667a\u80fd\u5168\u5c40\u641c\u7d22\u3001\u90ae\u4ef6\u3001\u6d4f\u89c8\u5668\u4e09\u5927\u5e94\u7528\uff0c\u7387\u5148\u5f00\u542f AI \u80fd\u529b\u3002\u6700\u8fd1\uff0c\u6df1\u5ea6\u770b\u56fe\u6084\u7136\u66f4\u65b0\u4e86 AI \u4fee\u56fe\u529f\u80fd\uff0c\u8ba9\u6211\u4eec\u4ece\u5b89\u88c5\u5230\u5b9e\u64cd\uff0c\u518d\u5230\u80cc\u540e\u7684\u6280\u672f\u5b9e\u73b0\uff0c\u8fd1\u8ddd\u79bb\u770b\u770b\u53d1\u751f\u4e86\u54ea\u4e9b\u53d8\u5316\uff01 \u4fbf ...<a href=https:\/\/www.deepin.org.cn\/zh\/33245-2\/>\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":11164,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[155,93],"tags":[],"_links":{"self":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts\/33245"}],"collection":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/users\/11164"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/comments?post=33245"}],"version-history":[{"count":3,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts\/33245\/revisions"}],"predecessor-version":[{"id":33248,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/posts\/33245\/revisions\/33248"}],"wp:attachment":[{"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/media?parent=33245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/categories?post=33245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deepin.org.cn\/zh\/wp-json\/wp\/v2\/tags?post=33245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}