{"id":745,"date":"2017-06-07T12:17:12","date_gmt":"2017-06-07T03:17:12","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=745"},"modified":"2017-06-07T17:55:14","modified_gmt":"2017-06-07T08:55:14","slug":"tensorflow-on-fawkes","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=745","title":{"rendered":"TensorFlow on Fawkes"},"content":{"rendered":"<p>\u6d41\u884c\u308a\u306b\u4e57\u3063\u304b\u3063\u3066\uff0cFawkes \u3067TebnsorFlow \u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u30b3\u30fc\u30ca\u30fc\u3067\u3059\uff0e<br \/>\n\u307e\u305a\u306f\uff0cFedora 23\u306bTensorFlow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff0e<br \/>\n<a href=\"http:\/\/qiita.com\/misogi@github\/items\/ee1e4bb7a129a95e8ee2\">fedora23 \u306b\u6a5f\u68b0\u5b66\u7fd2\u30e9\u30a4\u30d6\u30e9\u30ea TensorFlow \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/a>\u3092\u53c2\u7167\uff0e<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\uff0cpython\uff0cpython-devel\uff0crpm-build \u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u3067\u3057\u305f\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nexport http_proxy=http:\/\/cache.st.ryukoku.ac.jp:8080; export https_proxy=$http_proxy\r\npip install https:\/\/storage.googleapis.com\/tensorflow\/linux\/cpu\/tensorflow-0.5.0-cp27-none-linux_x86_64.whl\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;root@fedoraMini ~]# python\r\nPython 2.7.11 (default, Sep 29 2016, 13:33:00) \r\n&#x5B;GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux2\r\nType &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.\r\n&gt;&gt;&gt; import tensorflow as tf\r\n&gt;&gt;&gt; hello = tf.constant('Hello, TensorFlow')\r\n&gt;&gt;&gt; sess = tf.Session()\r\nI tensorflow\/core\/common_runtime\/local_device.cc:25] Local device intra op parallelism threads: 4\r\nI tensorflow\/core\/common_runtime\/local_session.cc:45] Local session inter op parallelism threads: 4\r\n&gt;&gt;&gt; print sess.run(hello)\r\nHello, TensorFlow\r\n&gt;&gt;&gt; exit()\r\n<\/pre>\n<p>\u5148\u307b\u3069\u306e\u30b5\u30a4\u30c8\u306b\u5f93\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u52d5\u4f5c\u78ba\u8a8d\u3057\u305f\u306e\u304c\uff0c\u4e0a\u8a18\u3067\u3059\uff0e<\/p>\n<p>Interface\u306e5\u6708\u53f7\u3092\u53c2\u7167\u3057\u3066\u5b9f\u65bd\u3059\u308b\u306a\u3089\u4ee5\u4e0b\u3067\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\npip install --upgrade https:\/\/storage.googleapis.com\/tensorflow\/linux\/cpu\/tensorflow-0.11.0rc2-cp27-none-linux_x86_64.whl\r\n<\/pre>\n<p>\u305f\u3060\uff0c\u306a\u3093\u304bprotobuf \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8fba\u308a\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u306e\u3067\uff0c\u4e00\u65e6\u524a\u9664\u3057\u3066\uff0c\u3082\u3046\u4e00\u5ea6\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff0e<br \/>\n<a href=\"http:\/\/rrerre.blog.fc2.com\/blog-entry-34.html\">Tensorflow\u304cimport\u3067\u304d\u306a\u3044<\/a>\u3092\u53c2\u7167\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&#x5B;root@fedoraMini ~]# python\r\nPython 2.7.11 (default, Sep 29 2016, 13:33:00) \r\n&#x5B;GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux2\r\nType &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.\r\n&gt;&gt;&gt; import tensorflow as tf\r\n&gt;&gt;&gt; hello = tf.constant('Hello World!')\r\n&gt;&gt;&gt; sess = tf.Session()\r\n&gt;&gt;&gt; print(sess.run(hello))\r\nHello World!\r\n&gt;&gt;&gt; exit()\r\n<\/pre>\n<p>jupyter notebook \u3092\u4f7f\u3046\u306b\u306f\uff0cpip \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\uff0e<a href=\"http:\/\/www.task-notes.com\/entry\/20151129\/1448794509\">Jupyter Notebook\uff08IPython\uff09\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u59cb\u3081\u65b9<\/a>\u3088\u308a\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\npip install jupyter\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6d41\u884c\u308a\u306b\u4e57\u3063\u304b\u3063\u3066\uff0cFawkes \u3067TebnsorFlow \u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=745\"> <span class=\"screen-reader-text\">TensorFlow on Fawkes<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[10,3,2],"tags":[],"class_list":["post-745","post","type-post","status-publish","format-standard","hentry","category-fawkes","category-logistics-league","category-robocup"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=745"}],"version-history":[{"count":9,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/745\/revisions"}],"predecessor-version":[{"id":754,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/745\/revisions\/754"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}