LoginSignup
0
0

More than 5 years have passed since last update.

tensorflowのubuntu jupyter virtualbox環境構築

Last updated at Posted at 2016-12-27

はじめに

ネット上、いろんな説がありすぎて、簡単な方法はあるかを検討。

対象のOS

ubuntu 16.04 LTSを選択。

周りのパッケージをインストール

Guest Additionをインストール

virtualboxのデバイスメニューからインストールできる。

pipをインストール

ここを参考(https://www.tensorflow.org/get_started/os_setup)
$ sudo apt-get install python-pip python-dev

tensorflowをインストール

$ pip install tensorflow

jupyterをインストール

$ sudo pip --no-cache-dir install ipykernel jupyter matplotlib sklearn hmmlearn && python -m ipykernel.kernelspec

tensorflowを確認

jupyterを起動

$ jupyter notebook
firefoxが起動される。

image

tensorflowを実行

新しいnotebookを作成する。

image
tensorflowのコードを書いて実行する。ここを参考(https://www.tensorflow.org/get_started/)

image
image

結語

caffeよりインストールが簡単。次はうまく遊ぶこと。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0