2017年5月26日 星期五

[Toolkit] Tensorflow 常見問題

Version of TensorFlow installed in my system?

Source From Here 
Question 
As title. 

How-To 
Pip installation 
Run: 
# python -c 'import tensorflow as tf; print(tf.__version__)' // for Python 2
# python3 -c 'import tensorflow as tf; print(tf.__version__)' // for Python 3

Virtualenv installation 
pip list | grep tensorflow will also show the version of Tensorflow installed.



I want to Update TensorFlow

Source From Here
Question
I had a TensorFlow V0.10 but I watne to update this version .

How-To
To upgrade any python package, use pip install <pkg_name> --upgrade. So in your case it would be:
# pip install tensorflow --upgrade // Just updated to 1.1.0


沒有留言:

張貼留言

[Git 常見問題] error: The following untracked working tree files would be overwritten by merge

  Source From  Here 方案1: // x -----删除忽略文件已经对 git 来说不识别的文件 // d -----删除未被添加到 git 的路径中的文件 // f -----强制运行 #   git clean -d -fx 方案2: 今天在服务器上  gi...