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

边栏推荐
猜你喜欢

Send template message via wechat official account

Let's see through the network i/o model from beginning to end

AI 从代码中自动生成注释文档

黑马笔记---异常处理

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

对C语言数组的再认识

Gazebo的安装&与ROS的连接

According to the analysis of the Internet industry in 2022, how to choose a suitable position?

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

如何管理分布式团队?
随机推荐
Start from the bottom structure to learn the customization and testing of fpga---- FIFO IP
What are the differences between Oracle Linux and CentOS?
ZOJ Problem Set – 2563 Long Dominoes 【如压力dp】
Send template message via wechat official account
Neon Optimization: About Cross access and reverse cross access
7.6 simulation summary
mongodb查看表是否导入成功
THREE.AxesHelper is not a constructor
Asset security issues or constraints on the development of the encryption industry, risk control + compliance has become the key to breaking the platform
LeetCode. 剑指offer 62. 圆圈中最后剩下的数
Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which
拖拽改变顺序
The difference between Tansig and logsig. Why does BP like to use Tansig
云呐-工单管理制度及流程,工单管理规范
子网划分、构造超网 典型题
微信公众号发送模板消息
Today's question -2022/7/4 modify string reference type variables in lambda body
Spark TPCDS Data Gen
Dark horse notes - create immutable sets and streams
Neon Optimization: an instruction optimization case of matrix transpose