自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(69)
  • 收藏
  • 关注

原创 docker,nvidia-docker安装

卸载先前的dockerDocker 的旧版本被称为 docker,docker.io 或 docker-engine 。如果已安装,请卸载它们:sudo apt-get remove docker docker-engine docker.io containerd runc使用 Docker 仓库进行安装设置仓库更新 apt 包索引sudo apt-get update安装 apt 依赖包,用于通过HTTPS来获取仓库:sudo apt-get install apt-transpor

2023-08-27 18:49:24 972

原创 Anaconda下安装cyberrt

1、下载cyberrt2、cmake指令如下3、安装即可。

2023-07-20 11:27:36 250

原创 错误使用 mex未找到支持的编译器或 SDK

错误使用 mex未找到支持的编译器或 SDK解决方案

2022-12-25 20:36:18 453 1

原创 FFMPEG安装与使用

FFMPEG;安装;卸载;undefined reference

2022-06-16 21:18:26 365

原创 fmt库安装与使用问题解决

# 一、fmt安装git clone https://github.com/fmtlib/fmt.gitcd fmtmkdir buildcd buildcmake ..makesudo make install# 二、出现问题/usr/local/lib/libfmt.a(format.cc.o): relocation R_X86_64_32S against `_ZTVN3fmt2v812format_errorE'打开fmt下面的CmakeList.txt文件,.

2022-04-14 10:48:14 4534 1

原创 ubuntu16.04下安装 levmar

一、levmar主页:Levenberg-Marquardt in C/C++http://users.ics.forth.gr/~lourakis/levmar/index.html二、开始安装进入安装包下,执行make指令:Ubuntu16.04 Compile levmar&Sparselm&SBA_yanqs_whu的博客-CSDN博客Firstly you have to install suitesparse and metis.sudo apt-get inst

2022-04-05 15:40:53 2060

原创 Ubuntu16.04下Opencv3.4.5的卸载与带cuda安装

fatal error: dynlink_nvcuvid.h: No such file or directory参考连接:https://blog.csdn.net/y459541195/article/details/102974262cmake 时添加-D BUILD_opencv_cudacodec=OFFopencv_annotation.dir/build.make???? recipe for target ‘bin/opencv_annotation’ failed参考链接:http

2022-04-04 15:51:06 4259 1

原创 Matio安装

一、下载与安装Matio下载链接:https://github.com/tbeu/matio我安装的是1.5.22版本cd matio-1.5.12./configure //如果这一句不能用的话用 bash configure 代替makesudo make install二、修改CmakeList.txtfind_package(MATIO REQUIRED)include_directories(${MATIO_INCLUDE_DIR})将${MATIO_LI

2022-04-02 07:36:13 1327

原创 Docker,pytorch使用命令会汇总

卸载先前的dockerDocker 的旧版本被称为 docker,docker.io 或 docker-engine 。如果已安装,请卸载它们:sudo apt-get remove docker docker-engine docker.io containerd runc

2022-01-19 14:42:08 487 2

原创 Paddle Influence编译心得

# 一、环境准备1、参照环境要求,准备gcc8.2,否则会碰到未知错误,比如安装参考链接:安装gcc8.2_u013948852的博客-CSDN博客_gcc82联网、root执行wget ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-8.2.0/gcc-8.2.0.tar.xztar -Jxvf gcc-8.2.0.tar.xz cd gcc-8.2.0/./contrib/download_prere

2022-01-10 23:03:18 639

原创 docker安装ros问题

如果使用docker,可能会碰到如下问题:(1)ROS kinetic提示Depends: ros-kinetic-desktop but it is not going to be installed参考链接:Ubuntu 16.04 安装ROS kinetic提示Depends: ros-kinetic-desktop but it is not going to be installed_上善若水-CSDN博客 今天在Ubuntu 16.04 安装ROS kinetic,按照官网流程在一.

2022-01-10 22:52:35 822

原创 tensorrt, onnx, onnx2tensorrt安装

