mxnet支持python调用 ###cd python; python setup.py install ##Conda 创建一个名为python27的环境,指定版本是2.7 conda create --name python27 python=2.7 source activate python27 ##Conda显示所有的环境 conda info -e ##返回默认的python环境 source deactivate python27 ## 删除一个已有的环境 conda remove --name python27 --all ##Conda 安装opencv conda install -c https://conda.binstar.org/menpo opencv ## Conda 设置清华源 conda config --add channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free conda config --set show_channel_urls yes ## 安装 GPU版本MXNET(CUDA 8.0 ) pip install mxnet-cu80==1.0.0 ls -s to-path/VOCdevkit /to-path/mxnet-ssd/data/VOCdevkit cd to-path/mxnet-ssd sh tools/prepare_pascal.sh python train.py ##ImportError: No module named matplotlib.pyplot pip install matplotlib ##ImportError: No module named builtins pip install future ##No module named scipy.misc pip install scipy ## OSError cublasSeg: cannot open shared object file: No such file or directory conda search cudatoolkt conda install cudatoolkit ## 运行mxnet-ssd出现问题 RuntumeError: matplotlib and libpng issues with ipython notebook 原因是conda默认安装的opencv2.4.11使用了libpng1.5 而conda安装的是libpng1.6,导致不兼容 解决方法: 卸载opencv: conda uninstall opencv 下载opencv2.4.11.zip 重新编译,将编译好的cv2.so拷贝到anaconda/lib/python2.7/site-packages/ 注意检查libpng使用的是libpng1.6版本 ## stream_gpu-inl.h:115: Check failed: err == CUBLAS_STATUS_SUCCESS (1 vs. 0) 解决方法可以采用conda install cudatoolkit 重新安装一下cudaToolKit
unbuntu14.04安装mxnet遇到的一些问题(未整理)
最新推荐文章于 2024-07-17 19:54:45 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)