摘要: 个人使用体验,conda环境非常容易出现问题,故非常不建议在base(默认环境)中使用,应新建环境,在新环境中使用 创建新环境 名称为XXX python版本号为3.7 conda create --name XXX python==3.7 删除名为XXX的环境 conda remove --nam 阅读全文
posted @ 2022-11-25 16:08 雪夜羽 阅读(87) 评论(0) 推荐(0)
摘要: docker ps 查看运行中的容器 docker images 查看本机镜像 docker pull XXX:123 拉取名称为xxx的版本号为123的镜像 docker search xxx 查找名称为xxx的镜像 docker run -itd --name 容器名称 镜像名称 /bin/ba 阅读全文
posted @ 2022-10-28 13:36 雪夜羽 阅读(43) 评论(0) 推荐(0)
摘要: Python 安装包镜像 https://registry.npmmirror.com/binary.html python PYPI镜像 http://pypi.doubanio.com/simple/ git 常用命令 git clone XXX.git 下载 克隆 git仓库到本地目录 可选 阅读全文
posted @ 2022-08-22 18:56 雪夜羽 阅读(413) 评论(0) 推荐(0)
摘要: python 不输出warning信息 加入 -W ignore 参数Python -W ignore XXX.pyPython 多进程同一函数执行多进程,使用 apply_async 函数参考https://www.cnblogs.com/ailiailan/p/11850710.htmlimpo 阅读全文
posted @ 2022-08-16 17:44 雪夜羽 阅读(362) 评论(0) 推荐(0)
摘要: 1 pyTorch 多卡运行代码 一般pytorch多卡运行,最好使用此方法 python -m torch.distributed.launch —nproc_per_node 例如 python -m torch.distributed.launch —nproc_per_node 2 trai 阅读全文
posted @ 2022-08-01 14:36 雪夜羽 阅读(4169) 评论(0) 推荐(0)
摘要: tmux 创建新终端,关闭后在后台可继续运行。 tmux 可以在linux创建新终端,然后在tmux创建的终端里,关闭ssh连接或窗口后可以继续运行。 使用tmux创建一个终端 创建并进入(最简单) 名称为0 tmux 创建并进入 名称为test tmux new -s test 切换到系统的终端 阅读全文
posted @ 2022-08-01 09:47 雪夜羽 阅读(1670) 评论(0) 推荐(0)
摘要: 现象 开机进入grub 解决方法: ls 命令 查看有那些分区 如(hd0,msdos1)、(hd0,gpt1)等 Msdos是 mbr分区表 gpt是gpt分区表 查找自己的boot分区和根分区 如 ls (hd0,6)/ 查看0号硬盘的第6个分区的内容 参照 deepin wiki 启动修复 h 阅读全文
posted @ 2021-09-29 20:08 雪夜羽 阅读(680) 评论(0) 推荐(0)
摘要: 问题描述: arcgis符号库点开没有符号,无法创建个人地理信息数据库 .mdb文件 1 检查路径权限问题,文件夹的权限以及,arcmap或者catalog用管理员运行 2. 如果其他路径都不可以,如c、d、e盘都不可以,可以尝试重置模板文件。appdata文件夹下的 roaming-esri-de 阅读全文
posted @ 2021-06-12 20:12 雪夜羽 阅读(2102) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/touch-skyer/p/9150039.html给出的是 F [(W-F+1)/s] F 是向上取整https://blog.csdn.net/wuzqChom/article/details/74785643?utm_medium=distrib 阅读全文
posted @ 2020-10-08 19:13 雪夜羽 阅读(177) 评论(0) 推荐(0)
摘要: 深度学习 gpu 环境搭建 阅读全文
posted @ 2020-09-24 19:43 雪夜羽 阅读(521) 评论(0) 推荐(0)