{"id":3092,"date":"2020-03-29T17:49:09","date_gmt":"2020-03-29T08:49:09","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=3092"},"modified":"2023-08-27T13:19:53","modified_gmt":"2023-08-27T04:19:53","slug":"ubuntu-18-04-lts-desktop%e3%81%abcuda%e3%81%ab%e3%82%88%e3%82%8b%e3%83%87%e3%82%a3%e3%83%bc%e3%83%97%e3%83%a9%e3%83%bc%e3%83%8b%e3%83%b3%e3%82%b0%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%ef%bc%88t","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/3092","title":{"rendered":"Ubuntu Desktop 18.04\u306bCUDA\/Anaconda\u306b\u3088\u308b\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\uff01\uff08TensorFlow\uff09"},"content":{"rendered":"<p>Ubuntu 18.04 LTS Desktop\u306b\u3001CUDA\u304a\u3088\u3073Anaconda\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u74b0\u5883\u306bTensorflow\u306e\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u4f7f\u7528\u3057\u305f\u74b0\u5883<\/h2>\n<ul>\n<li>GeForce GTX 1050 Ti<\/li>\n<li>Ubuntu 18.04 LTS Desktop (18.04.3)<\/li>\n<li>CUDA 10.1<\/li>\n<li>cuDNN 7.6.5<\/li>\n<li>Anaconda 2020.02 (Python 3.7)<\/li>\n<li>Tensorflow 2.1 (GPU)<\/li>\n<\/ul>\n<h2>CUDA 10.1\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>CUDA 10.1\u3092\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/3053\" rel=\"noopener noreferrer\" target=\"_blank\">Ubuntu 18.04 LTS Desktop\u306bCUDA 10.1\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/li>\n<\/ul>\n<h2>cuDNN 7.6.5\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u30c7\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30eacuDNN 7.6.5\u3092\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/2969\" rel=\"noopener noreferrer\" target=\"_blank\">Ubuntu 18.04 LTS Desktop\u306bcuDNN 7.6.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/li>\n<\/ul>\n<h2>Anaconda 2020.02\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>python\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306bAnaconda\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/3040\" rel=\"noopener noreferrer\" target=\"_blank\">Ubuntu 18.04 LTS Desktop\u306bPython\u74b0\u5883\uff08Anaconda\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/li>\n<\/ul>\n<h2>Tensorflow\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p><a href=\"https:\/\/anaconda.org\/anaconda\/tensorflow-gpu\" target=\"_blank\" rel=\"noopener noreferrer\">Anaconda\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\uff08anaconda \/ packages \/ tensorflow-gpu\uff09<\/a>\u306b\u8a18\u8f09\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ conda install -c anaconda tensorflow-gpu \r\nCollecting package metadata (current_repodata.json): done\r\nSolving environment: done\r\n\r\n## Package Plan ##\r\n\r\n  environment location: \/home\/sysadm01\/anaconda3\r\n\r\n  added \/ updated specs:\r\n    - tensorflow-gpu\r\n\r\n\r\nThe following packages will be downloaded:\r\n\r\n    package                    |            build\r\n    ---------------------------|-----------------\r\n    _tflow_select-2.1.0        |              gpu           2 KB  anaconda\r\n    absl-py-0.9.0              |           py37_0         165 KB  anaconda\r\n    astor-0.8.0                |           py37_0          45 KB  anaconda\r\n    blinker-1.4                |           py37_0          21 KB  anaconda\r\n    c-ares-1.15.0              |    h7b6447c_1001         102 KB  anaconda\r\n    ca-certificates-2020.1.1   |                0         132 KB  anaconda\r\n    cachetools-3.1.1           |             py_0          14 KB  anaconda\r\n    certifi-2019.11.28         |           py37_0         156 KB  anaconda\r\n    conda-4.8.3                |           py37_0         3.0 MB  anaconda\r\n    cudnn-7.6.5                |       cuda10.1_0       250.6 MB  anaconda\r\n    cupti-10.1.168             |                0         1.7 MB  anaconda\r\n    gast-0.2.2                 |           py37_0         137 KB  anaconda\r\n    google-auth-1.11.2         |             py_0          52 KB  anaconda\r\n    google-auth-oauthlib-0.4.1 |             py_2          21 KB  anaconda\r\n    google-pasta-0.2.0         |             py_0          44 KB  anaconda\r\n    grpcio-1.27.2              |   py37hf8bcb03_0         1.4 MB  anaconda\r\n    keras-applications-1.0.8   |             py_0          33 KB  anaconda\r\n    keras-preprocessing-1.1.0  |             py_1          36 KB  anaconda\r\n    libprotobuf-3.11.4         |       hd408876_0         4.8 MB  anaconda\r\n    markdown-3.1.1             |           py37_0         113 KB  anaconda\r\n    oauthlib-3.1.0             |             py_0          88 KB  anaconda\r\n    openssl-1.1.1d             |       h7b6447c_4         3.7 MB  anaconda\r\n    opt_einsum-3.1.0           |             py_0          54 KB  anaconda\r\n    protobuf-3.11.4            |   py37he6710b0_0         711 KB  anaconda\r\n    pyasn1-0.4.8               |             py_0          58 KB  anaconda\r\n    pyasn1-modules-0.2.7       |             py_0          63 KB  anaconda\r\n    pyjwt-1.7.1                |           py37_0          32 KB  anaconda\r\n    requests-oauthlib-1.3.0    |             py_0          22 KB  anaconda\r\n    rsa-4.0                    |             py_0          30 KB  anaconda\r\n    tensorboard-2.1.0          |            py3_0         3.4 MB  anaconda\r\n    tensorflow-2.1.0           |gpu_py37h7a4bb67_0           4 KB  anaconda\r\n    tensorflow-base-2.1.0      |gpu_py37h6c5654b_0       365.0 MB  anaconda\r\n    tensorflow-estimator-2.1.0 |     pyhd54b08b_0         273 KB  anaconda\r\n    tensorflow-gpu-2.1.0       |       h0d30ee6_0           2 KB  anaconda\r\n    termcolor-1.1.0            |           py37_1           7 KB  anaconda\r\n    ------------------------------------------------------------\r\n                                           Total:       636.0 MB\r\n\r\nThe following NEW packages will be INSTALLED:\r\n\r\n  _tflow_select      anaconda\/linux-64::_tflow_select-2.1.0-gpu\r\n  absl-py            anaconda\/linux-64::absl-py-0.9.0-py37_0\r\n  astor              anaconda\/linux-64::astor-0.8.0-py37_0\r\n  blinker            anaconda\/linux-64::blinker-1.4-py37_0\r\n  c-ares             anaconda\/linux-64::c-ares-1.15.0-h7b6447c_1001\r\n  cachetools         anaconda\/noarch::cachetools-3.1.1-py_0\r\n  cudnn              anaconda\/linux-64::cudnn-7.6.5-cuda10.1_0\r\n  cupti              anaconda\/linux-64::cupti-10.1.168-0\r\n  gast               anaconda\/linux-64::gast-0.2.2-py37_0\r\n  google-auth        anaconda\/noarch::google-auth-1.11.2-py_0\r\n  google-auth-oauth~ anaconda\/noarch::google-auth-oauthlib-0.4.1-py_2\r\n  google-pasta       anaconda\/noarch::google-pasta-0.2.0-py_0\r\n  grpcio             anaconda\/linux-64::grpcio-1.27.2-py37hf8bcb03_0\r\n  keras-applications anaconda\/noarch::keras-applications-1.0.8-py_0\r\n  keras-preprocessi~ anaconda\/noarch::keras-preprocessing-1.1.0-py_1\r\n  libprotobuf        anaconda\/linux-64::libprotobuf-3.11.4-hd408876_0\r\n  markdown           anaconda\/linux-64::markdown-3.1.1-py37_0\r\n  oauthlib           anaconda\/noarch::oauthlib-3.1.0-py_0\r\n  opt_einsum         anaconda\/noarch::opt_einsum-3.1.0-py_0\r\n  protobuf           anaconda\/linux-64::protobuf-3.11.4-py37he6710b0_0\r\n  pyasn1             anaconda\/noarch::pyasn1-0.4.8-py_0\r\n  pyasn1-modules     anaconda\/noarch::pyasn1-modules-0.2.7-py_0\r\n  pyjwt              anaconda\/linux-64::pyjwt-1.7.1-py37_0\r\n  requests-oauthlib  anaconda\/noarch::requests-oauthlib-1.3.0-py_0\r\n  rsa                anaconda\/noarch::rsa-4.0-py_0\r\n  tensorboard        anaconda\/noarch::tensorboard-2.1.0-py3_0\r\n  tensorflow         anaconda\/linux-64::tensorflow-2.1.0-gpu_py37h7a4bb67_0\r\n  tensorflow-base    anaconda\/linux-64::tensorflow-base-2.1.0-gpu_py37h6c5654b_0\r\n  tensorflow-estima~ anaconda\/noarch::tensorflow-estimator-2.1.0-pyhd54b08b_0\r\n  tensorflow-gpu     anaconda\/linux-64::tensorflow-gpu-2.1.0-h0d30ee6_0\r\n  termcolor          anaconda\/linux-64::termcolor-1.1.0-py37_1\r\n\r\nThe following packages will be SUPERSEDED by a higher-priority channel:\r\n\r\n  ca-certificates                                 pkgs\/main --&gt; anaconda\r\n  certifi                                         pkgs\/main --&gt; anaconda\r\n  conda                                           pkgs\/main --&gt; anaconda\r\n  openssl                                         pkgs\/main --&gt; anaconda\r\n\r\n\r\nProceed (&#x5B;y]\/n)? \r\n\r\n\r\nDownloading and Extracting Packages\r\nca-certificates-2020 | 132 KB    | ##################################### | 100% \r\ntensorflow-base-2.1. | 365.0 MB  | ##################################### | 100% \r\noauthlib-3.1.0       | 88 KB     | ##################################### | 100% \r\nlibprotobuf-3.11.4   | 4.8 MB    | ##################################### | 100% \r\ngoogle-auth-oauthlib | 21 KB     | ##################################### | 100% \r\npyasn1-modules-0.2.7 | 63 KB     | ##################################### | 100% \r\nopenssl-1.1.1d       | 3.7 MB    | ##################################### | 100% \r\ncertifi-2019.11.28   | 156 KB    | ##################################### | 100% \r\ncachetools-3.1.1     | 14 KB     | ##################################### | 100% \r\npyasn1-0.4.8         | 58 KB     | ##################################### | 100% \r\nprotobuf-3.11.4      | 711 KB    | ##################################### | 100% \r\nopt_einsum-3.1.0     | 54 KB     | ##################################### | 100% \r\nkeras-preprocessing- | 36 KB     | ##################################### | 100% \r\ntensorboard-2.1.0    | 3.4 MB    | ##################################### | 100% \r\n_tflow_select-2.1.0  | 2 KB      | ##################################### | 100% \r\ncudnn-7.6.5          | 250.6 MB  | ##################################### | 100% \r\nkeras-applications-1 | 33 KB     | ##################################### | 100% \r\ngoogle-pasta-0.2.0   | 44 KB     | ##################################### | 100% \r\nrequests-oauthlib-1. | 22 KB     | ##################################### | 100% \r\nmarkdown-3.1.1       | 113 KB    | ##################################### | 100% \r\nastor-0.8.0          | 45 KB     | ##################################### | 100% \r\nblinker-1.4          | 21 KB     | ##################################### | 100% \r\ntensorflow-gpu-2.1.0 | 2 KB      | ##################################### | 100% \r\ntensorflow-estimator | 273 KB    | ##################################### | 100% \r\nabsl-py-0.9.0        | 165 KB    | ##################################### | 100% \r\nrsa-4.0              | 30 KB     | ##################################### | 100% \r\ntensorflow-2.1.0     | 4 KB      | ##################################### | 100% \r\ngrpcio-1.27.2        | 1.4 MB    | ##################################### | 100% \r\nconda-4.8.3          | 3.0 MB    | ##################################### | 100% \r\ntermcolor-1.1.0      | 7 KB      | ##################################### | 100% \r\ncupti-10.1.168       | 1.7 MB    | ##################################### | 100% \r\ngast-0.2.2           | 137 KB    | ##################################### | 100% \r\ngoogle-auth-1.11.2   | 52 KB     | ##################################### | 100% \r\nc-ares-1.15.0        | 102 KB    | ##################################### | 100% \r\npyjwt-1.7.1          | 32 KB     | ##################################### | 100% \r\nPreparing transaction: done\r\nVerifying transaction: done\r\nExecuting transaction: done\r\n<\/pre>\n<h2>GPU\u3092\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408<\/h2>\n<p>GPU\u3092\u4f7f\u7528\u305b\u305a\u3001CPU\u306e\u307f\u3067\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u672c\u7a3f\u306e\u300cAnaconda 2020.02\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u304b\u3089\u958b\u59cb\u3057\u3001Tensorflow\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u4ee5\u4e0b\u306eCPU\u306a\u3057\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ conda install -c anaconda tensorflow \r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u672c\u7a3f\u3067\u306f\u3001Anaconda\u306e\u74b0\u5883\u306bTensorflow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.tensorflow.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">TensorFlow<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/14309\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011TensorFlow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/09\/eyecatch_ai_03-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011TensorFlow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/div><div class=\"substr\">TensorFlow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\uff01...<\/div><\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 18.04 LTS Desktop\u306b\u3001CUDA\u304a\u3088\u3073Anaconda\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u74b0\u5883\u306bTensorflow\u306e\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[60,58,72,51,274,361],"class_list":["post-3092","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tensorflow","tag-anaconda","tag-cuda","tag-tensorflow","tag-ubuntu","tag-ubuntu-desktop","tag-ubuntu-desktop-18-04"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/3092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=3092"}],"version-history":[{"count":3,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/3092\/revisions"}],"predecessor-version":[{"id":14311,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/3092\/revisions\/14311"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=3092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=3092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=3092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}