0
推荐
81
阅读
centos以rpm安装cudnn
https://developer.nvidia.com/rdp/cudnn-archivethanks to:494150793@qq.com
&j534s073J登录下载CentOS and Red Hat Linux# installing
sudo rpm -ivh libcudnn7-7.6.5.32-1.cuda10.0.x86_64.rpm sudo
# Update libraries list
sudo ldconfig
# Verify that cuDNN is installed
sudo ldconfig -p | grep cudn...
0
推荐
88
阅读
安装Airtest
1. 下载zip文件,解包目录即可绿色使用https://airtestproject.s3.netease.com/downloads/AirtestIDE/win64/AirtestIDE-win-1.2.6.zip?next_action=download®ion=idc-ba-v22. 打开AirtestIDE.exe3. usb插入手机,Android手机关于/版本号上连击8次打开调试4. 没有adb设备显示无,手机插入usb提示adb interface 找...
0
推荐
111
阅读
pytesseract安装,中文识别OCR
网上搜一堆解决问题的文章都没用1. 安装 pytesseractpip install pytesseract跑python识别程序,下列语句会报错pytesseract.image_to_string(Image.open(filename))报错:Error opening data file /usr/local/share/tessdata/eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your...
0
推荐
100
阅读
UltraEdit打开文件的编码显示
一般Unicode指UTF-16打开UTF-8,用UFT-16编辑,保存还是UTF-8状态:ASCII 编码文件显示 DOS或UNIXUTF-8 编码文件显示为 U8-DOS或U8-UNIXUTF-16编码文件显示为 U-DOS 或U-UNIX原文:https://blog.csdn.net/u011519892/article/details/17419701关于Unicode 编码,这里有篇文章 可以...
0
推荐
99
阅读
python在windows上使用multiprocessing Pool要运行在if __name__=="__main__"
解释见 https://blog.csdn.net/qq_26442553/article/details/94595715原文如下:1.执行一个python的multiprocessing.Pool进程池程序,实现多进程程序,代码如下,结果在windows下执行报错,但是在linux和unix里面执行没有报错?from multiprocessing import Pool
import time ,os ,random
def worker(msg):
...
0
推荐
85
阅读
0
推荐
105
阅读
centos 7 通过 devtoolset 安装 gcc 7.3.1 后每次打开命令
scl enable devtoolset-7 bashgcc --version
0
推荐
91
阅读
centos 安装opencv
pip install opencv-python --default-timeout 1000 -i https://pypi.mirrors.ustc.edu.cn/simple/
0
推荐
89
阅读
pip install 太慢
pip install numpy --default-timeout 1000 -i https://pypi.mirrors.ustc.edu.cn/simple/阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.e...
0
推荐
166
阅读
安装多个版本 cuda 并切换
1. 选择历史版本及补丁安装https://developer.nvidia.com/cuda-toolkit-archive$ wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run
$ sudo chmod +x cuda_10.2.89_440.33.01_linux.run
$ sudo sh cuda_10.2.89_440.33.01_linux.run
$ wget http://...
0
推荐
101
阅读
0
推荐
259
阅读
conda 安装 pytorch 下载太慢解决
改成中科大的源conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes去掉 -c
# conda install pytorch=1.1.0 torchvision cudatoolkit=10.0 -c pytorch
conda install pytorch=1.1.0 torchvision cudatoolkit=10.0 pytorch清华源,但是不好使了conda...
0
推荐
671
阅读
Centos 7 安装 CUDA11.1
查看显卡是否存在$ lspci | grep -i vga禁用Nouveau驱动$ sudo vi /etc/modprobe.d/blacklist.conf
blacklist nouveau
:wq使用 dracut重新建立 initramfs p_w_picpath file #备份 the initramfs file
$ sudo mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
#重新建立 the initramfs fil...
0
推荐
192
阅读
text2code安装
1. 下载安装git clone https://github.com/deepklarity/jupyter-text2code.git
cd jupyter-text2code
pip install .2. 打开jupyter notebookjupyter notebookIf installation happened successfully, then for the first time, Universal Sentence Encoder model will be downloaded from tensorflow_hub.3. 解决下...
0
推荐
162
阅读
centos matplotlib 中文 显示方框
1. 下载 SimHei.ttfsudo wget https://github.com/StellarCN/scp_zh/raw/master/fonts/SimHei.ttf2. 安装中文字体SimHeisudo yum install fontconfig # 包含fc-list列举可用字体 fc-cache生成字体信息缓存
sudo yum install mkfontscale # 生成字体索引
sudo mkdir /usr/share/fonts/zh_CN # 建立放中文字...