当前位置:网站首页>百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (下)
百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (下)
2022-07-06 18:06:00 【訢詡】
三、BMN
上篇说到处理一下BMN需要的训练数据,在PaddleVideo-develop/applications/FootballAction/datasets/EuroCup2016/features这个文件下面
(1)训练数据处理
打开PaddleVideo-develop/applications/FootballAction/datasets/script这个目录,在这个路径下面执行:
python get_instance_for_bmn.py
(2)修改配置文件
打开PaddleVideo-develop/applications/FootballAction/train_proposal/configs/bmn_football_v2.0.yaml
第22、26、31行改为刚才生成的:PaddleVideo-develop/applications/FootballAction/datasets/EuroCup2016/input_for_bmn/label.json的绝对路径
第38、49、60行改为datasets绝对路径:PaddleVideo-develop/applications/FootballAction/datasets/EuroCup2016/input_for_bmn/feature
第84行PaddleVideo-develop/applications/FootballAction/BMN_INFERENCE_results的绝对路径然后在这个位置新建一个叫做BMN_INFERENCE_results的文件夹
第17行batchsize改为1
(3)训练BMN
在PaddleVideo项目根目录执行:
python -B -m paddle.distributed.launch --gpus="0" --log_dir=./football/logs_bmn main.py --validate -c applications/FootballAction/train_proposal/configs/bmn_football_v2.0.yaml -o output_dir=./football/bmn
开始训练
边栏推荐
- Share a general compilation method of so dynamic library
- [signal and system]
- Byte P7 professional level explanation: common tools and test methods for interface testing, Freeman
- Neon Optimization: an instruction optimization case of matrix transpose
- 1123. The nearest common ancestor of the deepest leaf node
- 增加 pdf 标题浮窗
- How to prevent overfitting in cross validation
- 2022 Google CTF SEGFAULT LABYRINTH wp
- C语言实例_2
- 编译命令行终端 swift
猜你喜欢
随机推荐
Wood extraction in Halcon
Neon Optimization: About Cross access and reverse cross access
ClickHouse字段分组聚合、按照任意时间段粒度查询SQL
curl 命令
Google发布安全更新,修复Chrome中已被利用的0 day
1123. 最深叶节点的最近公共祖先
微信公众号发送模板消息
Appium基础 — Appium Inspector定位工具(一)
系统休眠文件可以删除吗 系统休眠文件怎么删除
Match VIM from zero (0) -- Introduction to vimscript
What does security capability mean? What are the protection capabilities of different levels of ISO?
设置Wordpress伪静态连接(无宝塔)
golang 基础 —— 数据类型
THREE. AxesHelper is not a constructor
HMM notes
tansig和logsig的差异,为什么BP喜欢用tansig
Amway wave C2 tools
云呐-工单管理制度及流程,工单管理规范
如何管理分布式团队?
Start from the bottom structure to learn the customization and testing of fpga---- FIFO IP