{"id":4809,"date":"2022-07-14T11:20:19","date_gmt":"2022-07-14T03:20:19","guid":{"rendered":"http:\/\/139.9.1.231\/?p=4809"},"modified":"2022-07-14T11:20:36","modified_gmt":"2022-07-14T03:20:36","slug":"espcn","status":"publish","type":"post","link":"http:\/\/139.9.1.231\/index.php\/2022\/07\/14\/espcn\/","title":{"rendered":"ESPCN \u56fe\u50cf\u8d85\u5206\u8fa8\u7387\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u8bba\u6587\u5730\u5740\uff1a https:\/\/arxiv.org\/abs\/1609.05158<\/p>\n\n\n\n<p>\u4ee3\u7801\uff1ahttps:\/\/github.com\/leftthomas\/ESPCN<\/p>\n\n\n\n<p>Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network<\/p>\n\n\n\n<p><strong>ESPCN<\/strong>\u00a0\u662f\u57282016\u5e74\u5728CVPR\u4e0a\u53d1\u8868\u7684\u4e00\u7247\u8bba\u6587\uff0c\u4e2d\u63d0\u51fa\u7684\u4e00\u79cd\u5b9e\u65f6\u7684\u57fa\u4e8e\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\u7684\u56fe\u50cf\u8d85\u5206\u8fa8\u7387\u65b9\u6cd5\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"330\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-18-1024x330.png\" alt=\"\" class=\"wp-image-4811\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-18-1024x330.png 1024w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-18-300x97.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-18-768x248.png 768w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-18-1536x496.png 1536w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-18.png 1869w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>     \u8fd9\u7bc7\u8bba\u6587\u4e3b\u8981\u5c31\u662f\u63d0\u51fa\u4e86\u4e00\u79cd\u65b0\u7684<a href=\"https:\/\/blog.csdn.net\/sinat_36197913\/article\/details\/104823216#subpixel_convolutional_layer_4\">\u4e9a\u50cf\u7d20\u5377\u79ef\u5c42(sub-pixel convolutional layer)<\/a>\uff0c\u4ee5\u5f80\u7684\u65b9\u6cd5\uff0c\u4e3a\u4e86\u751f\u6210\u9ad8\u5206\u8fa8\u7387\u7684\u8f93\u51fa\uff0c\u4e00\u822c\u662f\u5148\u5bf9\u8f93\u5165\u8fdb\u884c\u4e0a\u91c7\u6837\u6269\u5927\u56fe\u50cf\u5206\u8fa8\u7387\uff0c\u5f97\u5230\u4e0e\u9ad8\u5206\u8fa8\u7387\u56fe\u50cf\u540c\u6837\u7684\u5927\u5c0f\uff0c\u518d\u4f5c\u4e3a\u7f51\u7edc\u8f93\u5165\uff0c\u610f\u5473\u7740\u5377\u79ef\u64cd\u4f5c\u5728\u8f83\u9ad8\u7684\u5206\u8fa8\u7387\u4e0a\u8fdb\u884c\uff0c\u76f8\u6bd4\u4e8e\u5728\u4f4e\u5206\u8fa8\u7387\u7684\u56fe\u50cf\u4e0a\u8ba1\u7b97\u5377\u79ef\uff0c\u4f1a\u964d\u4f4e\u6548\u7387\u3002 ESPCN(Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network\uff0cCVPR 2016)\u63d0\u51fa\u4e00\u79cd\u5728\u4f4e\u5206\u8fa8\u7387\u56fe\u50cf\u4e0a\u76f4\u63a5\u8ba1\u7b97\u5377\u79ef\u5f97\u5230\u9ad8\u5206\u8fa8\u7387\u56fe\u50cf\u7684\u9ad8\u6548\u7387\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>  \u5982\u679c\u60f3\u6700\u540e\u7684\u5206\u8fa8\u7387\u4ece n \u5230 rn\uff0cESPCN\u4f1a\u751f\u6210r*r\u4e2a\u901a\u9053\uff0c\u518d\u8fdb\u884csub-pixel convolutional\uff0c\u751f\u6210\u9ad8\u5206\u8fa8\u7387\u7684\u56fe\u7247\u3002\u5047\u8bbe\u662f9\u901a\u9053 \u6df7\u5408\uff0c\u8fd9\u91cc\u7684\u901a\u9053\u6df7\u5408\u662f\u5c06\u6bcf\u4e2a\u901a\u9053\u5bf9\u5e94\u4f4d\u7f6e\u7684\u5143\u7d20\u91cd\u65b0\u6392\u5217\u62103*3\u7684\u56fe\u50cf\u3002\u8fd9\u4e2a\u53d8\u6362\u867d\u7136\u88ab\u79f0\u4f5csub-pixel convolution, \u4f46\u5b9e\u9645\u4e0a\u5e76\u6ca1\u6709\u5377\u79ef\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>\u901a\u8fc7\u4f7f\u7528sub-pixel convolution, \u56fe\u50cf\u4ece\u4f4e\u5206\u8fa8\u7387\u5230\u9ad8\u5206\u8fa8\u7387\u653e\u5927\u7684\u8fc7\u7a0b\uff0c<a href=\"https:\/\/so.csdn.net\/so\/search?q=%E6%8F%92%E5%80%BC&amp;spm=1001.2101.3001.7020\" target=\"_blank\" rel=\"noreferrer noopener\">\u63d2\u503c<\/a>\u51fd\u6570\u88ab\u9690\u542b\u5730\u5305\u542b\u5728\u524d\u9762\u7684\u5377\u79ef\u5c42\u4e2d\uff0c\u53ef\u4ee5\u81ea\u52a8\u5b66\u4e60\u5230\u3002\u53ea\u5728\u6700\u540e\u4e00\u5c42\u5bf9\u56fe\u50cf\u5927\u5c0f\u505a\u53d8\u6362\uff0c\u524d\u9762\u7684\u5377\u79ef\u8fd0\u7b97\u7531\u4e8e\u5728\u4f4e\u5206\u8fa8\u7387\u56fe\u50cf\u4e0a\u8fdb\u884c\uff0c\u56e0\u6b64\u6548\u7387\u4f1a\u8f83\u9ad8\u3002<\/p>\n\n\n\n<p>ESPCN\u6fc0\u6d3b\u51fd\u6570\u91c7\u7528tanh\u66ff\u4ee3\u4e86ReLU\u3002\u635f\u5931\u51fd\u6570\u4e3a\u5747\u65b9\u8bef\u5dee\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"248\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-19-1024x248.png\" alt=\"\" class=\"wp-image-4816\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-19-1024x248.png 1024w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-19-300x73.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-19-768x186.png 768w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-19-1536x372.png 1536w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/07\/image-19.png 1804w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>pytorch\u4e2d\u5df2\u7ecf\u96c6\u6210\u4e86 sub-pixel convolution \uff1a<\/p>\n\n\n\n<p>nn.PixelShuffle(upscale_factor)<\/p>\n\n\n\n<p>\u4ee5\u56db\u7ef4\u8f93\u5165(N,C,H,W)\u4e3a\u4f8b\uff0cPixelshuffle\u4f1a\u5c06\u4e3a(\u2217,r 2 C r^2C<em>r<\/em>2<em>C<\/em>,H,W)\u7684Tensor\u7ed9reshape\u6210(\u2217,C,rH,rW)\u7684Tensor<\/p>\n\n\n\n<p>Upsample\uff1a<\/p>\n\n\n\n<p>\u5bf9\u7ed9\u5b9a\u591a\u901a\u9053\u76841\u7ef4\uff08temporal\uff09\u30012\u7ef4\uff08spatial\uff09\u30013\u7ef4\uff08volumetric\uff09\u6570\u636e\u8fdb\u884c\u4e0a\u91c7\u6837\u3002<\/p>\n\n\n\n<p>\u5bf9volumetric\u8f93\u5165\uff083\u7ef4\u2014\u2014\u70b9\u4e91\u6570\u636e\uff09\uff0c\u8f93\u5165\u6570\u636eTensor\u683c\u5f0f\u4e3a5\u7ef4\uff1a<strong>minibatch x channels x depth x height x width<\/strong><br>\u5bf9spatial\u8f93\u5165\uff082\u7ef4\u2014\u2014jpg\u3001png\u7b49\u6570\u636e\uff09\uff0c\u8f93\u5165\u6570\u636eTensor\u683c\u5f0f\u4e3a4\u7ef4\uff1a<strong>minibatch x channels x height x width<\/strong><br>\u5bf9temporal\u8f93\u5165\uff081\u7ef4\u2014\u2014\u5411\u91cf\u6570\u636e\uff09\uff0c\u8f93\u5165\u6570\u636eTensor\u683c\u5f0f\u4e3a3\u7ef4\uff1a<strong>minibatch x channels x width<\/strong><\/p>\n\n\n\n<p>\u6b64\u7b97\u6cd5\u652f\u6301\u6700\u8fd1\u90bb\uff0c\u7ebf\u6027\u63d2\u503c\uff0c\u53cc\u7ebf\u6027\u63d2\u503c\uff0c\u4e09\u6b21\u7ebf\u6027\u63d2\u503c\u5bf93\u7ef4\u30014\u7ef4\u30015\u7ef4\u7684\u8f93\u5165Tensor\u5206\u522b\u8fdb\u884c<strong>\u4e0a\u91c7\u6837<\/strong>\uff08Upsample\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bba\u6587\u5730\u5740\uff1a https:\/\/arxiv.org\/abs\/1609.05158 \u4ee3\u7801\uff1ahttps:\/\/githu &hellip; <a href=\"http:\/\/139.9.1.231\/index.php\/2022\/07\/14\/espcn\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">ESPCN \u56fe\u50cf\u8d85\u5206\u8fa8\u7387\u65b9\u6cd5<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/4809"}],"collection":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/comments?post=4809"}],"version-history":[{"count":7,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/4809\/revisions"}],"predecessor-version":[{"id":4818,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/4809\/revisions\/4818"}],"wp:attachment":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/media?parent=4809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/categories?post=4809"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/tags?post=4809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}