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

边栏推荐
猜你喜欢

Let's see how to realize BP neural network in Matlab toolbox

How to manage distributed teams?

LeetCode. 剑指offer 62. 圆圈中最后剩下的数

Make Jar, Not War

AcWing 1148. 秘密的牛奶运输 题解(最小生成树)

AI automatically generates annotation documents from code

C language - array

Today's question -2022/7/4 modify string reference type variables in lambda body
![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]

dvajs的基础介绍及使用
随机推荐
编译命令行终端 swift
AI 从代码中自动生成注释文档
今日问题-2022/7/4 lambda体中修改String引用类型变量
1123. The nearest common ancestor of the deepest leaf node
Neon Optimization: an instruction optimization case of matrix transpose
AcWing 361. 观光奶牛 题解(spfa求正环)
Machine learning: the difference between random gradient descent (SGD) and gradient descent (GD) and code implementation.
Dark horse notes - create immutable sets and streams
Start from the bottom structure to learn the customization and testing of fpga---- FIFO IP
c语言—数组
Table table setting fillet
Spark TPCDS Data Gen
Supersocket 1.6 creates a simple socket server with message length in the header
Can the system hibernation file be deleted? How to delete the system hibernation file
Amway wave C2 tools
JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]
Failed to successfully launch or connect to a child MSBuild. exe process. Verify that the MSBuild. exe
dvajs的基础介绍及使用
Neon Optimization: About Cross access and reverse cross access
设置Wordpress伪静态连接(无宝塔)