当前位置:网站首页>百度飞将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开始训练

边栏推荐
- Make Jar, Not War
- Comparison of picture beds of free white whoring
- POJ 3177 Redundant Paths POJ 3352 Road Construction(双连接)
- How to manage distributed teams?
- [JS] obtain the N days before and after the current time or the n months before and after the current time (hour, minute, second, year, month, day)
- Installation of gazebo & connection with ROS
- Can the system hibernation file be deleted? How to delete the system hibernation file
- AcWing 361. 观光奶牛 题解(spfa求正环)
- AcWing 345. 牛站 题解(floyd的性质、倍增)
- DS-5/RVDS4.0变量初始化错误
猜你喜欢

Dark horse notes - exception handling

Can the system hibernation file be deleted? How to delete the system hibernation file

Asset security issues or constraints on the development of the encryption industry, risk control + compliance has become the key to breaking the platform

云呐|工单管理软件,工单管理软件APP

Make Jar, Not War

shell脚本快速统计项目代码行数

Installation of gazebo & connection with ROS

Start from the bottom structure to learn the customization and testing of fpga---- FIFO IP
![JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]](/img/40/da56fe6468da64dd37d6b5b0082206.png)
JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]

Appium foundation - appium inspector positioning tool (I)
随机推荐
AcWing 1141. 局域网 题解(kruskalkruskal 求最小生成树)
从底层结构开始学习FPGA----FIFO IP的定制与测试
树莓派/arm设备上安装火狐Firefox浏览器
Failed to successfully launch or connect to a child MSBuild. exe process. Verify that the MSBuild. exe
安全保护能力是什么意思?等保不同级别保护能力分别是怎样?
docker 方法安装mysql
grep查找进程时,忽略grep进程本身
LeetCode:1175. 质数排列
AcWing 344. 观光之旅题解(floyd求无向图的最小环问题)
2022 Google CTF SEGFAULT LABYRINTH wp
What are the differences between Oracle Linux and CentOS?
黑马笔记---异常处理
Vocabulary in Data Book
Match VIM from zero (0) -- Introduction to vimscript
1123. 最深叶节点的最近公共祖先
Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which
Appium基础 — Appium Inspector定位工具(一)
2022 Google CTF SEGFAULT LABYRINTH wp
C语言实例_5
修改px4飞控的系统时间