![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ubuntu
zhanglinjiang1234
这个作者很懒,什么都没留下…
展开
-
conda 安装pytorch 0.4.1
现在 0.4.1真的安装太少:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/?C=S&O=A上清华源头直接下载,根据大小判断原创 2019-12-10 10:16:40 · 2450 阅读 · 0 评论 -
Windows, Linux, python编程的中文问题
最近遇到之前一个人处理数据用的是Windows下的python,而我又必须用Linux 下的python2, 所以这个问题就是编码格式十分混乱,但在看来这篇文章之后豁然开朗,感谢作者。https://blog.csdn.net/fitzzhang/article/details/51682983需要先将Windows下的按照GBK格式解码,再用utf-8编码,就可以和linux 下一样了。...原创 2019-11-30 14:25:45 · 148 阅读 · 0 评论 -
pip 和 conda清华镜像使用指南
1、在使用pip时候添加清华源:-i https://pypi.tuna.tsinghua.edu.cn/simple上面为清华源,在使用pip 的时候 使用将your_package_name换成自己需要安装的包名:pip install [your_package_name] -i https://pypi.tuna.tsinghua.edu.cn/simple2、...原创 2019-11-12 09:38:03 · 764 阅读 · 1 评论 -
libxml2-dev : Depends: libxml2 (= 2.9.3+dfsg1-1) but 2.9.3+dfsg1-1ubuntu0.5 is to be installed
ubuntu16.04在安装torch的sudo bash install-deps 命令的时候,出现了有libxml2-dev破损包存在libgraphicsmagick1-dev : Depends: libxml2-dev but it is not going to be installedE: Unable to correct problems, you have held br...原创 2019-03-05 10:16:49 · 3755 阅读 · 1 评论 -
Ubuntu16.04安装torch loadcaffee luarocks hdf5 libcudnn 一站式解决
已经装了不下十台服务器的lua, torch,第一次花了十天,现在总结如下:1、查看cuda版本和cudnn版本nvcc -Vcat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2cudnn 为三个数字连起来就是版本。2、Ubuntu16.04 安装 torchgit clone https://...原创 2019-03-09 19:08:51 · 1213 阅读 · 0 评论