
linux 小技巧
jinggegebuaa
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
torch.cuda.is_aviaiable() 返回值为False的问题
在跑slowfast的时候遇到这个问题torch.cuda.is_aviaiable() 返回值为False的问题 这个问题出现在183 和185的服务器上 首先在185上试图解决这个问题 torch.cuda.is_aviaiable() 意思就是说cuda 没用上 因为torch 是用的pip install torch 安装的 怀疑不能链接cuda 然后卸载了torch 和torchvision 尝试使用conda install pytorch==1.6.0 torchvi...原创 2020-11-18 14:10:03 · 691 阅读 · 0 评论 -
gcc 安装在服务器的问题总结
gcc 安装在服务器的问题总结 1 .安装在服务器与本机不同的是要装在指定目录下 比如/home/gfff/local/gcc--xxxx 默认是装在root 目录下的 2. make 的时候时间太慢le 解决方式:make -j32 # wget http://mirrors.concertpass.com/gcc/releases/gcc-9.1.0/gcc-9.1.0.tar.xz # tar -xvf gcc-9.1.0.tar.xz # cd gcc-9.1.0...原创 2020-11-18 13:31:42 · 322 阅读 · 0 评论 -
TypeError: 'float' object is not iterable
求心率的peason相关系数的时候遇到这个问题: TypeError: 'float' object is not iterable 解决方法: pre_label.extend(output) type(output) <class 'float'> type(pre_label) <class 'list'> 改成pre_label.append(ou...原创 2020-04-26 17:37:36 · 4147 阅读 · 1 评论 -
linux 解压缩一个文件夹下所有的压缩文件
转载自: https://blog.youkuaiyun.com/huplion/article/details/81121655?utm_source=blogxgwz9转载 2019-03-26 21:09:38 · 5077 阅读 · 0 评论