摘要: 引用出处:https://www.autodl.com/docs/cuda/ 注意:如果没有二次编译代码的需求,正常情况下不需要单独安装CUDA/cuDNN,因为框架都内置了编译好的CUDA,框架版本和CUDA版本是对应的,只需要关注框架版本即可,无需独立关注CUDA版本。 查询默认CUDA/cuD 阅读全文
posted @ 2023-07-25 10:04 U_C 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-12-27 09:59 U_C 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 解决方式:mmcv源码编译, 下载对应版本的mmcv, 执行以下命令 MMCV_WITH_OPS=1 pip install -v -e . mmdetection 遇到相关问题可以查阅https://mmdetection.readthedocs.io/zh_CN/latest/faq.html 阅读全文
posted @ 2021-10-26 15:34 U_C 阅读(604) 评论(0) 推荐(1) 编辑
摘要: 1、学习率设置策略 Pytorch 已经实现了两种方法:「torch.optim.lr_scheduler.CyclicLR」和「torch.optim.lr_scheduler.OneCycleLR」。参考文档:https://pytorch.org/docs/stable/optim.html 阅读全文
posted @ 2021-01-18 15:07 U_C 阅读(719) 评论(0) 推荐(0) 编辑
摘要: vim ~/.bashrcexport CUDA_HOME=$CUDA_HOME:/usr/local/cuda # 将上面的语句修改成: export CUDA_HOME=/usr/local/cudasource ~/.bashrc 阅读全文
posted @ 2020-11-13 10:21 U_C 阅读(3736) 评论(1) 推荐(0) 编辑
摘要: 1、CUDA 有两种API,分别是 运行时 API 和 驱动API,即所谓的 Runtime API 与 Driver API。 nvidia-smi 的结果除了有 GPU 驱动版本型号,还有 CUDA Driver API的型号,而nvcc的结果是对应 CUDA Runtime API 2、在安装 阅读全文
posted @ 2020-08-03 10:28 U_C 阅读(6677) 评论(0) 推荐(1) 编辑
摘要: 1.查看docker镜像存放目录空间大小 du -sh /var/lib/docker/ 2.停止docker服务 systemctl stop docker 3.查看磁盘容量大的空间,且在上面创建新的docker目录 df -h mkdir -p /docker/lib 4.迁移/var/lib/ 阅读全文
posted @ 2020-07-31 11:49 U_C 阅读(5626) 评论(0) 推荐(0) 编辑
摘要: git clone https://github.com/cocodataset/cocoapi.gitcd cocoapi/PythonAPIpython setup.py build_ext --inplacepython setup.py build_ext instal 拷贝PythonAP 阅读全文
posted @ 2020-07-28 10:34 U_C 阅读(1719) 评论(0) 推荐(0) 编辑
摘要: 平均池化(avgpooling)可以保留背景信息。在feature map上以窗口的形式进行滑动(类似卷积的窗口滑动),操作为取窗口内的平均值作为结果,经过操作后, feature map降采样,减少了过拟合现象。前向传播就是把一个patch中的值求取平均来做pooling,那么反向传播的过程也就是 阅读全文
posted @ 2020-05-12 16:49 U_C 阅读(3917) 评论(0) 推荐(0) 编辑
摘要: pip install pycocotools 出现如下bug,则: File "/...../lib/python3.6/site-packages/pycocotools/coco.py", line 308, in loadRes if type(resFile) == str or type 阅读全文
posted @ 2020-04-03 10:43 U_C 阅读(5249) 评论(0) 推荐(0) 编辑