赞
踩
https://zhuanlan.zhihu.com/p/115758882
https://blog.csdn.net/lovely_yoshino/article/details/107288684
timeshift backup 1
https://zhuanlan.zhihu.com/p/122286055
https://blog.csdn.net/wanzhen4330/article/details/81699769
timeshift backup 2
https://blog.csdn.net/qq_15192373/article/details/81091098
https://blog.csdn.net/qq_15192373/article/details/81091278
https://blog.csdn.net/qq_20515461/article/details/90745100
https://blog.csdn.net/hello_dear_you/article/details/84677743
timeshift backup 3
issue:https://github.com/pytorch/pytorch/issues/51080
solution:conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch
https://blog.csdn.net/BigData_Mining/article/details/87868711
https://blog.csdn.net/hangvane123/article/details/88639279
timeshift backup 3
docker swarm install
使用Portainer的Agent模式管理DockerSwarm集群
#添加docker用户组
sudo groupadd docker
#将登陆用户加入到docker用户组中
sudo gpasswd -a $USER docker
#更新用户组
newgrp docker
#测试docker命令是否可以使用sudo正常使用
docker ps
先设置 系统语言为中文
https://www.fcwys.cc/archives/145.html
shipyard 操作
http://valleylord.github.io/post/201601-docker-shipyard/
https://blog.csdn.net/greenwoodp/article/details/104533384?spm=1001.2014.3001.5501
創建容器注意清華源與系統對應和基礎鏡像與cuda,ubuntu版本對應
https://blog.csdn.net/hangvane123/article/details/88639279
deepo
SSH 登錄不上(密碼正確)#號注釋去掉
PermitRootLogin yes #允许root用户ssh登录
https://www.jianshu.com/p/0511decff9f8
vscode 找不到管道
设置系统环境变量和vscode sshPath
sudo nvidia-docker run -dit --restart=always -v /home/docker-common-dir:/home/common-dir -p6003:8888 --name=vm_wjm1 -h=LAB_WJM deepo-ssh:1.0 /home/startup.sh
https://segmentfault.com/a/1190000012365747
1.拉取镜像
docker pull image_name
nvidia-docker run -dit -v local-path:path-in-container -p 10089:8889 -p 10022:22 --name=container-name -h=hostname-of-container image-name comand-line
nvidia-docker run -dit -v $PWD:/data -p10089:8889 -p10022:22 --name=robosat_wjm_p2289 deepo-pytorch-ssh-jupyter:1.0 /home/startup.sh
-d:后端运行
-it:伪终端
--name:容器名称,双杠
service ssh start
git clones https://github.com/mapbox/robosat.git
安装依赖
cd robosat/
pip install -r requirements.txt
Could not find libspatialindex_c library file
apt install python3-rtree
pyproj.exceptions.CRSError: Invalid projection: esri:54009 +type=crs: (Internal Proj Error: proj_create: crs not found)
更新pyproj
训练
配置toml 文件
./rs train --model ./config/model-unet.toml --dataset …/dataset-building-weights.toml
RuntimeError: NCCL Error 2: unhandled system error
os.environ[“CUDA_VISIBLE_DEVICES”]=‘0’
设置单gpu,目前不知如何多显卡
保存为镜像 重新创建容器 设置可用的显卡
nvidia-docker run -dit -v $PWD:/data -p10089:8889 -p10022:22 --name=robosat_wjm -e NVIDIA_VISIBLE_DEVICES=0,1 robosat_eviron:1.0 /home/startup.sh
启动时停在“recovering journal”错误,画面不变后 ctr+alt+f1, 删除多余文件
https://www.cnblogs.com/xuliangxing/p/7642650.html
https://www.cnblogs.com/xuliangxing/p/7560723.html
github 与vscode 同步:https://www.cnblogs.com/pxuan/p/12536747.html
github建立仓库,
本地建目录,git init
git config --global user.email (user.name)
生成ssh key 放到github关联
ssh-keygen -t rsa -C “myname@mymail.com”
将本地仓库与github仓库关联
git remote add mycode git@github.com:myname/myrepo.git
然后将代码放到本地仓库目录中
先添加文件
git add -A
提交本地仓库
git commit -a
push 到github
git push --force mycode master
使用gitlab_docker 搭建本地仓库
docker下安装gitlab出现权限问题Permission denied (publickey)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。