Update TensorFlow

前端 未结 8 1629
逝去的感伤
逝去的感伤 2020-12-28 13:12

I\'m working with Ubuntu 14.04 , I had a TensorFlow V0.10 but I want to update this version. if i do:

$ pip install --upgrade $TF_         


        
8条回答
  •  爱一瞬间的悲伤
    2020-12-28 14:06

    (tensorflow)$ pip install --upgrade pip  # for Python 2.7
    (tensorflow)$ pip3 install --upgrade pip # for Python 3.n
    
    (tensorflow)$ pip install --upgrade tensorflow      # for Python 2.7
    (tensorflow)$ pip3 install --upgrade tensorflow     # for Python 3.n
    (tensorflow)$ pip install --upgrade tensorflow-gpu  # for Python 2.7 and GPU
    (tensorflow)$ pip3 install --upgrade tensorflow-gpu # for Python 3.n and GPU
    
    (tensorflow)$ pip install --upgrade tensorflow-gpu==1.4.1 # for a specific version
    

    Details on install tensorflow.

提交回复
热议问题