- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 proxy config
touch proxyon.txt: export http_proxy=http://172.16.1.15:8080 export no_proxy="127.0.0.1,localhost,.localdomain.com" export https_proxy=$http_proxy \ ftp_proxy=$http_proxy \ rsync_proxy=$http_proxy \ all_proxy=$http_proxy \ HTTP_PROXY=$http_proxy \
2021-12-16 13:59:30
1868
原创 cuda 切换
second install cuda: #先执行下面的命令安装相关依赖, #否则会出现`Missing recommended library`错误 sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev sudo sh cuda_8.0.61_375.26_linux.run #开始安装 Inst
2021-12-09 15:28:05
1330
原创 bash zshrc ssh
chsh(change shell) -s代表参数 sudo chsh -s /bin/zsh(bin/bash)修改全局的shell 为zsh(bash) chsh -s $(which zsh)查看当前的shell编辑器 dkpg(base of the package management system) dpkg is a command line way to install from .deb or remove already installed packages. ...
2021-12-09 10:51:26
741
原创 DETECTRON2
UBUNTN18.04 CUDA10.2 GCC7.5.0 torch==1.10.0 torchvision==0.11.1 pycocotools 第一步: git clone https://github.com/cocodataset/cocoapi.git cd cocoapi/PythonAPI python setup.py build_ext install 第二步: pip install cython 第三步: git clone https://github.com/fac
2021-12-07 14:05:11
145
原创 设置ubuntn终端的语法高亮
sudo apt update sudo apt install zsh zsh --version whereis zsh 设置ZSH为当前登录用户的默认SHELL sudo usermod -s /usr/bin/zsh $(whoami) reboot 按键2 安装oh my zsh wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh 安装插件: sudo a
2021-11-09 14:09:44
507
原创 yolov5 pytorch 训练
data--yaml cfg---yaml 训练: # Train YOLOv5s on COCO128 for 3 epochs $ python train.py --img 640 --batch 16 --epochs 3 --data coco128.yaml --weights yolov5s.pt --cfg xx.yaml vis: pip install -q wandb import wandb wandb.login() test: python detect.py.
2021-11-03 17:03:10
452
原创 ubuntn分区
cat 命令就是用于查看ubuntu中文本文件的内容的命令 grep:ubuntu中的grep命令是用来过滤出一个文件中对自己有用的信息的。 eg: cat /proc/meminfo |grep MemTotal 用于过滤出内存中的内存大小。 touch: 格式:touch命令用于创建文件,可以同一时间创建多个文件。 eg: touch test1 test2 test3 cat命令用于查看文件内的信息。如果只想查看某一项内容时,要加上grep选项。 eg:cat /proc/memi...
2021-11-03 16:45:58
149
原创 cuda cudnn 配置
下载cuda对应的版本:CUDA Toolkit 11.4 Downloads | NVIDIA Developer 配置bashrc里面的环境: export PATH=/usr/local/cuda-10.2/bin${PATH:+:${PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 下载cudnn版本: cuDNN Archive | NVIDIA .
2021-11-03 16:12:37
344
原创 github常用的命令
安装lfs,上传大文件 1 git --version curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh sudo apt-get install git-lfs git-lfs install 2 git lfs track "*.pth" 文件的格式 git add .gitattributes git add JavaCoreOne.pth git commit -m
2021-10-28 13:30:15
115
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