{"id":1951,"date":"2017-02-24T03:53:54","date_gmt":"2017-02-24T03:53:54","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=1951"},"modified":"2017-02-27T14:10:50","modified_gmt":"2017-02-27T14:10:50","slug":"installation-of-caffe-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/02\/24\/installation-of-caffe-on-ubuntu-14-04\/","title":{"rendered":"Installation of Caffe and PyCaffe On Ubuntu 14.04"},"content":{"rendered":"<p>Reference:<\/p>\n<p>Pre-requisites: Make sure you already installed CUDA 8, cuDNN v5.1, OpenCV 3.1, Python 3.4. Don&#8217;t forget to use python virtualenv.<\/p>\n<p>Installation:<\/p>\n<ol>\n<li>Use python virtual environment &#8216;opencv_caffe&#8217;\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~$ mkvirtualenv opencv_caffe\r\nUsing base prefix '\/usr'\r\nNew python executable in \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/python3\r\nAlso creating executable in \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/python\r\nInstalling setuptools, pip, wheel...done.\r\nvirtualenvwrapper.user_scripts creating \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/predeactivate\r\nvirtualenvwrapper.user_scripts creating \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/postdeactivate\r\nvirtualenvwrapper.user_scripts creating \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/preactivate\r\nvirtualenvwrapper.user_scripts creating \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/postactivate\r\nvirtualenvwrapper.user_scripts creating \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/get_env_details\r\n(opencv_caffe) teddy@teddy-K43SJ:~$<\/pre>\n<p>Check python version:<\/p>\n<pre class=\"lang:default decode:true \">(opencv_caffe) teddy@teddy-K43SJ:~$ python\r\nPython 3.4.3 (default, Nov 17 2016, 01:08:31) \r\n[GCC 4.8.4] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n&gt;&gt;&gt;<\/pre>\n<p>&nbsp;<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Reference: Pre-requisites: Make sure you already installed CUDA 8, cuDNN v5.1, OpenCV 3.1, Python 3.4. Don&#8217;t forget to use python virtualenv. Installation: Use python virtual environment &#8216;opencv_caffe&#8217; teddy@teddy-K43SJ:~$ mkvirtualenv opencv_caffe Using base prefix &#8216;\/usr&#8217; New python executable in \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/python3 Also creating executable in \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/python Installing setuptools, pip, wheel&#8230;done. virtualenvwrapper.user_scripts creating \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/predeactivate virtualenvwrapper.user_scripts creating \/home\/teddy\/.virtualenvs\/opencv_caffe\/bin\/postdeactivate virtualenvwrapper.user_scripts &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/02\/24\/installation-of-caffe-on-ubuntu-14-04\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installation of Caffe and PyCaffe On Ubuntu 14.04&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-1951","post","type-post","status-publish","format-standard","hentry","category-opencv"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=1951"}],"version-history":[{"count":4,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1951\/revisions"}],"predecessor-version":[{"id":1955,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1951\/revisions\/1955"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=1951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=1951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=1951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}