当前位置:网站首页>百度飞将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 through the network i/o model from beginning to end
JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]
子网划分、构造超网 典型题
AcWing 345. 牛站 题解(floyd的性质、倍增)
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
Byte P7 professional level explanation: common tools and test methods for interface testing, Freeman
LeetCode:1175. Prime permutation
Dark horse notes - create immutable sets and streams
域分析工具BloodHound的使用说明
从底层结构开始学习FPGA----FIFO IP的定制与测试
随机推荐
1123. The nearest common ancestor of the deepest leaf node
THREE.AxesHelper is not a constructor
AcWing 904. 虫洞 题解(spfa求负环)
go-zero微服务实战系列(九、极致优化秒杀性能)
Clickhouse fields are grouped and aggregated, and SQL is queried according to the granularity of any time period
AcWing 361. 观光奶牛 题解(spfa求正环)
Neon Optimization: About Cross access and reverse cross access
从底层结构开始学习FPGA----FIFO IP的定制与测试
长按按钮执行函数
js如何快速创建一个长度为 n 的数组
C language instance_ three
AI automatically generates annotation documents from code
Table table setting fillet
2022 Google CTF SEGFAULT LABYRINTH wp
Share a general compilation method of so dynamic library
Supersocket 1.6 creates a simple socket server with message length in the header
Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which
swiper组件中使用video导致全屏错位
[signal and system]
Installation of gazebo & connection with ROS