07 2021 档案
摘要:1. 安装 daemonize 和 fontconfig sudo apt install -y fontconfig daemonize 2. 文件/etc/profile末尾加入 SYSTEMD_PID=$(ps -ef | grep '/lib/systemd/systemd --system
阅读全文
摘要:问题描述 xjun@DESKTOP-L2R4GKN:~$ docker run -it hello-world docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///v
阅读全文
摘要:1. call VS2019的编译环境 安装Visual Stutio生成工具2019【主要是MSVC,其他不用】 然后 call 自己的 vcvars64.bat,我的vcvars64.bat路径是E:\Microsoft Visual Studio\2019\BuildTools\VC\Auxi
阅读全文
摘要:1. 概述 线性规划:在线性等式和不等式约束下最小化线性目标函数。 线性编程可解决以下形式的问题: \[ \begin{aligned} \min _{x} c^{T} x & \\ \text { such that } & A_{u b} x \leq b_{u b}, \\ & A_{e q}
阅读全文
摘要:1. 为什么升级Win10 据说Windows10内部版本低于20145时,WSL2无法使用GPU,就无法在ubuntu子系统下用GPU跑代码训练模型! 关于这点我没有验证!! 1.1 如何查看Win10版本 win + R,输入winver回车即可获得当前Windows版本号。 如图所示我的系统不
阅读全文
摘要:1. 问题1 在阅读detectron2代码时,经常能看到@符号,例如在init函数上搞了一个@configurable,实例化RetinaNet类时没有先执行init内的代码,而是直接进入了config.py的configurable函数,让人很是不解。 class RetinaNet(nn.Mo
阅读全文

浙公网安备 33010602011771号