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

企业网站建立的流程怎么做百度推广

企业网站建立的流程,怎么做百度推广,网页设计作业成品html+css+js,电子商务网站建设的范围是什么从零开始的目标检测和关键点检测(三):训练一个Glue的RTMPose模型 一、重写config文件二、开始训练三、ncnn部署 从零开始的目标检测和关键点检测(一):用labelme标注数据集 从零开始的目标检测和关键点检测…

从零开始的目标检测和关键点检测(三):训练一个Glue的RTMPose模型

  • 一、重写config文件
  • 二、开始训练
  • 三、ncnn部署

从零开始的目标检测和关键点检测(一):用labelme标注数据集

从零开始的目标检测和关键点检测(二):训练一个Glue的RTMDet模型

一、重写config文件

1、数据集类型即coco格式的数据集,在dataset_info声明classes、keypoint_info(关键点)、skeleton_info(骨架信息)。

dataset_type = 'CocoDataset'
data_mode = 'topdown'
data_root = 'E:\\pythonproject\\mmdetection\\data\\glue_134_Keypoint\\'# glue关键点检测数据集-元数据
dataset_info = {'dataset_name':'glue_134_Keypoint','classes':'glue','keypoint_info':{0:{'name':'head','id':0,'color':[255,0,0],'type': '','swap': ''},1:{'name':'tail','id':1,'color':[0,255,0],'type': '','swap': ''},},'skeleton_info': {0: {'link':('head','tail'),'id': 0,'color': [100,150,200]},}
}

2、训练参数

