美文网首页
服务器.bashrc配置

服务器.bashrc配置

作者: bug快走开 | 来源:发表于2019-04-28 13:37 被阅读0次

cuda路径

# cuda
export LD_LIBRARY_PATH=/export/tools/cuda-9.0/lib64:$LD_LIBRARY_PATH
# cudnn
export LD_LIBRARY_PATH=/export/tools/cudnn-7.0/lib64:$LD_LIBRARY_PATH
# mkl for lpc synthesizer
export LD_LIBRARY_PATH=/export/tools/mkl/lib/intel64/:$LD_LIBRARY_PATH
 
export CUDA_HOME=/export/tools/cuda-9.0                                                                                                     
export PATH="/export/tools/cuda-9.0/bin:$PATH"

locale

export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8

tmux

if [ -z "$TMUX" ]; then
     tmux attach -t 0default || tmux new -s 0default
fi

tensorflow-gpu安装:

pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.9.0-cp35-cp35m-linux_x86_64.whl
# 设置参数和训练模型
model = gensim.models.Word2Vec(sentences, size=128, window=10, min_count=5, workers=4, sg=1)

相关文章

网友评论

      本文标题:服务器.bashrc配置

      本文链接:https://www.haomeiwen.com/subject/fzrdnqtx.html