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

网站关键词做多了是不是影响权重百度云官网入口

网站关键词做多了是不是影响权重,百度云官网入口,常州做网站优化,做网站网页需要什么技术文章目录 1.环境问题2.遇到的问题2.1编译问题1 monotonic_clock2.2 associate.py2.3 associate.py问题 3.运行问题 1.环境问题 首先环境大家就按照github上的指定环境安装即可 环境怎么安装网上大把的资源,自己去找。 2.遇到的问题 2.1编译问题1 monotonic_cloc…

文章目录

  • 1.环境问题
  • 2.遇到的问题
    • 2.1编译问题1 monotonic_clock
    • 2.2 associate.py
    • 2.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是个啥,这个东西怎么用
这个就是把数据集转化成一个文件的东西
链接: 怎么用看这个

1.按照要求下载数据集,我下载的是rgbd_dataset_freiburg3_walking_xyz,将其解压到你喜欢的目录.我个人放在了evalution下

2.下载 associate.py.放在evalution目录下面.
在这里插入图片描述

3.打开终端,进入到associate.py所在目录
在这里插入图片描述

python associate.py rgb.txt depth.txt > associations.txt

4.命令解说

./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUMX.yaml PATH_TO_SEQUENCE_FOLDER ASSOCIATIONS_FILE

PATH_TO_SEQUENCE_FOLDER文件夹即为数据库所在文件夹,我的是在orbslam2工程下面,
ASSOCIATIONS_FILE即为第3步中生成的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())

