{"id":362,"date":"2020-08-07T18:15:47","date_gmt":"2020-08-07T18:15:47","guid":{"rendered":"http:\/\/nikolapacekvetnic.rs\/?p=362"},"modified":"2020-08-07T18:15:49","modified_gmt":"2020-08-07T18:15:49","slug":"convolution-neural-network-image-classifier","status":"publish","type":"post","link":"http:\/\/nikolapacekvetnic.rs\/?p=362","title":{"rendered":"Convolution Neural Network Image Classifier"},"content":{"rendered":"\n<p>Following the initial image classifier built using the feed-forward architecture the convolution neural netw<em>orks are the next step on the quest of surpassing human-level accuracy. In essence, the nodes making up the layers of CNNs are not fully connected with nodes adjacent to them, but are rather divided into distinct sets covered by the filter, or the convolution kernel (hence the name).<\/em><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"168\" src=\"http:\/\/nikolapacekvetnic.rs\/wp-content\/uploads\/2020\/08\/main-qimg-fd9f8d4c4a8c1a857c0523c6d32d9c4d.jpg\" alt=\"PyTorch_Article\" class=\"wp-image-363\" srcset=\"http:\/\/nikolapacekvetnic.rs\/wp-content\/uploads\/2020\/08\/main-qimg-fd9f8d4c4a8c1a857c0523c6d32d9c4d.jpg 600w, http:\/\/nikolapacekvetnic.rs\/wp-content\/uploads\/2020\/08\/main-qimg-fd9f8d4c4a8c1a857c0523c6d32d9c4d-300x84.jpg 300w, http:\/\/nikolapacekvetnic.rs\/wp-content\/uploads\/2020\/08\/main-qimg-fd9f8d4c4a8c1a857c0523c6d32d9c4d-210x59.jpg 210w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure><\/div>\n\n\n\n<p>Such an approach allows the network to \u201ccompress\u201d tensors and thus extract and (hopefully) learn important details about the images it is trying to classify. In result the network is both more accurate and also faster to train from the get-go. Also, it\u2019s important to mention that the CNN in this case is actually AlexNet, historically important first network that attempted to classify images as described.<\/p>\n\n\n\n<p>In case you&#8217;re interested in an entry level PyTorch deep learning textbook I wholeheartedly recommend the following book by Ian Pointer: <a href=\"https:\/\/tinyurl.com\/y269xn26\">https:\/\/tinyurl.com\/y269xn26<\/a><\/p>\n\n\n\n<p>Jupyter notebook of the model may be found on GitHub: <a href=\"https:\/\/tinyurl.com\/y467epf9\">https:\/\/tinyurl.com\/y467epf9<\/a><\/p>\n\n\n\n<p>Also, the same notebook is available on Google Colab (where it can be tested it against the GPU available there): <a href=\"https:\/\/tinyurl.com\/y3faorp8\">https:\/\/tinyurl.com\/y3faorp8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following the initial image classifier built using the feed-forward architecture the convolution neural networks are the next step on the quest of surpassing human-level accuracy. In essence, the nodes making up the layers of CNNs are not fully connected with nodes adjacent to them, but are rather divided into distinct sets covered by the filter, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":348,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,56],"tags":[69,67,70,68,57,66,63,65,58,59,64],"class_list":["post-362","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-deep-learning","tag-cnn","tag-colaboratory","tag-convolution","tag-convolution-neural-network","tag-deep-learning","tag-google-colab","tag-image-classifier","tag-jupyter","tag-neural-networks","tag-nn","tag-pytorch"],"_links":{"self":[{"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/posts\/362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=362"}],"version-history":[{"count":1,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/posts\/362\/revisions"}],"predecessor-version":[{"id":364,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/posts\/362\/revisions\/364"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/media\/348"}],"wp:attachment":[{"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}