首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

linux服务器,卸载tensorflow CPU 安装PGU版

之前用的和学习的都是pytorch框架,现在要运行一个keras的代码,得安装tensorflow和keras,按一个教程,直接在pycharm里setting,点那个+很快就装好了tensorflow和keras,运行了几次发现运行特别慢,用nvidia-smi查看,发现根本没有用pgu跑,一番查找,最后发现安装的tensorflow本身是按CPU跑的,要用GPU跑,得安装tensorflow-gpu。 以下主要参考了https://blog.csdn.net/qq_38502918/article/details/108009692进行操作,成功安装了tensorflow-gpu版本的。 记录以下安装过程。 重点: CUDA的版本要与tensorflow-gpu的一定要对应,否则会出错。 注意点: 安装好tensorflow-gpu后,安装对应版本的keras版本。 https://blog.csdn.net/weixin_40109345/article/details/106730050

03
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    177本Python最新版国外电子书分享(上)

    http://file.allitebooks.com/20180817/Python For Dummies.pdf http://file.allitebooks.com/20180805/MySQL ConnectorPython Revealed.pdf http://file.allitebooks.com/20180722/Learn Raspberry Pi Programming with Python, 2nd Edition.pdf http://file.allitebooks.com/20180719/Instant Pygame for Python Game Development How-to.pdf http://file.allitebooks.com/20180623/Python Graphics.pdf http://file.allitebooks.com/20180603/Web Scraping with Python, 2nd Edition.pdf http://file.allitebooks.com/20180526/Advanced Data Analytics Using Python.pdf http://file.allitebooks.com/20180513/The Python 3 Standard Library by Example.pdf http://file.allitebooks.com/20180512/Data Science Fundamentals for Python and MongoDB.pdf http://file.allitebooks.com/20180312/Dive into Python 3.pdf http://file.allitebooks.com/20180228/Practical Python AI Projects.pdf http://file.allitebooks.com/20180223/Learn Data Analysis with Python.pdf http://file.allitebooks.com/20180218/Beginning Programming with Python For Dummies, 2nd Edition.pdf http://file.allitebooks.com/20180109/Python for the Busy Java Developer.pdf http://file.allitebooks.com/20171221/Practical Machine Learning with Python.pdf http://file.allitebooks.com/20171213/wxPython Recipes.pdf http://file.allitebooks.com/20171126/MicroPython for the Internet of Things.pdf http://file.allitebooks.com/20171124/Make Your Own Python Text Adventure.pdf http://file.allitebooks.com/20171108/Getting Started with Python and Raspberry Pi.pdf http://file.allitebooks.com/20171029/Python Machine Learning Case Studies.pdf http://file.allitebooks.com/20171009/Python for Data Analysis, 2nd Edition.pdf http://file.allitebooks.com/20171009/Programming with MicroPython.pdf http://file.allitebooks.com/20170831/Thoughtful Machine Learning with Python.pdf http://file.allitebooks.com/20170822/Test-Driven Development with Python, 2nd Edition.pdf http://file.allitebooks.com/20170813/Python Requests Essentials.pdf http://file.allitebooks.com/20170710/Effective Python Penetration

    02

    Python 2.7.x 和 3.x 版

    python现在很火,最近花了些时间去了解了一下,最初了解的是2.7.x版本,感觉,从书写上是很不习惯,少了一双大概号,取而代之的是缩进;然后跟kotlin和swift一样省去了每行的分号,象我们这种分号强迫症的人真心的不习惯;还有!True的条件改成not True、while后面可以跟else等等这些,真心不习惯啊!用2.7.x做了几天的测试,基本慢慢算有个了解了,也试着爬了些行业网的数据,感觉这个比PHP写爬虫方便很多。然后昨晚就在家里装了个3.X的版本,很悲催的发现,原来写的有很多的错误,万般无奈的检查之下,发现语句上是没什么问题,只是3.X版本不兼容部分的语句,例如最常用的print,raw_input都不一样了,今天花了些时间查一查,并总结了一下它们的区别。

    03
    领券