- 博客(19)
- 收藏
- 关注
转载 win11 CUDA15.2 cuDNN Tensorflow2.6.0安装
安装英伟达显卡驱动,去英伟达官网下载官方程序,即安装GeForce Experience,可以自动更新到最新版本的驱动 在anaconda power shell prompt 中输入 nvidia-smi,查看可以支持的最高版本CUDA 在tensorflow官网可以查看tensorflow, python, cuDNN, CUDA的版本对应关系,其中编译器和构建工具,安装较新版本的Visual Studio即可满足。 在Pytorch官网可查看需要的CUDA版本。 在英伟达官网,先安..
2022-02-13 00:01:32
425
原创 win11右键直接用windows终端打开文件夹
win11可以直接用windows终端打开文件夹,不知道win10可不可以。 例如打开要工作的文件夹,命令行输入code . 即用vscode打开
2022-02-10 09:04:26
2782
原创 jupyter Nbextensions
win r cmd pip install jupyter_contrib_nbextensions 安装后输入jupyter contrib nbextension install --user 启动Jupyter后 点击打开页面上方Nbextensions 先勾选掉disable configuration…再勾选Table of Contents和Hinterland
2022-02-09 23:38:53
617
原创 anaconda换源和pip换源
Conda换源: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/
2022-02-09 23:11:00
1485
原创 Markdown基础语法
Markdown快速入门(typora) 代码 1、python代码 // 按```后弹出代码块 // ctrl shift 1 展示typora的大纲 // 按ctrl / 查看源码 for i in range(10): print(i) 2、标题: # 一级标题 ## 二级标题 ####### 六级标题 ctrl shift 1 展示typora的大纲 3、字体 // 加粗 **被加粗的语言** // 删除线 ~~被删除的文字~~ // 斜体 *斜体内容* // 加粗的斜体 ***斜体文本
2022-01-16 17:21:06
274
原创 word中使用axmath避免行间距混乱
在开始->操作搜索中搜素段落,然后设置行间距为固定值20磅。这样在一行中即出现word文字又出现axmath字母的时候,不会混乱。 对于公式,统一采用axmath行间公式。
2022-01-06 11:08:19
6455
1
转载 numpy array进行索引
np array进行索引,如果是多维的array a = np.arange(18).reshape((3,6)) print('a:\n', a) b = a[2:3, 3:5] #对每个维度依次切片,a[2:3][3:5]和a[2:3, 3:5]不一样, a[2:3][3:5]是先对a在第一个维度上切片后再去切片 转载自 ...
2021-12-18 18:12:59
534
转载 转载 git Connection was reset, errno 10054
打开cmd 执行如下命令: git config --global https.sslVerify “false” 原链接 https://blog.youkuaiyun.com/qq_19520877/article/details/116268513
2021-12-16 11:28:52
129
原创 生成yolo.h5的方法
生成yolo.h5的方法 1.从 https://github.com/allanzelener/YAD2K 下载YAD2K 文件 2. 从https://pjreddie.com/darknet/yolo/ 下载yolo.cfg文件和对应的weights文件,注意,.cfg文件和.weights文件要对应,我当时下载的是yolov2对应的两份文件,这个网站上面的都是3的,应该也可以,或者自己找找2。 3. 把步骤2下载的两份文件分别命名为yolo.cfg和yolo.weights。 4.把yolo.wei
2021-12-06 22:23:56
807
2
原创 jupyter服务器挂掉了解决办法和anaconda创建虚拟环境的正确安装步骤
在安装gpu版本tensorflow的环境下运行matplotlib的代码,jupyter服务器挂掉了。后来发现这个虚拟环境的Python版本是3.7,后来改安装3.8的,就可以运行了。 创建一个虚拟环境 conda create -n environment_name python=3.8 #environment_name为TFG20211105 conda activate environment_name conda install nb_conda conda install ipykernel
2021-11-05 13:47:14
999
原创 anaconda下安装tensorflow
创建TensorFlowC,安装CPU版本的tensorflow 安装步骤: 打开anaconda powershell prompt 依次输入执行 conda create -n TensorFlowC python=3.7 conda install nb_conda conda install ipykernel pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple #最后一个是为了pip换源。 pip ins
2021-10-24 11:00:25
153
原创 python crash coures python编程从入门到实践 笔记1 python常见函数
一些内置函数 str.title() #.function() nothing in parentheses means no argument is given str.upper() str.lower() str.lstrip() str.rstrip() List.append() List.insert() del List[0] List.pop() # remove the last one List.pop(position) # remove by position List.r
2021-09-21 11:17:29
165
原创 类 Class python 入门 2021-09-19
class Car(): def __init__(self,make,model,year): self.make = make self.model = model self.year = year def get_descriptive_name(self): temp_str = str(self.year)+' '+self.make+' '+self.model return temp_str cl
2021-09-19 21:40:37
125
原创 python anaconda虚拟环境搭建常用操作
在anaconda powershell prompt内执行以下命令 conda info --env conda list conda create -n testEnv2 python*3.8.5 创建 conda create -n testEnv2 python=3.8.5 conda activate testEnv2 进入某个虚拟环境 conda install requests 安装包 conda deactivate 退出该虚拟环境 conda remove -n testEnv
2021-08-16 21:45:07
313
1
原创 python 安装 更新 包
一般用anaconda prompt 安装xgboost参考 https://cloud.tencent.com/developer/article/1558663 更新包 pip install 包的名称 --upgrade --user
2021-03-23 14:39:35
159
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