随笔分类 - linux
摘要:nvidia与gdm/gdm3不兼容 按 ctrl+alt+F2进入tty界面 sudo apt update sudo apt remove gdm3 //如果没有就gdm sudo apt autoremove sudo apt install lightdm sudo reboot 其他光标问
阅读全文
摘要:opencv4.5.0/opencv3.4.16 一、 set(OpenCV_DIR "/usr/local/share/OpenCV") #OpenCVConfig.cmake所在的文件目录 find_package(OpenCV REQUIRED) include_directories(${O
阅读全文
摘要:(base) lhw@lhw-Dell-G15-5511:~/Softwares/3rd/opencv_3/opencv-3.4.16/build$ sudo ldconfig /sbin/ldconfig.real: /usr/local/cuda-11.1/targets/x86_64-linu
阅读全文
摘要:/usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constan
阅读全文
摘要:查看安装的gcc/g++版本 ls /usr/bin/g++* ls /usr/bin/gcc* 查看当前使用的gcc/g++版本 gcc -v g++ -v 安装另一个版本 sudo apt-get install gcc-9 sudo apt-get install g++-9 切换gcc/g+
阅读全文
摘要:1.创建快捷方式 cd /usr/share/applications sudo gedit typora.desktop 写入以下内容 [Desktop Entry] Encoding=UTF-8 Name=app_name Exec=/path/to/bin Icon=/path/to/img
阅读全文
摘要:慎重安装最新版的cuda吧,看看当前版本的pytorch和tensorflow支不支持最新的cuda,最好选个两个都支持的cuda版本,安装流程是一样的 1.检查自己电脑支持的cuda lhw@lhw-Dell-G15-5511:~$ nvidia-smi Wed Oct 20 00:00:21 2
阅读全文
摘要:Deepin github地址:https://github.com/wszqkzqk/deepin-wine-ubuntu 1.添加安装源 wget -O- https://deepin-wine.i-m.dev/setup.sh | sh 2.安装QQ、微信 微信:sudo apt-get in
阅读全文
摘要:1.安装依赖 sudo apt-get update sudo apt-get install -y build-essential pkg-config cmake git wget curl unzip //g2o dependencies sudo apt-get install -y lib
阅读全文
摘要:linux // 创建、删除文件夹 void mkdir_output(const string &output_path){ if (access(output_path.c_str(), 0) == -1) { // mkdir(output_path.c_str(),S_IRUSR | S_I
阅读全文
摘要:查看当前系统内核 sudo dpkg --get-selections | grep linux 查看当前使用的内核 uname -a //如果出现不存在,则跳过 卸载不用的内核 sudo apt remove linux-image-5.8.0-59-generic sudo apt remove
阅读全文
摘要:vcpkg通过将环境变量设置VCPKG_ROOT为指向其路径或使用cmake参数,可以在所有主要平台上自动获取和构建依赖项-DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake。 将build产生的exe文件和l
阅读全文
摘要:查看当前内核版本 uname -r 5.8.0-48-generic 查看安装的内核 dpkg --get-selections| grep linux linux-image-5.8.0-41-generic deinstall linux-image-5.8.0-43-generic deins
阅读全文
摘要:环境和上一篇安装caffe是一样的,安装openpose的难点主要是caffe的安装。。 正文。。。 依赖: Ubuntu20.04 cuda10.1 cudnn7.6.0 OpenCV4.5.1 Python 3.8+Numpy 1. 下载源码及模型 这一步下载速度可能很慢,除非你能xx,原因你们
阅读全文
摘要:cuda11估计可行(可以试试^_^),实在折腾没办法了(降低了cudnn版本),装了cuda10.1+cudnn7.6.0 安装caffe的主要目的是用来装openpose的环境,但是实际上单独安装caffe环境并不能直接用到openpose上,需要下载openpose自带的caffe版本。这篇仅
阅读全文
摘要:训练 python train.py --data data/voc.yaml --cfg models/yolov5l.yaml --weights weights/yolov5l.pt --batch-size 64
阅读全文
摘要:查看显卡驱动: nvidia-smi 报错: NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is instal
阅读全文
摘要:和上一篇yolov3的流程差不多,只是更改yolo的cfg文件和预训练的权重不同,将操作移至./darknet/build/x64文件夹内,将./darknet/下的darknet执行文件复制到./darknet/build/x64/下 cfg主要更改 1. 分辨率为416*416,如果你的显卡内存
阅读全文
摘要:tar/tar.gz 解包:tar zxvf filename.tar 打包:tar czvf filename.tar dirname 解压文件到指定文件夹: tar -zxvf fenci.py.tar.gz -C pythontab/ zip 解压:unzip filename.zip / u
阅读全文
摘要:sudo apt install ca-certificates 更改conda源 conda官方示例清华镜像源 出现CondaHTTPError: HTTP 000 CONNECTION FAILED for url这个错误,直接重新配置源地址即可 conda config --add chann
阅读全文
浙公网安备 33010602011771号