当前位置: 首页 > news >正文

泰州住房城乡建设网站网络推广怎样做

泰州住房城乡建设网站,网络推广怎样做,wordpress微信采集,源码下载网站推荐文章目录 1.环境问题2.遇到的问题2.1编译问题1 monotonic_clock2.2 associate.py2.3 associate.py问题 3.运行问题 1.环境问题 首先环境大家就按照github上的指定环境安装即可 环境怎么安装网上大把的资源#xff0c;自己去找。 2.遇到的问题 2.1编译问题1 monotonic_cloc… 文章目录 1.环境问题2.遇到的问题2.1编译问题1 monotonic_clock2.2 associate.py2.3 associate.py问题 3.运行问题 1.环境问题 首先环境大家就按照github上的指定环境安装即可 环境怎么安装网上大把的资源自己去找。 2.遇到的问题 2.1编译问题1 monotonic_clock 这是因为C版本不同导致的系统计时函数编译报错 解决方案是 搜索COMPILEDWITHC11 然后把monotonic_clock 换成 steady_clock 例如 /* #ifdef COMPILEDWITHC11std::chrono::steady_clock::time_point t1 std::chrono::steady_clock::now(); #elsestd::chrono::monotonic_clock::time_point t1 std::chrono::monotonic_clock::now(); #endif */ // 替换成下面的std::chrono::steady_clock::time_point t1 std::chrono::steady_clock::now();//修改替换的代码部分这个问题会报很多次至少十几次吧因为很多文件都有这个东西他报错了我们根据报错位置去改就可以了就是比较麻烦。 当然我看到有人说只需要把COMPILEDWITHC11改为COMPILEDWITHC14就可以了这个我没有尝试我只用了上面的方法大家可以自己尝试。 2.2 associate.py 数据集的下载地址https://cvg.cit.tum.de/data/datasets/rgbd-dataset/download associate.py是个啥这个东西怎么用 这个就是把数据集转化成一个文件的东西 链接: 怎么用看这个 按照要求下载数据集我下载的是rgbd_dataset_freiburg3_walking_xyz将其解压到你喜欢的目录我个人放在了evalution下 下载 associate.py放在evalution目录下面 打开终端进入到associate.py所在目录 python associate.py rgb.txt depth.txt associations.txt4.命令解说 ./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUMX.yaml PATH_TO_SEQUENCE_FOLDER ASSOCIATIONS_FILEPATH_TO_SEQUENCE_FOLDER文件夹即为数据库所在文件夹我的是在orbslam2工程下面 ASSOCIATIONS_FILE即为第步中生成的associations.txt给出他的制定目录位置 例子大家可以参考我的目录自行更改 ./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUMX.yaml /home/lvslam/YOLO_ORB_SLAM3_with_pointcloud_map/evaluation/rgbd_dataset_freiburg3_walking_xyz /home/lvslam/YOLO_ORB_SLAM3_with_pointcloud_map/evaluation/rgbd_dataset_freiburg3_walking_xyz/associations.txt 2.3 associate.py问题 问题1报错AttributeError: ‘dict_keys’ object has no attribute ‘remove’ 由于Python2和python3语法的差别需要将associate.py中第86行87行的 first_keys first_list.keys()second_keys second_list.keys()改为 first_keys list(first_list.keys())second_keys list(second_list.keys())问题2TypeError: read_file_list() takes exactly 2 arguments (1 given) 所遇到的问题是因为read_file_list()函数需要两个参数而你在调用时只传递了一个参数。我们需要向read_file_list()传递两个参数即args.first_file和remove_bounds。从代码来看remove_bounds应该是一个布尔值具体是True还是False可以根据需求来设定。 我们需要修改associate.py 改为 import argparse import sys import os import numpydef read_file_list(filename, remove_bounds):Reads a trajectory from a text file. File format:The file format is stamp d1 d2 d3 ..., where stamp denotes the time stamp (to be matched)and d1 d2 d3.. is arbitary data (e.g., a 3D position and 3D orientation) associated to this timestamp. Input:filename -- File nameOutput:dict -- dictionary of (stamp,data) tuplesfile open(filename)data file.read()lines data.replace(,, ).replace(\t, ).split(\n)if remove_bounds:lines lines[100:-100]list [[v.strip() for v in line.split( ) if v.strip() ! ] for line in lines if len(line) 0 and line[0] ! #]list [(float(l[0]), l[1:]) for l in list if len(l) 1]return dict(list)def associate(first_list, second_list, offset, max_difference):Associate two dictionaries of (stamp,data). As the time stamps never match exactly, we aim to find the closest match for every input tuple.Input:first_list -- first dictionary of (stamp,data) tuplessecond_list -- second dictionary of (stamp,data) tuplesoffset -- time offset between both dictionaries (e.g., to model the delay between the sensors)max_difference -- search radius for candidate generationOutput:matches -- list of matched tuples ((stamp1,data1),(stamp2,data2))first_keys list(first_list.keys())second_keys list(second_list.keys())potential_matches [(abs(a - (b offset)), a, b)for a in first_keysfor b in second_keysif abs(a - (b offset)) max_difference]potential_matches.sort()matches []for diff, a, b in potential_matches:if a in first_keys and b in second_keys:first_keys.remove(a)second_keys.remove(b)matches.append((a, b))matches.sort()return matchesif __name__ __main__:# parse command lineparser argparse.ArgumentParser(descriptionThis script takes two data files with timestamps and associates them )parser.add_argument(first_file, helpfirst text file (format: timestamp data))parser.add_argument(second_file, helpsecond text file (format: timestamp data))parser.add_argument(--first_only, helponly output associated lines from first file, actionstore_true)parser.add_argument(--offset, helptime offset added to the timestamps of the second file (default: 0.0), default0.0)parser.add_argument(--max_difference, helpmaximally allowed time difference for matching entries (default: 0.02), default0.02)parser.add_argument(--remove_bounds, helpremove first and last 100 entries, actionstore_true)args parser.parse_args()first_list read_file_list(args.first_file, args.remove_bounds)second_list read_file_list(args.second_file, args.remove_bounds)matches associate(first_list, second_list, float(args.offset), float(args.max_difference))if args.first_only:for a, b in matches:print(%f %s % (a, .join(first_list[a])))else:for a, b in matches:print(%f %s %f %s % (a, .join(first_list[a]), b - float(args.offset), .join(second_list[b])))3.运行问题 rgbd_tum: /tmp/llvm/lib/Support/BranchProbability.cpp:41llvm::BranchProbability::BranchProbability(uint32_t, uint32_t): 假设 ‘Numerator Denominator “Probability cannot be bigger than 1!”’ 失败。 已放弃 (核心已转储) 运行出来两秒就闪退的问题 切换刚开始的libtorch版本 https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.3.1%2Bcpu.zip 这个时2.3.1版本的我们只需要将上面的数字换掉然后直接浏览器粘贴就可以下对对应的版本 经过测试使用1.7.1版本的libtorch可以解决这个问题 也就是 https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.7.1%2Bcpu.zip 重新安装号新的1.7.1版本的libtorch后重新编译./build.sh 又会遇到下面的问题 version GOMP_4.5’ not found (required by /lib/x86_64-linux-gnu/libpcl_common.so.1.10) 我们需要链接动态库解决这个问题 ln -sf /usr/lib/x86_64-linux-gnu/libgomp.so.1 /YOLO_ORB_SLAM3_with_pointcloud_map/Thirdparty/libtorch/lib/libgomp-75eea7e8.so.1之后应该就是可以运行了不过有可能有人会碰到别的问题 之后如果报错libORB_SLAM3.so: undefined symbol: _ZN5DBoW24FORB1LE查看下面的博客就可以 https://blog.csdn.net/qq_41035283/article/details/128301376 然后我们就成功复现这个项目了
http://www.w-s-a.com/news/772460/