原材料准备tensorrt:TensorRT-7.2.3.4.Ubuntu-18.04.x86_64-gnu.cuda-10.2.cudnn8.1onnx:onnx-1.8.1onnx2tensorrt:onnx-tensorrt-release-7.2.1参考连接# onnx安装https://github.com/onnx/onnx/releasesmkdir buildcd buildcmake ..makemake install#onnx2t...

2021-07-10 20:18:28 721

原创 Ceres和Eigen3.3安装

一、Eigen2.9卸载和Eigen3.3安装Eigen2.9下Ceres使用时会出现不兼容问题1. Eigen2.9卸载使用如下语句安装Eigen,一般会安装在/usr下面sudo apt-get install libeigen3-dev 可以通过以下命令查看Eigen3安装位置sudo updatedb locate eigen3 Eigen2.9卸载sudo rm -rf /usr/include/eigen3 /usr/lib/cmake/eigen3 /usr/shar

2021-06-01 07:06:12 1041

原创 latex之安装宏包及LaTeX Error: File ‘‘xxx.sty‘‘ not Found报错

获取所缺宏包宏包地址:https://ctan.org/pkg/搜索后点击后,进行下载下载后发现,并没有.style等文件,直接添加会更新不了。需要利用WinEdit打开.ins文件,进行编译通过后生成.style等文件将次文件拷贝至如下目录下在终端使用texhash命令,或者参考https://blog.csdn.net/sinat_14896267/article/details/102736807进行更新,完成包的添加!...

2021-05-29 11:09:13 1907 3

原创 Unable to allocate X GiB for an array with shape np.zeros过大

在ubuntu,python下使用np.zeros创建较大numpy矩阵时报错了,原因时申请不了这么大的空间,解决方法如下。查看过载处理模式cat /proc/sys/vm/overcommit_memory如果是0的话,输入su root输入root密码,切换到root用户模式进行修改。看到$变成了#,输入echo 1 > /proc/sys/vm/overcommit_memory修改过载模式,再运行就OK啦。参考链接:https://blog.csdn.net/WILDCHAP

2021-04-25 20:01:29 4134

原创 在Python3,Anaconda环境中使用ROS的cv_bridge

ROS在python3中使用https://www.jianshu.com/p/0e17f1b66af9Pycharm中 no module named rospy:https://blog.csdn.net/DeepWolf/article/details/85100057

2021-04-14 11:43:32 743

原创 Anaconda环境中pip命令找不到解决方案

Anaconda环境中pip命令找不到解决方案第一步:利用easy_install安装pipeasy_install pip参考链接:https://www.pythonheidong.com/blog/article/406204/874a88a0aed1a0c1343a/第二步:升级pippython -m pip install -U --force-reinstall pip第三步:查看pip版本pip -V成功!...

2021-04-05 19:58:56 2641 1

原创 C++下在ROS1 kinetic版本中使用python3

问题来源于libtorch中的Python_header.h在C++代码下,ROS1 kinetic版本环境中,使用libtorch库编译时出现如下问题if PY_MAJOR_VERSION < 3error "Python 2 has reached end-of-life and is no longer supported by PyTorch."endif主要时因为ROS1 kinetic默认使用/usr/bin/python2。参考链接:https://blog.csdn.ne

2021-03-30 19:03:18 405

原创 This is usually caused by another repository pushing hint: to the same ref. You may want to...问题解决

