- 博客(17)
- 资源 (2)
- 收藏
- 关注

原创 解决pip安装过慢、git clone&conda过慢、arxiv下载慢 的问题
pip install 名称 -i https://pypi.tuna.tsinghua.edu.cn/simple/2.将github.com 进行替换为github.com.cnpmjs.org
2020-12-04 23:18:55
514
原创 mm系列 ‘int‘ object has no attribute ‘type‘解决办法
由于mmcv版本匹配问题导致报错,解决办法,修改mmcv里的_functions.py。
2024-12-29 11:51:19
113
原创 PaddlePaddle:module ‘paddle‘ has no attribute ‘utils‘ & module ‘paddle‘ has no attribute ‘fluid‘问题解决
记录:使用AutoDL远程服务器算法开发,用到PaddlePaddle时,总是出现paddle有关的属性报错,实质就是paddle没装好,没想到paddle在ubuntu还不如win上好安装。之后可能会提示需要安装paddlepaddle-gpu,pip install paddlepaddle-gpu即可。就会自动安装最新版paddle,最新版其实不用paddle.fluid了,所有也要注意远程服务器的代码有没有更新。解决方案:uninstall所有与paddle有关的东西,执行下句。
2024-01-23 13:09:25
2301
1
原创 ValueError: Unknown CUDA arch (8.6) or GPU not supported 解决RTX30 运行深度学习代码报错
将conda环境所在文件夹中的cpp_extension.py内容从: named_arches = collections.OrderedDict([ ('Kepler+Tesla', '3.7'), ('Kepler', '3.5+PTX'), ('Maxwell+Tegra', '5.3'), ('Maxwell', '5.0;5.2+PTX'), ('Pascal', '6.0;6.1+PTX'),
2021-05-17 17:16:57
16625
9
原创 RTX3080涡轮显卡 深度学习环境配置 出错提醒
用RTX3080配置其他机器早就搞好的mmdetection环境,出错不断,耗时3天,记录一下。各种出错的关键,就是pytorch、CUDA和30系列的显卡不匹配,因为30系显卡是ampere架构,并且算力80+,所以务必注意使用最新的CUDA版本!之后关于pytorch:conda install pytorch torchvision cudatoolkit=11 -c pytorch-nightly或者conda install pytorch torchvision cudatoolk.
2021-01-25 22:19:10
1278
2
原创 GPU算力太高导致nvcc fatal : Unsupported gpu architecture ‘compute_86‘
export TORCH_CUDA_ARCH_LIST=“7.5”不知道cudatoolkit什麼時候支持安培架構的GPU?
2021-01-24 20:03:27
2072
4
转载 PPT中使用VBA添加进度条
转自:https://blog.youkuaiyun.com/fandroid/article/details/45970243侵删用 VBA 实现在 PPT 最下边加进度条,方便查看进行到总长度的多少,根据选择的页面不同,进度条的长度也不同。提示:进度条只是体现已播放的幻灯片张数,不是用于计时。进度条的制作添加方法如下:打开 PPT,按 Alt+F11,打开VBE编辑器,插入——模块,并复制下面的代码,最后单击工具栏的“运行”按钮。Sub AddProgressBar()On Error Resume
2021-01-08 16:13:37
679
1
原创 ubuntu win10双系统共用蓝牙鼠标(支持各种新款鼠标键盘))
我用#优快云#这个app发现了有技术含量的博客,小伙伴们求同去《windows ubuntu18.04 双系统共用蓝牙LE的鼠标》, 一起来围观吧 https://blog.youkuaiyun.com/qq_41196737/article/details/103343276?utm_source=app
2021-01-07 17:44:54
1722
原创 ubuntu 根目录空间不足的日常清理方法
sucat /dev/null > /var/log/syslog2.apt-get autocleanapt-get cleanapt-get autoremove
2020-12-04 11:32:50
4802
原创 将annaconda创建的环境打包(供离线使用)CondaPackError: Cannot pack an environment with editable packages
为了将“辛苦”建好的环境在离线机器上使用,现记录方法:1.pip install conda-pack2.conda pack -n 名称或者conda pack -n 名称 --ignore-editable-packages3.conda pack -n 名称 -0 out_name.tar.gzconda pack /explicit/path/to/my_env搞好之后的使用方法:1.mkdir -p my_envtar -xzf my_env.tar.gz -C my_e
2020-11-08 16:22:00
7251
原创 用pytorch搭建简单CNN前馈网络处理三通道彩色图像
最近想重新学习简单CNN网络前向传播的搭建,发现网上好像没有用pytorch对三通道彩色图像进行处理的,自定义初始化4*4的三个卷积核,然后经过relu激活和池化,记录一下代码:import cv2import matplotlib.pyplot as pltimg_path = '1.jpg'bgr_img = cv2.imread(img_path)# bgr_img = bgr_img.transpose(2,0,1)print(bgr_img.shape)b,g,r = cv2
2020-09-25 09:31:19
2295
原创 解决ubuntu安装whl速度过慢的加速方法
ubuntu安装whl或其他工具时速度过慢(在已经设置好conda和系统都为国内源的前提下还特别慢,速度只有几kb,不知道为什么???)解决方法,自己手动安装(比如我要装matplotlib):pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib...
2020-09-11 09:40:55
1132
转载 解决conda安装pytorch太慢
在安装mmdetection时,使用conda环境安装pytorch的速度几乎为零,使用下面的方法可以解决!先输入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/main/conda config --set show_cha
2020-09-10 20:55:53
1503
原创 ubuntu读取文件限制——bash: ulimit: open files: cannot modify limit报错解决(修改 ulimit -n)
输入命令:ulimit -n 65535提示信息:bash: ulimit: open files:无法修改 limit 值: 不允许的操作解决办法:1.输入sudo nautilus2.打开/etc/security/limits.conf(或者直接用vim /etc/security/limits.conf)3.在文件末尾加上:soft nofile 65535hard nofile 65535保存退出4.输入sudo sh -c “ulimit -n 65535 &
2020-05-15 13:36:41
5960
1
原创 (简洁有效)win10和ubuntu18.04双系统中如何给分区扩容,比如给/home扩容
1.首先在win10中,打开磁盘管理(win+x),划分出一块未分配的空间。2.启动已安装的ubuntu系统,输入 sudo apt-get install gparted,装好之后关机。3.接下来制作ubuntu启动盘,制作方法网上很多,用ultra iso免费版即可。调整bios启动顺序,启动u盘中的安装程序,选try ubuntu。4.进入系统之后输入sudo gparted,首先对s...
2020-03-29 21:34:01
3876
2
原创 删除EFI分区的方法
不知道网上为什么会有clean方法删除efi分区,亲身经历……那样删除efi分区的后果很严重。分享正确删除efi分区的方法,efi分区一般只有几百兆,lz是为了删除装ubuntu时留下的efi分区。下面是步骤(输入即可,盘符自己改):win+rlistdiskselect disk 1list partitionselect partition 1delete partition ...
2020-03-29 00:15:39
2472
2
原创 cl.exe' failed with exit status 2的错误解决
出现error: command ‘C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\cl.exe’ failed with exit status 2这样的错误,除了可能是VS安装有问题之外,也可能是运行的程序的问题。比如:在某个算法框...
2020-03-26 11:06:40
21640
10
目标检测综述PPT-Object Detection in 20 Years: A Survey
2020-04-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人