摘要: 编写xxx.service cd /etc/systemd/system/ sudo nano xxx.service 填写以下内容: [Unit] Description=XXXX After=network.target [Service] ExecStart=/bin/bash /opt/le 阅读全文
posted @ 2024-04-11 14:41 风间悠香 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 一、远程机器准备 cmake gcc g++ gdb 二、 阅读全文
posted @ 2023-07-25 16:30 风间悠香 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 一、安装WSL2下的Ubuntu20.04 1)打开windows WSL服务 # 以管理员身份运行 PowerShell dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /no 阅读全文
posted @ 2023-07-25 12:34 风间悠香 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 一、安装fontconfig daemonize sudo apt install -y fontconfig daemonize 二、修改/etc/profile # 在末尾添加以下内容 SYSTEMD_PID=$(ps -ef | grep '/lib/systemd/systemd --sys 阅读全文
posted @ 2023-07-25 12:04 风间悠香 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 1.安装CUDA和CudNN 略.. 2.更新cmake 1)下载cmake源码 wget https://cmake.org/files/v3.13/cmake-3.13.3-Linux-x86_64.tar.gz 2)解压 tar zxvf cmake-3.13.3-Linux-x86_64.t 阅读全文
posted @ 2023-05-06 17:03 风间悠香 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 一、系统准备 1.系统准备 # 环境准备 yum -y install kernel-devel yum -y install epel-release yum -y install dkms yum -y install gcc 2.禁用默认显卡 vim /etc/default/grub # 修 阅读全文
posted @ 2023-02-07 11:26 风间悠香 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/wangwangfei/p/13380885.html 一、安装准备 sudo yum install -y curl policycoreutils-python openssh-server sudo systemctl enable ssh 阅读全文
posted @ 2022-06-02 10:00 风间悠香 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 一、安装VS2019 Detectron2的编译需要利用的VS环境,这里采用2019版本。 下载VS2019:https://visualstudio.microsoft.com/zh-hans/vs/ 安装时选择: 安装完毕后,检查一下目录,确保没有问题: 二、安装Cuda和Pytorch 1.安 阅读全文
posted @ 2022-05-12 14:26 风间悠香 阅读(842) 评论(0) 推荐(0) 编辑
摘要: 1.安装CUDA 1.1 下载CUDA CUDA toolkit下载地址:https://developer.nvidia.com/cuda-toolkit-archive 选择11.1.0版本进行下载(11.x版本才支持8.6算力显卡,例如RTX 3090) 安装cuda 11.1.0需保证NVI 阅读全文
posted @ 2022-04-14 09:57 风间悠香 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 一、整型 1.整型 在Golang中包含有符号和无符号两种整形,按可保存值的范围大小可分为以下: 有符号整型: int8 (-128~127) int16 (-32768~32767) int32 (-2147483648~2147483647) int64 (-922337203685477580 阅读全文
posted @ 2021-04-30 18:23 风间悠香 阅读(163) 评论(0) 推荐(0) 编辑