git push origin master 产生问题问题显示:This is usually caused by another repository pushing hint: to the same ref. You may want to…参考链接:[https://blog.csdn.net/brownsville2/article/details/102246961](https://blog.csdn.net/brownsville2/article/details/102246961)

2021-03-23 20:39:55 1284

原创 pytorch中trace时出现forward() takes 2 positional arguments but 3 were given问题

错误源代码import torchclass MyCell(torch.nn.Module): def __init__(self): super(MyCell, self).__init__() self.linear = torch.nn.Linear(4, 4) def forward(self, input): x = input[0] h = input[1] new_h = torch.tan

2021-03-20 21:58:03 17681 2

原创 vision的C++API编译

查看已安装torch版本下载对应的vision版本我安装的torch1.7.1版本git checkout v0.8.2https://github.com/pytorch/vision/tree/v0.8.2mkdir buildcd build# Add -DWITH_CUDA=on support for the CUDA if neededcmake -DWITH_CUDA=on ..sudo makesudo make install安装在/usr/local/下inc

2021-02-23 21:38:06 505

原创 Cmake卸载与安装

Cmake卸载apt-get安装cmake后卸载方法sudo apt-get remove cmake看一下其他什么卸载了,安装完cmake后需要重新安装一下。源码安装卸载方法https://www.cnblogs.com/blackay03/p/9062503.htmlhttps://blog.csdn.net/xh_hit/article/details/79639930Cmake安装https://cmake.org/files/v3.18/cd cmake-3.18.0sud

2021-02-23 19:56:53 6224

原创 ROS kinetic版本opencv与主机安装opencv3冲突的问题

在ROS环境下编译安装Opencv项目出现undefined Reference to.XXX的问题发现CMakeLists.txt内已经将正确的opencv(主机opencv位置)引入,但编译仍然出现上述问题。通过研究发现,主要原因在于:ROS自带了opencv版本,但主机上也安装了opencv,两者版本不一致。参考链接:https://blog.csdn.net/m0_37811342/article/details/79971993第94和96行修改如下:#if(NOT "include;/

2021-02-16 15:46:15 542 1

原创 利用libtorch在C++程序上部署pytorch模型

在torch上导出模型,新建ResNet50.pyimport torchimport torchvision.models as modelsfrom PIL import Imageimport numpy as npimage = Image.open("0.jpg") #图片发在了build文件夹下image = image.resize((224, 224),Image.ANTIALIAS)image = np.asarray(image)image = image / 255i

2021-02-13 20:35:08 318 1

原创 fatal: Needed a single revision和Unable to find current revision in submodule path解决办法

当执行git submodule update 遇见问题fatal: Needed a single revisionUnable to find current revision in submodule path参考资料:https://blog.k-res.net/archives/1595.html可执行rm -rf config/git submodule update --init检查:.git文件夹下config文件中账户名称;.git/modules

2021-02-03 19:50:06 9157 1

原创 file conflicts were fond when attempting to merge into错误解决方法

使用gitkraken切换分支时,出现file conflicts were fond when attempting to merge into(黄色标语)各种按钮点击不好用,包含mark按钮也不行。此时,需要将仓库初始化,也就是重新执行git submodule initgit submodule update但是,执行git submodule init后遇见fatal: multiple stage entries for merged file错误此时参考链接http://m.oic

2021-02-01 20:59:45 444

原创 Git使用

Git安装Git下载(window版)https://git-scm.com/book/zh/v2init # 设置git 用户名和邮箱 git config --global user.name "XX" git config --global user.email "XX@qq.com"# 显示配置信息git config --list 生成本地仓库通过下列命令可查看隐藏文件ls -la以上命令可通过git init git_demoadd# 跟踪某一个文件g

2021-01-08 20:46:00 71

原创 PaddlePaddleDetection使用

PaddlePaddleDetection下载与安装参考文档:https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.0-beta/docs/tutorials/INSTALL_cn.md如果您的机器安装的是CUDA9,请运行以下命令安装python -m pip install paddlepaddle-gpu==1.8.4.post97 -i https://mirror.baidu.com/pypi/simple..

2020-12-24 22:06:44 732 1

原创 ubuntu16.04下安装clang-format代码风格

参考链接:https://blog.csdn.net/start_from_scratch/article/details/849616921、先打开源列表:sudo gedit /etc/apt/sources.list在列表末尾添加:deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main deb-srchttp://apt.llvm.org/xenial/ llvm-toolchain-xenial main2、在终端运行:

2020-12-10 20:03:29 1498

原创 Anaconda虚拟环境利用conda创建cuda,cudnn虚拟环境

Anaconda虚拟环境利用conda创建cuda,cudnn虚拟环境参考链接:https://blog.csdn.net/qs17809259715/article/details/103729478anaconda建立虚拟环境及conda操作创建虚拟环境conda create -n python_cuda101 python=3.7开启虚拟环境:conda activate python_cuda101为了使用conda安装迅速,使用清华大学开源软件镜像站:https://mirr

2020-12-10 19:54:54 1290

原创 FewShot目标检测

小样本学习:https://blog.csdn.net/weixin_37589575/article/details/92801610?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2.controlFewShot目标检测20

2020-12-10 19:54:05 545

原创 typora安装

typora安装wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -# add Typora's repositorysudo add-apt-repository 'deb https://typora.io/linux ./'sudo apt-get update# install typorasudo apt-get install typora打开typora方法1:通过应用图标打开方法2:

2020-10-05 11:04:26 233

原创 安装Paddle出现Cannot load cudnn shared library问题

参考链接:https://github.com/PaddlePaddle/Paddle/issues/22996安装Paddle1.8.3之后,出现问题:解决方案:(1)对应cuda版本,安装对应的cudnn旧cudnn版本下载位置:https://developer.nvidia.com/rdp/cudnn-archive(2)解压之后,将cudnn文件拷贝至cuda10.1(我使用的cuda版本是10.1)中sudo cp ~/Downloads/cuda/include/cudnn.h

2020-08-25 08:40:58 2902

原创 yolov5遇见expected backend CUDA and dtype Float but got backend CUDA and dtype Half问题

调试yolov5过程中碰到expected backend CUDA and dtype Float but got backend CUDA and dtype Half问题:问题出现在models/yolo.py文件中:y[..., 0:2] = (y[..., 0:2] * 2 - 0.5 + self.grid[i].to(x[i].device)) * self.stride[i]拆分如下:aa = self.grid[i].to(x[i].device)bb = y[..., 0:2

2020-06-15 20:44:09 1717

原创 yolov4,darknet特征图可视化

yolov4,darknet特征图可视化拼接参考:https://blog.csdn.net/lxk2017/article/details/97911371在network_nernel.cu文件中加入前向传播显示代码:/******************************************************func: 主要是为了将output结果能够映射到0-255...

2020-05-07 10:32:28 4770 19

原创 NVIDIA、CUDA与CPU参数、计算能力对比学习

进入deviceQuery目录下面执行make,生成可执行文件deviceQuery后,执行./deviceQuery显示部分参数解读因此,计算能力为1280*1.34=1715.2GFLOPS与CPU对比:lscpuCPU的计算能力为4(CPU核心数)*2.5(主频数)=10GFLOPS...

2020-05-02 15:49:08 1817

原创 cmake CMAKE_C_COMPILER “is not a full path to an existing compiler tool”

cmake CMAKE_C_COMPILER “is not a full path to an existing compiler tool”在Qt Creater下CMake之后显示缺少CMAKE_C_COMPILER项,可添加:CMAKE_CXX_COMPILE /usr/bin/c++CMAKE_C_COMPILE /usr/bin/cc...

2020-05-02 15:20:39 12640

原创 cuda9.0下yolov4调试

yolov4调试总结cmake error:/home/xxx/Documents/darknet-master/CMakeLists.txt:1: error: CMake 3.8 or higher is required. You are running version 3.5.1修改CMakeLists.txt为cmake_minimum_required(VERSION 3....

2020-04-28 08:35:11 1138

原创 Unable to fetch some archives, maybe run apt-get update or try with --fix-mi问题

当运行sudo apt-get install ros-kinetic-desktop-full出现Unable to fetch some archives, maybe run apt-get update or try with --fix-mi重新运行sudo apt-get clean cd /var/lib/apt sudo mv lists lists.old s...

2020-04-27 07:04:59 3179 2

原创 语义分割-弱监督学习

CV论文笔记:https://github.com/ming71/CV_PaperDaily知乎的文章,比较老,但可以查看先前的工作https://zhuanlan.zhihu.com/p/23811946新的https://www.zhihu.com/question/53263115该部分总结截止到2019年4月https://github.com/JackieZhangdx/W...

2020-04-07 16:16:16 1166

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除