Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
517 views
in Technique[技术] by (71.8m points)

tensorflow - 我如何使用终端命令在linux中升级tensorflow版本(how can i upgrade tensorflow version in linux using terminal command)

current versions: OS: Ubuntu 18.04 , Python: 3.6.8 , GCC: 7.3.0 , CUDA: 10.0 ,

(当前版本:OS:Ubuntu 18.04 ,Python: 3.6.8 ,GCC: 7.3.0 ,CUDA: 10.0 ,)

I was using tensorflow 2.0 well, but accidentally downgraded it to tensorflow 1.14.0.

(我很好地使用了tensorflow 2.0,但不小心将其降级为tensorflow 1.14.0。)

I entered 'conda install tensorflow-gpu' which i thought i was installing it in conda env., but instead, it was installed in the base environment.

(我输入了'conda install tensorflow-gpu',我以为我是在conda env中安装它的,但是,它是安装在基本环境中的。)

When I check with 'pip list', I get: tensorboard 2.0.0 , tensorflow 1.14.0 , tensorflow-estimator 2.0.0 , tensorflow-gpu 2.0.0

(当我检查'pip list'时,我得到:tensorboard 2.0.0 ,tensorflow 1.14.0 ,tensorflow-estimator 2.0.0 ,tensorflow-gpu 2.0.0)

Is it mean I still have tensorflow-gpu 2.0 that I can use, and have tensorflow 1.14 additionally?

(这是否意味着我仍然可以使用tensorflow-gpu 2.0,并另外拥有tensorflow 1.14?)

Why is python detects tensorflow 1.14 instead of tensorflow-gpu 2.0 then?

(为什么python然后检测tensorflow 1.14而不是tensorflow-gpu 2.0?)

In this case, can I just remove tensorflow 1.14 using 'uninstall tensorflow'?

(在这种情况下,我可以使用'uninstall tensorflow'删除tensorflow 1.14吗?)

I'm using Linux as server computer and use it through ssh.

(我使用Linux作为服务器计算机,并通过ssh使用它。)

So i need to upgrade with command lines.

(因此,我需要使用命令行进行升级。)

I'm very new to linux system and very confusing & exhausted now.. I'd highly appreciate for any help that could resolve my problem.

(我是linux系统的新手,现在非常困惑和精疲力竭。.对于可以解决我的问题的任何帮助,我深表感谢。)

Thanks in advance to all who can help.!!!

(在此先感谢所有可以提供帮助的人!!!!)

  ask by Heejs translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...