LoginSignup
0
1

More than 3 years have passed since last update.

VPSサーバ上でTensorFlow2を動かす

Posted at

準備

  • さくらVPS
  • Python 3.6.0
  • TensorFlow 2.3.0
  • Apache2

Flaskを本番環境で使う準備については下記を参照してください。
Apache2+WSGI+Flaskを動かす

TensorFlowのインストール

pipのアップデート

$ pip3 install --upgrade pip

TensorFlowのインストール

python3 -m pip install tensorflow

確認

$ python3 -c "import tensorflow as tf; print( tf.__version__ )"

この記事を執筆時点では2.3.0が帰ってくる。

参考にしたサイト

0
1
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
1