Update TensorFlow

前端 未结 8 1628
逝去的感伤
逝去的感伤 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:02

    for a specific version

    pip install --upgrade tensorflow==2.2
    
    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题