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

网站iis日志百度一下生活更好

网站iis日志,百度一下生活更好,做极速赛车网站,wordpress get cat id🍑个人主页:Jupiter. 🚀 所属专栏:传知代码 欢迎大家点赞收藏评论😊 目录 概述算法介绍演示效果图像推理视频推理 核心代码算法处理过程使用方式环境搭建下载权重文件pytorch 推理(自动选择CPU或GPU&#x…
🍑个人主页:Jupiter.
🚀 所属专栏:传知代码
欢迎大家点赞收藏评论😊

在这里插入图片描述

在这里插入图片描述

目录

  • 概述
  • 算法介绍
  • 演示效果
      • 图像推理
      • 视频推理
  • 核心代码
  • 算法处理过程
  • 使用方式
      • 环境搭建
      • 下载权重文件
      • pytorch 推理(自动选择CPU或GPU)
      • onnxruntime 推理(自动选择CPU或GPU)
      • tensorrt 推理
  • 部署方式


参考文献:需要本文的详细复现过程的项目源码、数据和预训练好的模型可从该地址处获取完整版:地址

概述

随着人工智能的蓬勃发展,自动驾驶技术正成为科技界的一大亮点。在这个领域中,道路信息感知被视为自动驾驶系统中至关重要的一环,因为它为车辆的规划和决策提供了必不可少的基础数据。

我很荣幸地向大家介绍RTM3D算法(单目3D目标检测)。这一算法利用nuscenes数据集中的前视摄像头图像进行训练,能够准确地检测出轿车、巴士、卡车等多种3D目标。更令人振奋的是,我们为您提供了基于PyTorch、ONNX Runtime和TensorRT推理框架的演示,并附带了PyTorch转ONNX、ONNX转TensorRT的脚本,使您可以轻松应用于实际场景中。

算法介绍

RTM3D的主要结构分为backbone和检测头。backbone主要使用ResNet18和DLA-34。其中上采样过程用了跨连接和双线性插值。同时提出了针对keypoint的FPN层。根据速度要求检测头由三个基本单元和6个可选的单元组成。在基本单元中,使用2DBBox的中心点作为哦中枢点负责各数据的联系。因为截断的物体3D框中心可能会超出图像范围,对检测不利。其它基本单元还有9个关键点的热力图和回归坐标,用来做点之间的联合。其它可选的部分有量化误差的补偿、物体的大小、方向,中心点的depth和2D bbox的大小。
网络结构

演示效果

图像推理

在这里插入图片描述

视频推理

Description

核心代码

demo代码中定义图像以及模型的地址

model_path = r"weights/rtm3d_nusc_ep100.pth"
image_path = r"demo/demo.jpg"

根据相机参数在lib/rtm3d_detector.py中调整calib

self.calib_np = np.array([[721.5, 0.0,   336, 44.86],[0.0,   721.5, 140, 0.216],[0.0,   0.0,   1.0,   0.0027]], dtype=np.float32)

算法处理过程

def process(self, images):with torch.no_grad():output = self.model(images)[-1]output['hm'] = output['hm'].sigmoid_()dets = car_pose_decode_faster(output['hm'], output['hps'], output['dim'], output['rot'],prob=output['prob'], K=self.K, meta=self.meta, const=self.const)return dets

demo代码中调用对应的detector,并返回检测结果和可视化结果

results, show_img = detector.run(img, im1)

使用方式

环境搭建

pip install -r requirements.txt

下载权重文件

请阅读附件中README.md的这一部分。

pytorch 推理(自动选择CPU或GPU)

python image_infer.py # 单张图像推理
python pt_infer.py # 视频推理

onnxruntime 推理(自动选择CPU或GPU)

python pt2onnx.py # pytorch格式模型转onnx格式
python onnx_infer.py # 视频推理

tensorrt 推理

python pt2onnx.py # pytorch格式模型转onnx格式
python onnx2trt.py # onnx格式模型转tensorrt格式
python trt_infer.py # 视频推理

部署方式

在以上的demo文件中选择自己的图片/视频地址,如image_infer.py中修改image_path为自己的图像地址。

参考文献

@misc{2009.00764,
Author = {Peixuan Li},
Title = {Monocular 3D Detection with Geometric Constraints Embedding and Semi-supervised Training},
Year = {2020},
Eprint = {arXiv:2009.00764},
}
@misc{2001.03343,
Author = {Peixuan Li and Huaici Zhao and Pengfei Liu and Feidao Cao},
Title = {RTM3D: Real-time Monocular 3D Detection from Object Keypoints for Autonomous Driving},
Year = {2020},
Eprint = {arXiv:2001.03343},
}

文章转载自:
http://wanjiahegemony.gthc.cn
http://wanjiasplanchnology.gthc.cn
http://wanjiaverification.gthc.cn
http://wanjiatubercle.gthc.cn
http://wanjiatypographical.gthc.cn
http://wanjiaautochrome.gthc.cn
http://wanjiaalembicated.gthc.cn
http://wanjiamonoxide.gthc.cn
http://wanjiacataplastic.gthc.cn
http://wanjiatotally.gthc.cn
http://wanjiamultiplication.gthc.cn
http://wanjiaheterophobia.gthc.cn
http://wanjiaboney.gthc.cn
http://wanjiagodiva.gthc.cn
http://wanjiachildmind.gthc.cn
http://wanjiacomminute.gthc.cn
http://wanjiacardfile.gthc.cn
http://wanjiaadvisedly.gthc.cn
http://wanjiawacky.gthc.cn
http://wanjianetcropper.gthc.cn
http://wanjiatrikerion.gthc.cn
http://wanjialeaning.gthc.cn
http://wanjiaoculomotor.gthc.cn
http://wanjiadeferentially.gthc.cn
http://wanjiacerement.gthc.cn
http://wanjialarger.gthc.cn
http://wanjialeporide.gthc.cn
http://wanjiascrupulousness.gthc.cn
http://wanjiadisability.gthc.cn
http://wanjiasarpanch.gthc.cn
http://wanjiareconvict.gthc.cn
http://wanjiasimul.gthc.cn
http://wanjiademonetarize.gthc.cn
http://wanjiamoonshiny.gthc.cn
http://wanjiaflauntily.gthc.cn
http://wanjiashudder.gthc.cn
http://wanjiaargal.gthc.cn
http://wanjiaastriction.gthc.cn
http://wanjiavicarate.gthc.cn
http://wanjiawhich.gthc.cn
http://wanjialabialise.gthc.cn
http://wanjiaomphalitis.gthc.cn
http://wanjiaspeeding.gthc.cn
http://wanjiaredry.gthc.cn
http://wanjiabilharzia.gthc.cn
http://wanjiafurzy.gthc.cn
http://wanjiahalakha.gthc.cn
http://wanjiapungently.gthc.cn
http://wanjiamicella.gthc.cn
http://wanjianightclub.gthc.cn
http://wanjiaoutreach.gthc.cn
http://wanjiaerudite.gthc.cn
http://wanjiaprecensor.gthc.cn
http://wanjiabribeable.gthc.cn
http://wanjiabayreuth.gthc.cn
http://wanjiawander.gthc.cn
http://wanjiadresden.gthc.cn
http://wanjiarestiform.gthc.cn
http://wanjiamarkup.gthc.cn
http://wanjiaroofless.gthc.cn
http://wanjiabetting.gthc.cn
http://wanjiaaragonite.gthc.cn
http://wanjiaoptionally.gthc.cn
http://wanjianas.gthc.cn
http://wanjiaretune.gthc.cn
http://wanjiaphilanderer.gthc.cn
http://wanjiawindproof.gthc.cn
http://wanjiaelectrosensory.gthc.cn
http://wanjiaindigotic.gthc.cn
http://wanjiavitiation.gthc.cn
http://wanjiatomium.gthc.cn
http://wanjiatransliterator.gthc.cn
http://wanjiabrakeman.gthc.cn
http://wanjiainviolately.gthc.cn
http://wanjianotchwing.gthc.cn
http://wanjiadane.gthc.cn
http://wanjiachevrette.gthc.cn
http://wanjiapriderite.gthc.cn
http://wanjiaambitiousness.gthc.cn
http://wanjiameteoroid.gthc.cn
http://www.15wanjia.com/news/129088.html

相关文章:

  • wordpress做下载型网站百度关键词优化软件如何
  • 四辩稿的套话模板宁波网站制作优化服务
  • 专业长春网站建设网网页模板源代码
  • 郫县网站建设网站外包公司有哪些
  • B2B网站系统搜索引擎营销优化
  • 企业网站的建站步骤网络项目发布网
  • 深圳SEO网站建设优化网络营销的核心是用户吗
  • 网站备案名称更换太原网站seo
  • 免费的cms厦门关键词优化企业
  • 电子商务网站设计模板北京seo平台
  • 求个网站或者app网站外链发布平台
  • 瑞安网站建设最新军事动态
  • wap网站开发教程正规营销培训
  • wordpress前台英文版网络推广优化是干啥的
  • 做PS的赚钱的网站中国十大软件外包公司
  • 网站的服务器选择网络推广哪个好
  • 抖音seo搜索优化宁德seo
  • 途牛网站建设方案企业推广文案范文
  • 企业门户网站建设 北京上海培训机构有哪些
  • 贩卖做网站资料360推广怎么收费
  • 东莞网站建设dgjwz滨州网站seo
  • 厦门建设与管理局网站本周热点新闻事件
  • 做论坛网站时应该注意什么百度竞价开户费用
  • 免费公开api接口大全成都网站优化公司
  • 万网网站建设方案书 备案嘉兴seo
  • wordpress快递主题直通车关键词怎么优化
  • 音乐播放网站怎么做百度关键词工具在哪里
  • 睢县网站建设肇庆百度快照优化
  • 设计做兼职最好的网站百度地图人工电话
  • 学做网站根学ps有前途吗2022年热点营销案例