![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 60
易冷cheng
普通人
展开
-
docker 常用命令
docker 常用命令以mmdetection3d为例,先build镜像,再创建容器。# build an image with PyTorch 1.6, CUDA 10.1docker build -t mmdetection3d docker/docker run --gpus all --shm-size=8g -it -v {DATA_DIR}:/mmdetection3d/data mmdetection3ddocker run --gpus all --shm-size=8g -i原创 2021-07-16 12:11:01 · 964 阅读 · 0 评论 -
远程开发VsCode终端中运行PyQt5程序报错qt.qpa.xcb_ could not connect to display
远程开发VsCode终端中运行PyQt5程序报错qt.qpa.xcb: could not connect to display,原因是vscode没有办法显示远程的图。1.错误代码qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.This application failed to s.原创 2021-06-25 02:14:37 · 7257 阅读 · 9 评论 -
cuda,cudnn完整卸载以前版本和安装其他版本
cuda1.查看你的NVIDIA显卡驱动nvidia-smi/proc/driver/nvidia/version2.关键点:gcc降级因为Ubuntu20.04自带的gcc版本为9.3,而cuda10.1不支持gcc-9,因此要手动安装gcc-7,命令如下:sudo apt-get install gcc-7 g++-72.1设置默认的gcc安装完gcc-7,系统中就存在两个版本的gcc,因此要设置默认的gcc,命令如下:sudo update-alternatives --inst原创 2020-12-11 14:02:20 · 9942 阅读 · 0 评论 -
JupyterLab入门
JupyterLab入门该安装指南中包含更详细的说明用conda安装如果您使用conda,则可以使用以下命令进行安装:conda install -c conda-forge jupyterlab运行JupyterLab安装后,使用以下命令启动JupyterLab:jupyter-lab经典Jupyter Notebook入门康达我们建议使用conda软件包管理器安装经典的Jupyter Notebook。无论是miniconda或miniforge康达分布包括一个最小的康达安装。原创 2021-04-18 01:04:04 · 165 阅读 · 0 评论 -
colab运行在本地
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-lSxt6lS6-1618678955852)(/home/chengle/Desktop/选区_001.png)]第 1 步:安装 Jupyter在本地机器上安装 Jupyter。第 2 步:安装并启用 jupyter_http_over_ws jupyter 扩展程序(一次性)jupyter_http_over_ws 扩展程序由 Colaboratory 团队开发并在 GitHub 上提供。pip install j原创 2021-04-18 01:03:11 · 8487 阅读 · 0 评论 -
anaconda使用
anaconda使用1.conda查看版本和更新conda -Vconda update conda 2.conda查看安装了哪些包conda list3.虚拟环境3.1.查看当前存在哪些虚拟环境conda env list 或 conda info -e3.2.创建Python虚拟环境conda create -n your_env_name python=X.X(2.7、3.6等)#例子:conda create -n alphapose python=3.6 -y#原创 2020-12-11 14:06:58 · 238 阅读 · 0 评论 -
linux远程管理 SSH
1.关机/重启# 重新启动操作系统,其中 now 表示现在$ shutdown -r now# 立刻关机,其中 now 表示现在$ shutdown now# 系统在今天的 20:25 会关机$ shutdown 20:25# 系统再过十分钟后自动关机$ shutdown +10# 取消之前指定的关机计划$ shutdown -c2. 查看或配置网卡信息# 查看网卡配置信息$ ifconfig# 查看网卡对应的 IP 地址$ ifconfig | grep inet原创 2021-02-06 22:11:48 · 191 阅读 · 0 评论 -
不同版本ubuntu换源
1.先备份原本的source.list文件sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2.修改sourcesudo gedit /etc/apt/sources.list3.找到对应版本清华镜像版本Jetson处理器是arm64架构的,常用的x86换源教程都不能用! ubuntu-ports 镜像以jetson为例子:#清华源#默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释deb原创 2021-02-03 20:05:51 · 516 阅读 · 0 评论 -
安装好Ubuntu后的配置
一.安装好Ubuntu后要做的事1.更换源就是在软件更新中选择最佳服务器,手动也可以2.换成N卡驱动在软件更新中点击附加驱动,然后会让你输入一个密码,这个在后面开机时会用到,而且在开机时好像电脑的security boot要关掉。下载好驱动,应用更改好了,重启电脑,会出现一个蓝色背景的界面 perform mok management正确的做法如下:当进入蓝色背景的界面perform mok management 后,选择 enroll mok ,进入enroll mok 界面,选择 co原创 2020-12-11 14:08:35 · 838 阅读 · 1 评论