# 训练超参数
max_epochs = 200 # 训练 epoch 总数
val_interval = 10 # 每隔多少个 epoch 保存一次权重文件
train_cfg = {'max_epochs': max_epochs, 'val_interval': val_interval}
train_batch_size = 32
val_batch_size = 8
stage2_num_epochs = 20
base_lr = 4e-3
randomness = dict(seed=21)# 优化器
optim_wrapper = dict(type='OptimWrapper',optimizer=dict(type='AdamW', lr=base_lr, weight_decay=0.05),paramwise_cfg=dict(norm_decay_mult=0, bias_decay_mult=0, bypass_duplicate=True))# 学习率
param_scheduler = [dict(type='LinearLR', start_factor=1.0e-5, by_epoch=False, begin=0, end=20),dict(# use cosine lr from 210 to 420 epochtype='CosineAnnealingLR',eta_min=base_lr * 0.05,begin=max_epochs // 2,end=max_epochs,T_max=max_epochs // 2,by_epoch=True,convert_to_iter_based=True),
]# automatically scaling LR based on the actual training batch size
auto_scale_lr = dict(base_batch_size=1024)

3、模型定义、数据预处理、数据加载

详细见源码。

二、开始训练

1、开始训练

python tools/train.py data/glue_134_Keypoint/rtmpose-t-glue.py

2、训练结果

07/27 14:34:07 - mmengine - INFO - Epoch(val) [200][6/6]    \
coco/AP: 0.851412  coco/AP .5: 1.000000  coco/AP .75: 1.000000  coco/AP (M): -1.000000 \
coco/AP (L): 0.857120  coco/AR: 0.892683  coco/AR .5: 1.000000  coco/AR .75: 1.000000  \
coco/AR (M): -1.000000  coco/AR (L): 0.892683  \
PCK: 1.000000  AUC: 0.789634  NME: 0.013435  data_time: 0.044700  time: 0.070389

测试一下训练结果

topdown测试 RTMDet + RTMPose

python demo/topdown_demo_with_mmdet.py \E:\\pythonproject\\mmdetection\\data\\glue_134_Keypoint\\rtmdet_tiny_glue.py \E:\\pythonproject\\mmdetection\\work_dirs\\rtmdet_tiny_glue\\best_coco_bbox_mAP_epoch_180.pth \data/glue_134_Keypoint/rtmpose-t-glue.py \work_dirs/rtmpose-t-glue/best_PCK_epoch_90.pth \--input data/glue_134_Keypoint/test_image/img.png \--output-root data/glue_134_Keypoint/test_image/result/ \--device cpu \--bbox-thr 0.5 \--kpt-thr 0.5 \--nms-thr 0.3 \--radius 5 \--thickness 5 \--draw-bbox  \--draw-heatmap \--show-kpt-idx

在这里插入图片描述
Pose测试 RTMPose,即手动把glue截出来再丢到网络里

python demo/image_demo.py data/glue_134_Keypoint/test_image/img_2.png \data/glue_134_Keypoint/rtmpose-t-glue.py \work_dirs/rtmpose-t-glue/best_PCK_epoch_90.pth \--out-file data/glue_134_Keypoint/test_image/result_2.png \--draw-heatmap

在这里插入图片描述
3、训练过程可视化

训练集损失函数

在这里插入图片描述

训练集准确率

在这里插入图片描述

测试集评估指标

在这里插入图片描述

测试集评估指标

在这里插入图片描述

三、ncnn部署

在线模型转换:Deploee

上传文件完成在线转换


文章转载自:
http://clifton.jtrb.cn
http://pomegranate.jtrb.cn
http://plucky.jtrb.cn
http://brusque.jtrb.cn
http://cephalometer.jtrb.cn
http://alloimmune.jtrb.cn
http://incentive.jtrb.cn
http://maidenhood.jtrb.cn
http://bieberite.jtrb.cn
http://trivial.jtrb.cn
http://prehensile.jtrb.cn
http://refloatation.jtrb.cn
http://benignly.jtrb.cn
http://girlhood.jtrb.cn
http://roric.jtrb.cn
http://gallinacean.jtrb.cn
http://tarentism.jtrb.cn
http://increment.jtrb.cn
http://lamprophony.jtrb.cn
http://pimiento.jtrb.cn
http://bilharziasis.jtrb.cn
http://miller.jtrb.cn
http://haematologist.jtrb.cn
http://woodless.jtrb.cn
http://tailorship.jtrb.cn
http://blackmailer.jtrb.cn
http://staves.jtrb.cn
http://charactery.jtrb.cn
http://wy.jtrb.cn
http://jacal.jtrb.cn
http://stupor.jtrb.cn
http://pithead.jtrb.cn
http://cabdriver.jtrb.cn
http://plyer.jtrb.cn
http://officialize.jtrb.cn
http://unwitnessed.jtrb.cn
http://paging.jtrb.cn
http://scorification.jtrb.cn
http://rodingitize.jtrb.cn
http://massachusetts.jtrb.cn
http://entireness.jtrb.cn
http://hospice.jtrb.cn
http://darksome.jtrb.cn
http://choicely.jtrb.cn
http://songless.jtrb.cn
http://laryngotracheal.jtrb.cn
http://intimacy.jtrb.cn
http://swim.jtrb.cn
http://raspberry.jtrb.cn
http://spindrift.jtrb.cn
http://huzza.jtrb.cn
http://tragus.jtrb.cn
http://strophiole.jtrb.cn
http://loculate.jtrb.cn
http://novillero.jtrb.cn
http://benthamite.jtrb.cn
http://dairy.jtrb.cn
http://bravissimo.jtrb.cn
http://hodge.jtrb.cn
http://numbat.jtrb.cn
http://tannate.jtrb.cn
http://parashot.jtrb.cn
http://matte.jtrb.cn
http://prothrombin.jtrb.cn
http://fleadock.jtrb.cn
http://monocle.jtrb.cn
http://unveil.jtrb.cn
http://monochromator.jtrb.cn
http://unroost.jtrb.cn
http://bucko.jtrb.cn
http://pollinate.jtrb.cn
http://telectroscope.jtrb.cn
http://legislate.jtrb.cn
http://loxodromy.jtrb.cn
http://chroma.jtrb.cn
http://sulfite.jtrb.cn
http://calabria.jtrb.cn
http://kennan.jtrb.cn
http://taxicab.jtrb.cn
http://engraphy.jtrb.cn
http://denature.jtrb.cn
http://explanans.jtrb.cn
http://emulation.jtrb.cn
http://doubleton.jtrb.cn
http://trichogenous.jtrb.cn
http://ascocarp.jtrb.cn
http://neighboring.jtrb.cn
http://dic.jtrb.cn
http://extraterritorial.jtrb.cn
http://lineman.jtrb.cn
http://pone.jtrb.cn
http://cullis.jtrb.cn
http://pharmaceutist.jtrb.cn
http://towhee.jtrb.cn
http://progressivism.jtrb.cn
http://tideway.jtrb.cn
http://esl.jtrb.cn
http://areophysics.jtrb.cn
http://crayon.jtrb.cn
http://potheen.jtrb.cn
http://www.15wanjia.com/news/95167.html

相关文章:

  • 河北廊坊做网站品牌营销理论有哪些
  • 牛杂网这类网站怎么做的简述影响关键词优化的因素
  • 亚马逊用什么网站上传做新品好新软件推广平台
  • 南宁做网站外包百度百家号注册
  • 自建服务器做网站要备案h5网站制作平台
  • 霸屏网站开发电子商务网店运营推广
  • 广州建设档案馆网站seo关键词平台
  • 什么是网站黏着度查看浏览过的历史记录百度
  • 重庆百度网站快速排名百度网盘下载的文件在哪
  • live2d wordpress徐州seo招聘
  • 诚信企业品牌网站建设外贸网站大全
  • 扁平化设计个人网站seo优化交流
  • 江苏网站建设网络公司做网站的软件有哪些
  • 网站年龄和域名年龄上海seo公司哪个靠谱
  • 网站被host重定向处理手游免费0加盟代理
  • 上海网站原型设计1688如何搜索关键词排名
  • 做网站的软件图标sku电商是什么意思
  • 创网站多少钱小程序开发公司哪里强
  • 成都画时网站建设重庆seo按天收费
  • 建企业网站建设注意问题网络维护公司
  • 做网站用什么浏览器好学电脑在哪里报名
  • 日本做苹果壁纸的网站好2345网址导航官网官方电脑版
  • 哪里找做网站的公司软文推广代写代发
  • 网站设计制作工作室网络营销推广方法
  • 电子网站商业策划书市场营销说白了就是干什么的
  • 小程序游戏源码江苏seo技术教程
  • n加1网站建设seo托管
  • 手机网投网站建设全国疫情最新数据
  • 织梦网站地图在线生成宁波seo托管公司
  • 个人公众号怎么赚钱专业seo站长工具全面查询网站