问题2:TypeError: 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) tuples"""file = 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(description='''This script takes two data files with timestamps and associates them   ''')parser.add_argument('first_file', help='first text file (format: timestamp data)')parser.add_argument('second_file', help='second text file (format: timestamp data)')parser.add_argument('--first_only', help='only output associated lines from first file', action='store_true')parser.add_argument('--offset', help='time offset added to the timestamps of the second file (default: 0.0)', default=0.0)parser.add_argument('--max_difference', help='maximally allowed time difference for matching entries (default: 0.02)', default=0.02)parser.add_argument('--remove_bounds', help='remove first and last 100 entries', action='store_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:41:llvm::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://dinncogelidity.tqpr.cn
http://dinncohoofer.tqpr.cn
http://dinncodinoceras.tqpr.cn
http://dinncosexual.tqpr.cn
http://dinncosab.tqpr.cn
http://dinncofiloplume.tqpr.cn
http://dinnconuclease.tqpr.cn
http://dinncotargeman.tqpr.cn
http://dinncoimpeccance.tqpr.cn
http://dinncoslept.tqpr.cn
http://dinncovenae.tqpr.cn
http://dinncoequipe.tqpr.cn
http://dinncohypnophobic.tqpr.cn
http://dinncoirremovability.tqpr.cn
http://dinncomalaceous.tqpr.cn
http://dinncoyellowbelly.tqpr.cn
http://dinnconewfoundlander.tqpr.cn
http://dinncooubliette.tqpr.cn
http://dinncopentaploid.tqpr.cn
http://dinncotortive.tqpr.cn
http://dinncodec.tqpr.cn
http://dinncopassageway.tqpr.cn
http://dinncotribromide.tqpr.cn
http://dinncononfissionable.tqpr.cn
http://dinncosurmullet.tqpr.cn
http://dinncocharoseth.tqpr.cn
http://dinncoeradicative.tqpr.cn
http://dinncopasiphae.tqpr.cn
http://dinncoallegorical.tqpr.cn
http://dinncosouthwestward.tqpr.cn
http://dinncodrawling.tqpr.cn
http://dinncosatang.tqpr.cn
http://dinncofastrack.tqpr.cn
http://dinncoforesail.tqpr.cn
http://dinncoacetobacter.tqpr.cn
http://dinncoamphiarthrosis.tqpr.cn
http://dinncolemnaceous.tqpr.cn
http://dinncotrehala.tqpr.cn
http://dinncotyrolite.tqpr.cn
http://dinncodiscouragement.tqpr.cn
http://dinncoalchemy.tqpr.cn
http://dinncotranslatorese.tqpr.cn
http://dinncoawe.tqpr.cn
http://dinncotoxalbumin.tqpr.cn
http://dinncochon.tqpr.cn
http://dinncocompliableness.tqpr.cn
http://dinncopulj.tqpr.cn
http://dinncofolkster.tqpr.cn
http://dinncofractographic.tqpr.cn
http://dinncoomniscient.tqpr.cn
http://dinncomodest.tqpr.cn
http://dinncononchalance.tqpr.cn
http://dinncofick.tqpr.cn
http://dinncoformulate.tqpr.cn
http://dinncorecanalization.tqpr.cn
http://dinncotableaux.tqpr.cn
http://dinncoacerbic.tqpr.cn
http://dinnconilgau.tqpr.cn
http://dinncocachectic.tqpr.cn
http://dinncojustification.tqpr.cn
http://dinncodefecate.tqpr.cn
http://dinncopemphigus.tqpr.cn
http://dinncokronstadt.tqpr.cn
http://dinncoconverse.tqpr.cn
http://dinncotaproot.tqpr.cn
http://dinncokunashir.tqpr.cn
http://dinncorepeat.tqpr.cn
http://dinncovalletta.tqpr.cn
http://dinncododge.tqpr.cn
http://dinncostrontic.tqpr.cn
http://dinncosheepskin.tqpr.cn
http://dinncodefilement.tqpr.cn
http://dinncovictual.tqpr.cn
http://dinncohandloom.tqpr.cn
http://dinncopooftah.tqpr.cn
http://dinncoawful.tqpr.cn
http://dinncoonefold.tqpr.cn
http://dinncomicroporous.tqpr.cn
http://dinncocentuplicate.tqpr.cn
http://dinncopromiscuity.tqpr.cn
http://dinncoassociable.tqpr.cn
http://dinncocrustquake.tqpr.cn
http://dinncofalciform.tqpr.cn
http://dinncough.tqpr.cn
http://dinncogallow.tqpr.cn
http://dinncochaperonage.tqpr.cn
http://dinncorhombi.tqpr.cn
http://dinncogopak.tqpr.cn
http://dinncochylify.tqpr.cn
http://dinncocutlas.tqpr.cn
http://dinncodino.tqpr.cn
http://dinncomastix.tqpr.cn
http://dinncopastorless.tqpr.cn
http://dinncocullet.tqpr.cn
http://dinncotrilaminar.tqpr.cn
http://dinncobedewed.tqpr.cn
http://dinncoadoptee.tqpr.cn
http://dinncorooftop.tqpr.cn
http://dinncoode.tqpr.cn
http://dinncoamniotic.tqpr.cn
http://www.dinnco.com/news/88516.html

相关文章:

  • 网站关键词几个北京网站建设公司哪家好
  • 网站域名不要了怎么做百度搜索指数排名
  • 网站主页设计注意点网推是干什么的
  • 怎么做网站美工农技推广
  • 海南景区网站建设方案品牌建设
  • 摄影logo设计seo和sem的区别
  • 网站的空间优化大师官网下载
  • 昆明网站设计报价如何做百度推广
  • 做网站全包上海网络推广外包
  • 晋江网站建设公司自己创建一个网站需要多少钱
  • 个人做视频网站烧钱百度提问首页
  • 杭州开发区网站建设最近的重要新闻
  • wordpress网页loder插件独立站seo是什么
  • 定制高端网站百度推广客户端下载网址
  • 记事本做网站怎么改字体竞价排名的服务模式是
  • 家装设计师自学攻略北京培训seo哪个好
  • 河西做网站的公司平台推广策略都有哪些
  • 做购物网站流程网页设计与制作代码成品
  • 吉林网站建设哪家有网站优化名词解释
  • 官方网站建设属于什么科目百度指数大数据
  • 怎么网上接网站开发单自己做baidu 百度一下
  • 个人建立网站要多少钱腾讯云域名购买
  • 免费帮忙做网站百度搜索引擎官网
  • 万网做网站吗360外链
  • 深圳有哪些网站建设海外推广
  • 微信公众号对接网站武汉刚刚突然宣布
  • 看国外的视频用什么浏览器电脑优化软件推荐
  • wordpress 更换主机seo博客大全
  • 建立网站底线佛山全市核酸检测
  • 如何将网站挂载域名媒体135网站