相关文章:

  • ppt设计器怎么打开深圳seo网络推广营销
  • 建设银行网站用360浏览器建设信用卡中心网站
  • 创建公司网站 教程广州建设局
  • 详述网站建设的过程简答题ui培训设计怎么样
  • 动易网站官网ppt主题大全素材
  • 怎样用eclipse做网站可以做宣传图的网站
  • 哪里可以做游戏视频网站做网站平台应该注意哪些
  • 网站后期推广是谁来做网页制作步骤作答题
  • 全屋装修设计定制整装成都网站优化多少钱
  • html5购物网站模板一个网站两个数据库
  • 个人网站怎么做微信支付网站建设项目介绍
  • 建网站合同网站适配移动端和PC端
  • 网站建设培训机构哪里好html5开发wap网站
  • 免费自助建站源码学而思网校官网
  • 中国最大的网站制作公司青海省高等级公路建设管局网站
  • 建设网站对服务器有什么要求吗wordpress去除更新提示
  • 找个为公司做网站的手机端原神
  • 邯郸手机建站价格公众号开发者权限哪里添加
  • wordpress模板电子书下载站微信app官方免费下载
  • 从哪些方面进行网站建设如何做网站的实时画面
  • 设计网站公司收费西安小程序开发公司有哪些
  • 如何建网站赚取佣金哪个网站可以做免费宣传
  • 万网手机网站seo方法
  • 免费制作网站app百度首页纯净版
  • 支持api网站开发wordpress排版Markdown
  • 赤峰做网站的logo设计软件在线制作
  • iis网站批量导入苏州最新新闻事件今天
  • 甘肃省住房和城乡建设厅注册中心网站首页沈阳专业关键词推广
  • 网站怎么能在百度搜到网站开发费怎么做会计分录
  • 嘉定专业网站制作公司七星彩网站开发