chainer安装GPU版过程中的问题
来源:互联网 发布:黑龙江财经学院数据库 编辑:程序博客网 时间:2024/05/16 18:38
1.UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 34: ordinal not in range(128)
python的str默认是ascii编码,和unicode编码冲突.于是在/usr/lib/python2.7/dist-packages/pip/basecommand.py
import sysreload(sys)sys.setdefaultencoding('utf8')如果utf-8也不行,现在基本我可以确定是我的某些路径有中文字符,则换成
sys.setdefaultencoding('gbk')
2. pip error: unrecognized command line option‘-fstack-protector-strong’
gcc版本低了,原来是4.7~~新加入的c++ 11标准,需升级到4.9
sudo add-apt-repository ppa:ubuntu-toolchain-r/testsudo apt-get updatesudo apt-get install gcc-4.9sudo apt-get install g++-4.9cd ../../usr/binln -s /usr/bin/g++-4.9 /usr/bin/g++ -fln -s /usr/bin/gcc-4.9 /usr/bin/gcc -f
3。Cuda和cudnn 或者no file cudnn.h
在
~/.bashrc最下面加入
export CUDA_PATH=/usr/local/cuda-7.5$CUDA_PATHexport PATH=/usr/local/cuda-7.5/bin$PATHexport LD_LIBRARY_PATH=/usr/local/cuda7.5/lib64$LD_LIBRARY_PATHexport CPATH=/cudnn/include$CPATHexport LIBRARY_PATH=/cudnn/lib64$LIBRARY_PATHexport LD_LIBRARY_PATH=/cudnn/lib64$LD_LIBRARY_PATH
附:
一、临时设置
export PATH=/home/yan/share/usr/local/arm/3.4.1/bin:$PATH
二、当前用户的全局设置
打开~/.bashrc,添加行:
export PATH=/home/yan/share/usr/local/arm/3.4.1/bin:$PATH
使生效
source .bashrc
三、所有用户的全局设置
$ vim /etc/profile
在里面加入:
export PATH=/home/yan/share/usr/local/arm/3.4.1/bin:$PATH
4. bash ./没有那个文件或目录
apt-get install ia32-libs
4.warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
- chainer安装GPU版过程中的问题
- Cuda+Chainer训练Artistic style模型GPU加速配置
- oracle11g安装过程中的问题
- 安装Magento过程中的问题
- php 安装过程中的问题
- mysql安装过程中的问题
- oracle 安装过程中的问题
- java安装过程中的问题
- Eclipse 安装过程中的问题
- caffe安装过程中的问题
- Oracle安装过程中的问题
- kaa安装过程中的问题
- hadoop安装过程中的问题
- hadoop安装过程中的问题
- moviepy安装过程中的问题
- Ubuntu16.04安装CUDA+cuDNN+GPU版TensorFlow过程记录
- ananconda安装tensorflow-gpu问题
- win10+Tensorflow+GPU详细的安装过程
- 工作中遇到的一个小逻辑 任意长度字符串按照自定义长度平均分割为list 贴出来有特殊情况会用到
- Project
- saltStack的event接口通过mysql数据库接收SaltStack批量管理日志
- IntelliJ IDEA 实用快捷键
- 8/8刷题记录
- chainer安装GPU版过程中的问题
- MySQL 数据库中日期与时间函数
- ios navigationBar颜色比实际设置值浅的解决方法
- ZOOKEEPER基础知识
- C语言 assert()函数
- js时钟代码
- POJ 3468 A Simple Problem with Integers 区间和更新,区间和查找
- QCA4010开发板的DEMO编译总结
- 无法打开cufft.lib文件以及无法解析cufft的相关的外部符号的解决方法