OS/Linux

Tensorflow install

강서버 2020. 2. 23. 22:15
728x90
반응형

System install

 

$ pip3 install --user --upgrade tensorflow  # install in $HOME

Verify the install:

$ python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"

 

Virtualenv install

(venv) $ pip install --upgrade tensorflow

Verify the install:

(venv) $ python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"

 

https://www.tensorflow.org/install/pip

728x90
반응형

'OS > Linux' 카테고리의 다른 글

Linux(Ubuntu/CentOS) hardware info command  (0) 2020.03.08
Tensorflow2.x libnvinfer.so.6 libnvinfer_plugin.so.6 error  (0) 2020.02.23
Install TensorFlow 2  (0) 2020.02.23
top 특정 프로세스 모니터링  (0) 2020.01.16
System monitor Htop install  (0) 2020.01.16