随笔分类 -  linux

摘要:一、安装qt5.9.2 1.安装依赖 yum groupinstall "C Development Tools and Libraries"yum install libgl libgl-develyum install mesa-libGL-devel mesa-libGLU-devel fre 阅读全文
posted @ 2022-01-26 14:20 闪光123 阅读(1190) 评论(0) 推荐(0) 编辑
摘要:1.安装pm2: npm install -g pm2 2.在启动文件夹内新建文件processes.json: { "apps": [ { "name": "schedulingBack", "cwd": "/root/zdy/project/schedulingBack", "script": 阅读全文
posted @ 2022-01-14 10:57 闪光123 阅读(662) 评论(0) 推荐(0) 编辑
摘要:1.查看是不是没安装xftp,xshell上的那个按钮只是启动按钮 2.还是不行的话,试试在linux上安装这个: yum install lrzsz 阅读全文
posted @ 2022-01-14 09:41 闪光123 阅读(450) 评论(0) 推荐(0) 编辑
摘要:基于HubServing的部署 1. 准备环境# 安装paddlehub pip3 install paddlehub --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple # 设置环境变量 export PYTHONPATH=.2. 安装服务模 阅读全文
posted @ 2021-01-22 18:02 闪光123 阅读(1359) 评论(0) 推荐(0) 编辑
摘要:一.安装Paddle C++引擎 1.git clone https://github.com/PaddlePaddle/Paddle.git 2.sudo nvidia-docker run --name paddle-test -v $PWD:/Paddle --network=host -it 阅读全文
posted @ 2021-01-22 17:48 闪光123 阅读(962) 评论(0) 推荐(0) 编辑
摘要:一、安装docker 1.更新apt软件包索引并安装软件包以允许apt通过HTTPS使用存储库: $ sudo apt-get update $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-a 阅读全文
posted @ 2021-01-22 17:36 闪光123 阅读(1129) 评论(0) 推荐(0) 编辑
摘要:先在官网上下载对应的包 sudo apt-get install linux-sourceuname -rsudo apt-get install linux-headers-4.15.0-118-genericsudo chmod a+x ./NVIDIA-Linux-x86_64-450.57. 阅读全文
posted @ 2020-09-28 15:26 闪光123 阅读(332) 评论(0) 推荐(0) 编辑
摘要:1.安装 apt-get install curlapt-get install libcurl4-gnutls-dev 2.如果使用的是CMakeLists.txt,加入 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lcurl") TARGET_LINK_LI 阅读全文
posted @ 2020-09-24 16:38 闪光123 阅读(1028) 评论(0) 推荐(0) 编辑
摘要:yolov3: # -*- coding: utf-8 -* import numpy as np import cv2 as cv import os import time yolo_dir = '/home/ubuntu/model/yolo4-tiny' # YOLO文件路径 weights 阅读全文
posted @ 2020-09-04 17:48 闪光123 阅读(1977) 评论(0) 推荐(0) 编辑
摘要:解压压缩包后,进入对应文件夹 mkdir build cd build 执行: cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=~/opencv-4.4.0 .. make sudo make install cd ~/ sudo 阅读全文
posted @ 2020-09-04 17:45 闪光123 阅读(277) 评论(0) 推荐(0) 编辑
摘要:1.下载安装依赖:https://github.com/wizyoung/YOLOv3_TensorFlow2.将yolov3.weights放到~/test/YOLOv3_TensorFlow-master/data/darknet_weights文件夹中,voc_names.txt里写入训练的类 阅读全文
posted @ 2020-08-26 14:35 闪光123 阅读(1476) 评论(0) 推荐(0) 编辑
摘要:ubuntu16.04: mkdir ~/.pipgedit ~/.pip/pip.conf [global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple/ [install]trusted-host = pypi.tuna.tsinghu 阅读全文
posted @ 2020-07-20 09:31 闪光123 阅读(181) 评论(0) 推荐(0) 编辑
摘要:1.nvidia-smi看看对应驱动的版本,如果没有还得先去下载驱动,https://www.nvidia.com/,或者先查询好显卡型号和驱动、cuda版本对应的关系,然后进入第二步,下载对应的安装包,包里有对应的驱动。 2.安装cuda, https://developer.nvidia.com 阅读全文
posted @ 2020-07-10 16:42 闪光123 阅读(5233) 评论(0) 推荐(0) 编辑
摘要:1.安装依赖文件。 sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compilersudo apt-get install --n 阅读全文
posted @ 2020-06-11 12:01 闪光123 阅读(425) 评论(0) 推荐(0) 编辑
摘要:突然就用不了pip3了,奇怪 强制重新安装pip3 wget https://bootstrap.pypa.io/get-pip.pysudo python3 get-pip.py 虽然有警告,但是表示看不懂,能用就行 阅读全文
posted @ 2020-06-11 11:09 闪光123 阅读(2281) 评论(0) 推荐(0) 编辑
摘要:前提: Python3+qt5 1.官网下载 https://github.com/tzutalin/labelImg 2.解压并cd到解压的目录下 3.make qt5py3 4.python3 labelImg.py 阅读全文
posted @ 2020-05-29 09:58 闪光123 阅读(440) 评论(0) 推荐(0) 编辑
摘要:pip超时了,这样 pip --default-timeout=100 install XXX 但还是超时, pip --default-timeout=1000 install XXX 嘿嘿嘿,成功了 后来发现可以更改临时镜像,国内镜像源: 清华:https://pypi.tuna.tsinghu 阅读全文
posted @ 2020-05-27 16:10 闪光123 阅读(6212) 评论(0) 推荐(0) 编辑
摘要:1.cmake:在http://www.cmake.org/files找到自己想下的版本,这里下载3.6.2 sudo apt-get install build-essential wget https://cmake.org/files/v3.6/cmake-3.6.2.tar.gztar xf 阅读全文
posted @ 2020-05-26 08:56 闪光123 阅读(701) 评论(0) 推荐(0) 编辑
摘要:老方法,换源: 1、编辑/etc/hosts sudo gedit /etc/hosts 2、在hosts文件末尾添加如下格式: 192.30.253.112 github.com151.101.44.249 github.global.ssl.fastly.net 3、更新DNS缓存 sudo / 阅读全文
posted @ 2020-05-25 11:52 闪光123 阅读(919) 评论(0) 推荐(0) 编辑
摘要:在百度搜索–>ubuntu镜像站–>选择清华的镜像源–>进去选择ubuntu—>选择ubuntu的版本(这里以16.04的为例)–>复制里面的内容:(内容如下,不过一直在更新,我们可以安装上面的步骤去搜索即可) 1.先备份系统的/etc/apt/sources.list cp /etc/apt/so 阅读全文
posted @ 2020-05-25 11:47 闪光123 阅读(962) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示