学习深度学习的笔记,学习资料:跟李沐学AI的个人空间-跟李沐学AI个人主页-哔哩哔哩视频
这里记载一些前言,目前已经有的与具体无关的。
进度:0
1.切换清华源问题
pip install program -i https://pypi.tuna.tsinghua.edu.cn/simple
program换成想安装的包
例如
pip install panda -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install d2l -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install PyQt5_tools -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install torch -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install torchvision -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install labelImg -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install rise -i https://pypi.tuna.tsinghua.edu.cn/simple
2.找库安装的地方
pip show package_name命令能显示该安装的包的相关信息,其中包括它的安装路径。
实际上包通常被安装在python安装目录下的lib\site-packages目录下
3.jupyter notebook切换目录问题
不要直接打开jupyter notebook。先打开anaconda prompt,切换到工作目录
输入D:
再输入cd D:\DLcode (这是存储代码的文件夹)
接着输入jupyter notebook即可
以后位置更改了,也可以根据这个方法切换位置。
4.jupyter notebook 使用老师提供的代码问题
进入到pytorch目录里面,容易找不到对应的代码,这时可以打开index,这样就能找到章节对应的代码了。
关于一些标题:begin_tab中记录的: preface仅是前言,不用管; installation是环境安装; notation是数学符号的说明(可能比较重要) 对应视频序号00-03 introduction是概念介绍 preliminaries介绍很多预备知识(重要) 对应视频序号04-0?