[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
自己其实是在学习传统机器学习算法关于数据挖掘方面的,一直想去了解一下自然语言处理方面,还有就是学习如何使用Tensorflow这个库,以后找工作可能都可以用来吹一下?吧,?。。。
1.安装Tensorflow:
因为自己有了python的环境,然后直接来进行Tensorflow的安装吧,进入CMD,然后输入命令:
pip install --upgrade --ignore-installed tensorflow
但是输入之后,会发现它让你升级pip的版本才可以,那么我们就先升级pip的版本!
它上面也告诉你了,升级版本的命令:python -m pip install --upgrade pip,然后静静地等待安装就好了
可以看到它卸载了我之前的18.1,安装好了19.0.3版本。
那么现在就可以使用pip install --upgrade --ignore-installed tensorflow
这个命令来直接将Tensflow来安装好了
2.打开jupyter notebook
输入命令jupyter notebook就可以了:
你可以看到下面这就是我D盘里所有的文件:
你可以看到它显示了最近操作它的时间,哈哈,好尴尬,4个月没学习了,多玩游戏去了。。。。
然后来看一下,使用juoyter notebook,写代码是什么样的:
这是我在最近写的一个面试题,可以看到,它能够将代码分块输出出来,可以是用Mark
down做一下文档的格式,就在左上角的代码那里可以去切换,然后也可以使用Esc+M这样的快捷方式,就能切换到文档模式。Esc+Y就是代码模式,就是写出来认可为代码。这种文件的书写格式可以将你写好的这个ipynb这样的文件形式转换为PDF,HTML保存起来,或则发给别人查看是十分方便的。然后他的内核是python3,也是可以知道的,反正它有很多快捷方式,网上一查一大堆,也不用记住,记住几个常用的就行。
在Jupyter notebook种输出代码import tensorflow as tf 就能查看是否可以使用tf了