- 博客(249)
- 资源 (4)
- 收藏
- 关注
原创 【MySQL】高度为2和3时B+树能够存储的记录数量的计算过程
高度为2时,B+树通过其根节点直接引用叶子节点,可以存储约18,736条记录。高度为3时,B+树增加了一层中间节点,大大增加了其存储能力,可以存储约2200万条记录。这些计算展示了B+树随着高度增加而其存储能力呈指数级增长的特性,这使得B+树成为数据库索引的理想结构,能够高效地管理大量数据。
2024-02-14 11:41:02 1419 2
原创 【CloudComapre】Ubuntu 20.04 下从源码编译后无法导入pcd文件
这是由于没有安装软件,也就是说我们二次开发时必须要安装到系统里才能导入pcd文件。
2023-09-26 17:25:22 728
原创 【CloudComapre】Ubuntu 20.04 下从源码编译时报错 anaconda3/lib//libQt5Core.so: undefined reference to ...
这里anaconda下的QT库是基于python的,不可能去引用C++的函数,所以这是由于我的系统中包含了C++和Python二者的QT,项目优先去调用Python的了。一劳永逸的方法就是在环境变量中添加C++版QT的路径,在。将上图中的路径全部改为C++的QT路径之后,可以。可以找到正确的路径了,见。
2023-09-26 16:20:58 942
原创 【ROS2 Foxy】解决 connext 中间件导致的警告:NDDSHOME environment variable has not been set
终端警告如下:[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[/opt/rti.com/rti_connext_dds-5.3.1]] does not point to a valid directory, and the NDDSHOME environment variable has not been set. Support for Conn
2023-07-25 20:26:19 406
原创 【ROS2 Foxy】Rviz2 不支持可视化压缩图像消息
ROS2 Foxy Rviz2 不支持可视化压缩图像消息,大家不用再尝试了,只能自己 Coding 订阅压缩图像话题来实现
2023-07-25 15:45:23 259
原创 【ROS | Bug】Resource not found: mavros
当您执行该命令时,它将更新当前终端会话的环境变量,以便能够正确找到和使用该工作空间的软件包。命令,最后一个执行的命令会覆盖之前执行的命令,导致只有最后一个工作空间的环境变量被设置。这样,您就可以在当前终端会话中同时使用多个工作空间的环境变量。但是,如果后续执行了另一个工作空间的。这是因为环境变量是按照先后顺序进行设置和覆盖的。如果您在同一个终端会话中多次执行不同工作空间的。在Bash环境中,每个工作空间都需要通过执行。命令时,它会将该工作空间的路径添加到。命令,它将会覆盖之前设置的环境变量。
2023-07-12 14:57:38 1073
原创 【QT-ROS Bug】解决 error: ui_main_window.h
直接把绝对路径写上,这样编译就可以通过了,切记不要写相对路径,因为编译会生成其他文件,其他文件可找不到这个相对路径在哪!
2023-04-20 15:58:25 1022 2
原创 【Ubuntu|Bug】解决 fatal error: filesystem: No such file or directory
【代码】【Ubuntu|Bug】解决 fatal error: filesystem: No such file or directory。
2023-04-11 15:36:16 1272
原创 【MySQL|Bug】MySQL Workbench意外退出(M1 Mac)
文章目录系统环境报错如下解决方法系统环境MacBook Pro M1macOS 13.2.1报错如下解决方法更换可用的版本,如8.0.29。
2023-03-21 15:33:09 2142 3
原创 【关键点检测|OpenPifPaf】环境配置与模型测试
的内容去安装依赖,里面给出了 torch 和 torchvision 的版本,一般是比较新的,我从文档中看到建议是使用 torch-1.9 ,但是克隆下来的配置文件中给出的是 torch-1.11。可能默认的是 cpu 版的 pytorch ,需要自己安装 gpu 版的。这步很慢,看似卡着不动了,其实CPU占用率会有变化。
2023-01-21 11:23:04 1166 1
原创 【sklearn|Bug】ModuleNotFoundError: No module named ‘sklearn.neighbors.kde‘
在网上看到一个人收到如下警告。
2023-01-21 11:10:10 737
原创 【C++|Bug】解决 error: default argument given for parameter x of xxx
C++ 在声明函数时不可以给形参默认值,在定义函数时可以给默认值。
2022-09-26 21:53:48 4374
原创 【PCL点云库|点云配准】determineCorrespondences() 和 determineReciprocalCorrespondences() 的区别
【PCL点云库|点云配准】determineCorrespondences() 和 determineReciprocalCorrespondences() 的区别
2022-09-09 10:23:23 637
原创 【PCL点云库|点云配准】getRemainingCorrespondences() 和 getCorrespondences() 的区别
【PCL点云库|点云配准】getRemainingCorrespondences() 和 getCorrespondences() 的区别
2022-09-09 10:22:19 418
原创 【PCL点云库|法向量】pcl::Normal 和 pcl::PointNormal 的区别
【PCL点云库|法向量】pcl::Normal 和 pcl::PointNormal 的区别
2022-09-09 10:20:12 1539
原创 【Super4PCS】编译代码时报错 Could not find a package configuration file provided by “OpenGR
【Super4PCS】编译代码时报错 Could not find a package configuration file provided by "OpenGR
2022-09-06 23:22:04 550
原创 【Super4PCS】安装时报错 fatal error: pcl/point_types.h: No such file or directory
在安装 Super4PCS 时,执行 `make install` 时报错如下
2022-09-06 22:08:47 1669 1
原创 【实例分割|Detectron2】计算实例漏检数量
对于单张图像中实例超过 100 的情形,难免会出现漏检的情形,通过代码实现对漏检数量的计算,作为评估的指标。
2022-08-16 14:44:29 5443
原创 【实例分割|Detectron2】在主干网络 ResNet50 中添加 SE 注意力模块
在 Mask R-CNN 和 Mask2Former 中使用 SE 模块
2022-08-16 14:39:53 8680 9
原创 【数据集|COCO】COCO格式数据集制作与数据集参数计算
1. 批量修改 JSON 文件中的参数2. 划分训练集和测试集3. 生成 JSON 标签文件4. 计算训练集三通道均值5. bbox和seg标签可视化
2022-08-16 14:30:53 6882 1
原创 【Pytorch|Bug】解决 RuntimeError: Error(s) in loading state_dict for Network: size mismatch
【Pytorch|Bug】解决 RuntimeError: Error(s) in loading state_dict for Network: size mismatch
2022-08-14 12:55:21 8289 5
原创 【实例分割|Mask2Former】 解决模型推理预测的代码中存在的一些问题
解决模型推理预测的代码中存在的一些问题:1. 取消终端输出网络结构2. 推理置信度设置3. 预测实例存在多个轮廓4. 预测模型返回筛选后实例
2022-08-09 10:45:10 7690 5
原创 【Docker|Bug】解决docker-compose up -d报错Couldn‘t connect to Docker daemon at http+docker://localhost
解决docker-compose up -d报错Couldn't connect to Docker daemon at http+docker://localhost
2022-08-08 16:43:04 4728
原创 【Swift|Bug】Xcode提示Error running playground: Failed to prepare for communication with playground
Xcode的一个Bug:Error running playground: Failed to prepare for communication with playground
2022-07-22 18:56:11 4813 2
原创 【Linux|Chrome】解决安装Chrome报错:dpkg: dependency problems prevent configuration of google-chrome-stable
问题背景重置了阿里云服务器,安装google chrome报错。sudo apt-get install -fsudo dpkg -i google-chrome*.deb报错内容如下:(Reading database ... 113300 files and directories currently installed.)Preparing to unpack google-chrome-stable_102.0.5005.61-1_amd64.deb ...Unpacking goo
2022-05-27 11:17:49 6877 3
原创 【服务器】服务器重置系统后无法远程登录
文章目录问题背景解决方法问题背景重置了我的阿里云服务器系统,然后在本地的Ubuntu上无法用VScode和终端远程登录服务器了。解决方法删除本地的已知服务器:ssh-keygen -f "/home/yourusername/.ssh/known_hosts" -R "xxx.xxx.xxx.xxx"重置服务器后可能需要重新设置root密码。然后在本地又可以访问服务器了。...
2022-05-27 10:00:30 4692
原创 【Anaconda】解决 No module named ‘PIL‘
文章目录问题背景解决方法问题背景from PIL import Image 时提示 No module named 'PIL',但是在虚拟环境下 pip install pillow提示:Requirement already satisfied: Pillow in /home/xxx/.local/lib/python3.8/site-packages (9.0.1)这说明并没有安装到当前的 conda 虚拟环境中。解决方法conda activate yourenv # 进入虚拟环境c
2022-05-26 11:52:32 5124
原创 【Pytorch】torch_dct中解决AttributeError: module ‘torch‘ has no attribute ‘irfft‘
问题背景在使用torch_dct时报错,经调研,是torch版本过高,dct中调用的旧的fft相关函数已经更新。探索过程参考[2]中说的对应关系如下:旧版新版torch.rfft(input, signal_ndim=2, normalized=False, onesided=False)torch.fft.fft()torch.rfft(input, signal_ndim=2, normalized=False, onesided=True)torch.fft.rf
2022-05-25 19:01:28 12326 3
原创 【VScode|SSH】免密登录服务器
文章目录问题背景本地操作远程操作问题背景VScode里用ssh连接服务器每次都需要手动输入密码,密码包含大小写和字符,感觉很麻烦,很多SSH软件都可以保存密码,在VScode里是保存私钥。本地操作生成私钥和共钥:ssh-keygen在本地/home/yourusername/.ssh/下会生成两个文件:id_rsaid_rsa.pub修改/home/yourusername/.ssh/config 文件:Host 自定义主机名 HostName xxx.xxx.xxx.xxx
2022-05-24 13:32:10 4744
原创 【实例分割|Detectron2】魔改多模态双流网络,解决 Cannot match one checkpoint key to multiple keys in the model.
文章目录问题背景解决方法问题背景我自己构建了一个双流网络,所以有两个 backbone ,均为 Resnet50,加载的同一个R50 预训练权重,detectron2 代码中抛出了如下错误:ERROR [05/11 21:45:22 d2.checkpoint.c2_model_loading]: Ambiguity found for res2.0.conv1.norm.bias in checkpoint!It matches at least two keys in the model (ba
2022-05-11 22:53:15 5072 3
原创 【实例分割|detectron2】计算自定义RGB数据集的均值和标准差
pixel_mean : per-channel mean to normalize input imagepixel_std : per-channel stddev to normalize input image
2022-05-10 11:53:38 5345 6
原创 【MaxOS|Bug】git clone 报错 xcrun: error: invalid active developer path
文章目录问题背景解决方法问题背景在 git clone 时发生如下报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun解决方法执行安装命令:xcode-select --install...
2022-05-09 11:33:44 4714 2
原创 【Python|Bug】解决 Could not load the Qt platform plugin “xcb“
文章目录输出错误信息试错过程解决方法参考链接输出错误信息(mmlab) zth@zth-Desktop:~/HardDisk/Codes/code_deeplearning/mmdetection$ python demo/image_demo.py \> /home/zth/HardDisk/Datasets/weld/weldRGB615/test/110_0.png \> configs/_my_configs/weld/mask_rcnn_r50_fpn_1x_w
2022-05-03 14:24:21 6497 2
原创 【深度学习|数据集】Python 划分训练集和验证集
文章目录问题背景代码实现备注问题背景有了训练集和测试集,但是没有验证集,只能从训练集中划分 20% 作为验证集,剩下的 80% 作为训练集。我的划分前的训练集中包含 png 格式图像和 json 格式的标签,需要新建训练集和验证集文件夹,并分别将图像和标签从源文件夹移动到这两个新建的目标文件夹。代码实现这里提供满足我的需求的代码,供参考。import osimport shutilfrom sklearn.model_selection import train_test_split
2022-05-03 12:32:48 8858 4
Gazebo 仿真中给 PX4 无人机添加 Livox 激光雷达
2023-11-23
《自动控制原理(田玉平)》笔记.zip
2021-11-01
机器人技术基础实验2 源码
2021-02-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人