版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/a19990412/article/details/82286615
栏目配置
这里主要是为了获取到那个图片
简单的爬虫解决这个问题:
>>> import requests
>>> res = requests.get('https://tensorflow.google.cn/site-assets/images/landing-page/landing_icon-tf_devsummit-2018.jpg')
>>> with open('tf.png', 'wb') as f:
... f.write(res.content)
...
14654
之后就可以上传这个图片了。
图片所在地址就是,一开始进入到python的环境。
安装
python 版本: 目前只支持python3.6 和 python 3.5的64位。
直接pip安装就好了,非常简单。如果是想要安装GPU版本的,也非常简单。
下面的文档甚至还是中文版的。
https://tensorflow.google.cn/install/
TensorFlow官网
目前的话,由于网站换了,所以一开始的
http://tensorflow.org 是上不去的
新网址,当然就是;
https://tensorflow.google.cn/