深度学习服务器配置
qq_34429849
这个作者很懒,什么都没留下…
展开
-
UBUNTU系统VS Code报错 “The ‘clang-format‘ command is not available. Please check your clang-format.“
sudo apt-get install clang-format原创 2022-09-21 19:34:57 · 506 阅读 · 0 评论 -
from PIL import Image, ImageOps, ImageEnhance, PILLOW_VERSION ImportError: cannot import name ‘PILLO
from PIL import Image, ImageOps, ImageEnhance, PILLOW_VERSIONImportError: cannot import name 'PILLOW_VERSION' from 'PIL'原创 2022-09-11 12:42:14 · 1374 阅读 · 1 评论 -
qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in even though it was found.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in even though it was found.原创 2022-09-01 19:41:53 · 841 阅读 · 0 评论 -
安装docker,换国内源并修改其的默认存储位置,安装gpu支持
首先安装docker:直接参看https://www.runoob.com/docker/ubuntu-docker-install.html使用命令curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun然后修改默认位置:参考:https://www.cnblogs.com/immortalBlog/p/12102779.html比较简单,sudo vim /etc/docker/daemon.json直接原创 2022-02-26 14:13:55 · 507 阅读 · 0 评论 -
从docker hub上下载pytorch的相应的镜像
因为考虑到总是用pytorch的镜像,所以考虑直接拉一个pytorch的镜像,懒得直接安装第一步进入docke hub页面 https://hub.docker.com/,直接搜索pytorch,然后选择如下图的pytorch官方的镜像:然后选择自己需要的版本,我选择的是1.6的版本,然后选好最后点击这里复制,得到docker pull pytorch/pytorch:1.6.0-cuda10.1-cudnn7-devel然后直接输入命令行,可以得到镜像了:...原创 2022-05-25 00:49:04 · 3809 阅读 · 0 评论 -
docker 创建好容器之后,修改设置参数共享内存
首先要关闭docker, 否则下面的操作步骤会无效!!参考:https://blog.csdn.net/gg864461719/article/details/112466585直接查看使用docker ps -a查看需要修改的容器的id,然后再vim hostconfig.json比如因为共享内存没设置好,或者-v的路径没设置够,那么都可以改:这是共享内存不够的问题:Unexpected bus error encountered in worker. This might be原创 2022-02-26 22:35:27 · 1239 阅读 · 0 评论 -
linux下使用python脚本查看CUDA和CUDNN版本
查看CUDA版本的命令如下:cat /usr/local/cuda/version.txt查看CUDNN版本:cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2但是如果找不到的话,有时候不在这whereis cudawhereis cudnn找到对应的位置就行,然后把上边的对应位置换了这样就找到了,cudnn7.6.5参考https://blog.csdn.net/leviopku/article/detail原创 2021-04-07 00:40:12 · 379 阅读 · 0 评论 -
解决我遇到的apt-get ,(Depends: AAA(>= BBB)but it is not going to install)的问题
因为我直接把ubuntu16的源复制给了18的系统,报错,网上查说要换源我没懂啥意思。。。原来每个版本的源不一样,这里贴一下清华的16和18的源修改源文件source.list(1)终端执行命令:sudo chmod 777 /etc/apt/source.list更改文件权限使其可编辑;(2)执行命令:sudo gedit /etc/apt/source.list打开文件进行编辑;(3)删除原来的文件内容,复制下面的任意一个到其中并保存;18版本deb https://mirrors.tun原创 2020-08-16 20:53:21 · 370 阅读 · 0 评论 -
服务器中使用Docker容器显示图形界面GUI到本地
因为系统装了16的ubuntu系统,但是open3d目前显示功能只是支持18及以上的系统,所以用来docker容器,为了有显示,我采用了其他博主提到的第二种方法,第一种没成功,好像是因为不支持那个服务。在服务器端宿主安装如下安装xserver$ sudo apt install x11-xserver-utils许可所有用户都可访问xserverxhost +B.在docker 容器创建时-v /tmp/.X11-unix:/tmp/.X11-unix-e DISPLAY=:0例如:原创 2020-08-10 19:17:23 · 2518 阅读 · 5 评论