随笔分类 -  Install

摘要:1. 安装nccl2 (1)下载:https://developer.nvidia.com/nccl (2)根据机型选择对应的安装文件:例如:nccl-repo-rhel7-2.7.8-ga-cuda10.1-1-1.x86_64.rpm (3)安装命令: sudo yum nccl-repo-rh 阅读全文
posted @ 2021-02-24 19:17 BlueOceans 阅读(456) 评论(0) 推荐(0)
摘要:1. 下载对应版本的驱动 https://www.nvidia.com/Download/index.aspx?lang=en-us 2. 卸载已有驱动 sudo sh NVIDIA-Linux-x86_64-390.116.run --uninstall或sudo /usr/bin/nvidia- 阅读全文
posted @ 2020-04-14 17:48 BlueOceans 阅读(16831) 评论(0) 推荐(0)
摘要:错误: 原因:使用了apex,可能原因是gcc编译版本不对,二是未使用python3执行命令 解决:1. 删掉apex目录下的build文件夹,重新编译 2. 使用 python3 执行命令,因为使用anaconda2的时候python执行的是python2 阅读全文
posted @ 2019-07-23 19:56 BlueOceans 阅读(1668) 评论(0) 推荐(0)
摘要:原因:缺少ffmpeg的支持 解决:一般opencv3.3版本及以上支持ffmpeg,实验4.1.0成功 如果出现以下问题,则是由于libsm包为安装 阅读全文
posted @ 2019-07-22 12:01 BlueOceans 阅读(9491) 评论(0) 推荐(0)
摘要:1. 选择合适的安装包下载 https://anaconda.org/pytorch/repo?type=conda&label=main 2. 安装命令: conda install 安装包 3. 安装错误: 在安装torchvision可能会出现以下错误 原因:torchvision的版本与py 阅读全文
posted @ 2019-07-19 22:21 BlueOceans 阅读(20377) 评论(0) 推荐(0)
摘要:错误 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/cv2/__init__.py", line 9, in <modul 阅读全文
posted @ 2019-07-18 21:15 BlueOceans 阅读(8208) 评论(1) 推荐(1)
摘要:http://www.openblas.net/ Linux:下载源码直接make即可 阅读全文
posted @ 2019-07-12 16:08 BlueOceans 阅读(515) 评论(0) 推荐(0)
摘要:1. 编译安装ffmpeg 下载源码,执行 ./configure --disable-yasm --enbale-shared --prefix=/usr/local/ffmpeg 即可。 2. 下载opencv并设置config 下载源码,并 git checkout 3.1.0,也可以是其他版 阅读全文
posted @ 2019-06-15 23:26 BlueOceans 阅读(5884) 评论(0) 推荐(0)
摘要:1. 下载gcc和其依赖包,并按照以下顺序安装,其中--prefix可以根据自己的情况设置路径 1)下载:ftp://ftp.gnu.org/gnu/gmp/gmp-5.0.1.tar.bz2 ./configure --prefix=/usr/local/gmp make && make inst 阅读全文
posted @ 2019-05-07 21:11 BlueOceans 阅读(3053) 评论(0) 推荐(0)
摘要:1. install the newest opencv version pip install opencv-python 阅读全文
posted @ 2019-05-04 11:44 BlueOceans 阅读(162) 评论(0) 推荐(0)