视频分类4

2024-01-26 00:58
文章标签 视频分类

本文主要是介绍视频分类4,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

鉴于上次分类结果不容乐观,故而本次增加了0视频,此次测试结果如下:

一、实际是0视频,误判帧率,共200多个完整短视频视频[未切分]


The total frames number=1474,error rate =0.0000
The total frames number=1315,error rate =0.0274
The total frames number=1472,error rate =0.0000
The total frames number=514,error rate =0.0039
The total frames number=1298,error rate =0.0000
The total frames number=872,error rate =0.0103
The total frames number=725,error rate =0.0000
The total frames number=1376,error rate =0.0000
The total frames number=588,error rate =0.0000
The total frames number=1124,error rate =0.0000
The total frames number=365,error rate =0.0082
The total frames number=939,error rate =0.0319
The total frames number=549,error rate =0.0000
The total frames number=1865,error rate =0.0129
The total frames number=632,error rate =0.0000
The total frames number=503,error rate =0.0000
The total frames number=552,error rate =0.0000
The total frames number=527,error rate =0.0095
The total frames number=1021,error rate =0.0000
The total frames number=794,error rate =0.0000
The total frames number=1617,error rate =0.0396
The total frames number=1031,error rate =0.0000
The total frames number=752,error rate =0.0000
The total frames number=1211,error rate =0.0107
The total frames number=3866,error rate =0.0000
The total frames number=450,error rate =0.0000
The total frames number=1848,error rate =0.0022
The total frames number=1598,error rate =0.0313
The total frames number=774,error rate =0.0039
The total frames number=1286,error rate =0.0000
The total frames number=595,error rate =0.0739
The total frames number=798,error rate =0.0000
The total frames number=668,error rate =0.0180
The total frames number=1070,error rate =0.0000
The total frames number=1824,error rate =0.0000
The total frames number=887,error rate =0.0034
The total frames number=556,error rate =0.0000
The total frames number=441,error rate =0.0408
The total frames number=1359,error rate =0.0000
The total frames number=685,error rate =0.0000
The total frames number=944,error rate =0.0477
The total frames number=1486,error rate =0.0229
The total frames number=623,error rate =0.0000
The total frames number=665,error rate =0.0000
The total frames number=1094,error rate =0.0512
The total frames number=602,error rate =0.0000
The total frames number=907,error rate =0.0386
The total frames number=670,error rate =0.0000
The total frames number=1021,error rate =0.0215
The total frames number=394,error rate =0.1523
The total frames number=761,error rate =0.0000
The total frames number=672,error rate =0.0402
The total frames number=785,error rate =0.0000
The total frames number=402,error rate =0.0000
The total frames number=880,error rate =0.0000
The total frames number=697,error rate =0.0244
The total frames number=598,error rate =0.0301
The total frames number=553,error rate =0.0000
The total frames number=947,error rate =0.3326
The total frames number=994,error rate =0.0000
The total frames number=3369,error rate =0.0000
The total frames number=768,error rate =0.0443
The total frames number=639,error rate =0.0000
The total frames number=318,error rate =0.0000
The total frames number=682,error rate =0.0000
The total frames number=980,error rate =0.0122
The total frames number=1116,error rate =0.0143
The total frames number=403,error rate =0.0372
The total frames number=740,error rate =0.0000
The total frames number=776,error rate =0.0773
The total frames number=776,error rate =0.2487
The total frames number=916,error rate =0.0098
The total frames number=699,error rate =0.0000
The total frames number=812,error rate =0.0000
The total frames number=720,error rate =0.0833
The total frames number=946,error rate =0.0000
The total frames number=481,error rate =0.1476
The total frames number=1252,error rate =0.0000
The total frames number=864,error rate =0.0220
The total frames number=861,error rate =0.0441
The total frames number=1414,error rate =0.0000
The total frames number=746,error rate =0.0000
The total frames number=749,error rate =0.0000
The total frames number=369,error rate =0.0000
The total frames number=277,error rate =0.3646
The total frames number=1351,error rate =0.0222
The total frames number=1288,error rate =0.0318
The total frames number=1473,error rate =0.0061
The total frames number=713,error rate =0.0000
The total frames number=668,error rate =0.0000
The total frames number=1338,error rate =0.0000
The total frames number=1084,error rate =0.0000
The total frames number=1419,error rate =0.0070
The total frames number=711,error rate =0.0000
The total frames number=1328,error rate =0.0000
The total frames number=1138,error rate =0.0000
The total frames number=677,error rate =0.0827
The total frames number=980,error rate =0.0000
The total frames number=602,error rate =0.0000
The total frames number=1852,error rate =0.0000
The total frames number=553,error rate =0.0000
The total frames number=783,error rate =0.0000
The total frames number=1678,error rate =0.0137
The total frames number=1823,error rate =0.0000
The total frames number=1461,error rate =0.0000
The total frames number=713,error rate =0.0000
The total frames number=909,error rate =0.0077
The total frames number=860,error rate =0.0837
The total frames number=988,error rate =0.0395
The total frames number=1113,error rate =0.0000
The total frames number=725,error rate =0.0000
The total frames number=723,error rate =0.0719
The total frames number=1548,error rate =0.0019
The total frames number=412,error rate =0.0000
The total frames number=540,error rate =0.1667
The total frames number=591,error rate =0.0000
The total frames number=558,error rate =0.0197
The total frames number=1029,error rate =0.0126
The total frames number=1831,error rate =0.0022
The total frames number=1086,error rate =0.0018
The total frames number=960,error rate =0.0646
The total frames number=1768,error rate =0.0023
The total frames number=761,error rate =0.0000
The total frames number=1303,error rate =0.0514
The total frames number=755,error rate =0.0000
The total frames number=1001,error rate =0.0160
The total frames number=1076,error rate =0.0000
The total frames number=361,error rate =0.0000
The total frames number=656,error rate =0.0000
The total frames number=1011,error rate =0.0030
The total frames number=1241,error rate =0.0089
The total frames number=911,error rate =0.0110
The total frames number=776,error rate =0.0644
The total frames number=938,error rate =0.0000
The total frames number=1176,error rate =0.0179
The total frames number=581,error rate =0.0000
The total frames number=1598,error rate =0.0257
The total frames number=853,error rate =0.0188
The total frames number=596,error rate =0.0000
The total frames number=1262,error rate =0.0000
The total frames number=1865,error rate =0.0000
The total frames number=480,error rate =0.0000
The total frames number=467,error rate =0.0000
The total frames number=666,error rate =0.1336
The total frames number=1553,error rate =0.1030
The total frames number=672,error rate =0.0000
The total frames number=457,error rate =0.0044
The total frames number=998,error rate =0.0000
The total frames number=775,error rate =0.0052
The total frames number=745,error rate =0.0081
The total frames number=487,error rate =0.0000
The total frames number=1603,error rate =0.0250
The total frames number=639,error rate =0.0156
The total frames number=737,error rate =0.0190
The total frames number=1348,error rate =0.0000
The total frames number=626,error rate =0.0000
The total frames number=1189,error rate =0.0421
The total frames number=1233,error rate =0.0633
The total frames number=586,error rate =0.0256
The total frames number=1337,error rate =0.0688
The total frames number=1507,error rate =0.0060
The total frames number=1328,error rate =0.0301
The total frames number=756,error rate =0.1005
The total frames number=515,error rate =0.0000
The total frames number=416,error rate =0.0793
The total frames number=997,error rate =0.0120
The total frames number=889,error rate =0.0000
The total frames number=1269,error rate =0.0418
The total frames number=750,error rate =0.0000
The total frames number=633,error rate =0.0000
The total frames number=771,error rate =0.4047
The total frames number=915,error rate =0.1115
The total frames number=1437,error rate =0.0084
The total frames number=935,error rate =0.0000
The total frames number=1680,error rate =0.0321
The total frames number=514,error rate =0.1187
The total frames number=1866,error rate =0.0000
The total frames number=981,error rate =0.0102
The total frames number=1865,error rate =0.1641
The total frames number=728,error rate =0.2102
The total frames number=695,error rate =0.0000
The total frames number=1039,error rate =0.0375
The total frames number=1752,error rate =0.0011
The total frames number=850,error rate =0.0306
The total frames number=781,error rate =0.0000
The total frames number=596,error rate =0.0369
The total frames number=736,error rate =0.0122
The total frames number=373,error rate =0.0000
The total frames number=1172,error rate =0.0077
The total frames number=599,error rate =0.0000
The total frames number=1049,error rate =0.0000
The total frames number=471,error rate =0.0000
The total frames number=1701,error rate =0.0141
The total frames number=1189,error rate =0.0000
The total frames number=623,error rate =0.0706
The total frames number=829,error rate =0.0000
The total frames number=590,error rate =0.0000
The total frames number=1534,error rate =0.0000
The total frames number=1727,error rate =0.0365
The total frames number=1823,error rate =0.0000
The total frames number=1190,error rate =0.0479
The total frames number=1007,error rate =0.0129
The total frames number=1177,error rate =0.0178
The total frames number=697,error rate =0.0000
The total frames number=726,error rate =0.0110
The total frames number=433,error rate =0.0000
The total frames number=1219,error rate =0.0386
The total frames number=629,error rate =0.0000
The total frames number=612,error rate =0.0343
The total frames number=459,error rate =0.7647
The total frames number=705,error rate =0.0000
The total frames number=996,error rate =0.0191
The total frames number=1281,error rate =0.0601
The total frames number=1164,error rate =0.0249
The total frames number=1131,error rate =0.0000
The total frames number=770,error rate =0.0000
The total frames number=1494,error rate =0.0054
The total frames number=754,error rate =0.1419
The total frames number=1184,error rate =0.0591
The total frames number=891,error rate =0.0370
The total frames number=505,error rate =0.0000
The total frames number=1424,error rate =0.0000
The total frames number=1865,error rate =0.0204
The total frames number=1864,error rate =0.0000
The total frames number=543,error rate =0.0000

寡人决定将其中超过10%的加入0视频再次进行训练,另外增加一些1视频

鉴于全部连续帧处理速度很慢,因此决定减少一半。再次处理,看看结果,当然计算方法也要有所变化。

 

二、将1视频进行处理,结果如下,视频是切分后的,基本上只有1动作,43个视频

其中的error rate是1动作的占比,此时应为1动作有多少,可以这么理解。不容乐观啊

有些动作可能太慢了,有些可能是倒立,有些可能是加框的视频。这些视频都需要再次加入进行学习

动作的慢可能是由于16选择太小了,是否考虑32或者更长时间??


The total frames number=258,error rate =0.4031
The total frames number=455,error rate =0.0000
The total frames number=374,error rate =0.5535
The total frames number=457,error rate =0.8009
The total frames number=805,error rate =0.0000
The total frames number=457,error rate =0.0000
The total frames number=443,error rate =0.0000
The total frames number=452,error rate =0.0000
The total frames number=243,error rate =0.9383
The total frames number=442,error rate =0.8620
The total frames number=444,error rate =0.0000
The total frames number=267,error rate =0.0000
The total frames number=579,error rate =0.0000
The total frames number=1013,error rate =0.0118
The total frames number=450,error rate =0.9667
The total frames number=839,error rate =0.9821
The total frames number=397,error rate =0.6574
The total frames number=202,error rate =0.8465
The total frames number=453,error rate =0.6556
The total frames number=454,error rate =0.0000
The total frames number=430,error rate =0.4395
The total frames number=1228,error rate =0.9878
The total frames number=288,error rate =0.9479
The total frames number=410,error rate =0.0000
The total frames number=1188,error rate =0.1322
The total frames number=451,error rate =0.2195
The total frames number=940,error rate =0.9840
The total frames number=717,error rate =0.9791
The total frames number=358,error rate =0.8631
The total frames number=484,error rate =0.3864
The total frames number=666,error rate =0.4249
The total frames number=1019,error rate =0.0039
The total frames number=1865,error rate =0.5448
The total frames number=451,error rate =0.9667
The total frames number=594,error rate =0.9747
The total frames number=450,error rate =0.8956
The total frames number=452,error rate =0.3208
The total frames number=291,error rate =0.3196
The total frames number=499,error rate =0.4028
The total frames number=960,error rate =0.8281
The total frames number=978,error rate =0.9100
The total frames number=456,error rate =0.9189
The total frames number=417,error rate =0.7074

如果以90%为基准,那么能挑出来的不到25%,只有11个。80%17个不到40%

这么差得结果我感觉以下方面也可尝试:详见我的笔记。

1-采用纯图像分类,累计结果;

2-采用预训练模型。

 

 

另外有相关问题可以加入QQ群讨论,不设微信群

QQ群:868373192 

语音图像深度-学习群

这篇关于视频分类4的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/645180

相关文章

I3D视频分类论文梗概及代码解读Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset

论文https://arxiv.org/pdf/1705.07750.pdf,from DeepMind ,CVPR2017 代码https://github.com/LossNAN/I3D-Tensorflow 2017年视频分类最好的网络,同时提供了VGG的预训练模型,网络端到端,简单易懂,便于部署及工程化。只是跑一下基本有个Tensorflow,单显卡就能训练和测试,效果还好,一绝。本文

【办公类-04-03】华为助手导出照片视频分类(根据图片、视频的文件名日期分类导出)

背景需求: 用华为手机助手导出的照片视频,只能将jpg照片(exifread读取图片的exif拍摄日期,Png、JPEG、mp4都无法识别到exif信息) 【办公类-04-02】华为助手导出照片(jpg)读取拍摄时间分类导出,JPEG、png、MP4不行)-CSDN博客文章浏览阅读750次,点赞10次,收藏10次。【办公类-04-02】华为助手导出照片(jpg)读取拍摄时间分类

政安晨:【Keras机器学习示例演绎】(三十)—— 使用变换器进行视频分类

目录 数据收集 设置 定义超参数 数据准备 构建基于变换器的模型 培训的效用函数 模型训练和推理 政安晨的个人主页:政安晨 欢迎 👍点赞✍评论⭐收藏 收录专栏: TensorFlow与Keras机器学习实战 希望政安晨的博客能够对您有所裨益,如有不足之处,欢迎在评论区提出指正! 本文目标:用混合变压器训练视频分类器。 本示例是使用 CNN-RNN 架构(卷积神经

政安晨:【Keras机器学习示例演绎】(二十八)—— 使用 卷积神经网络与循环神经网络 架构进行视频分类

目录 数据收集 设置 定义超参数 数据准备 序列模型 推论 政安晨的个人主页:

PaddleVideo:PP-TSM 视频分类

本文记录:使用Paddle框架训练TSM(Temporal Shift Module) 前提条件:已经安装Paddle和PadleVideo,具体可参考前一篇文章。 1-数据准备: 以UCF101为例:内含13320 个短视频,视频类别:101 种 UCF101 – Action Recognition Data Set – Center for Research in Compute

PaddleVideo:PP-TSM视频分类

本文记录:使用Paddle框架训练TSM(Temporal Shift Module) 前提条件:已经安装Paddle和PadleVideo,具体可参考前一篇文章。 1-数据准备: 以UCF101为例:内含13320 个短视频,视频类别:101 种 1. 主要包括5类动作 :人和物体交互,只有肢体动作,人与人交互,玩音乐器材,各类运动 2. 每类视频被分为25组,每组包含4-7个

基于PyTorch的视频分类实战

1、数据集下载 官方链接:https://serre-lab.clps.brown.edu/resource/hmdb-a-large-human-motion-database/#Downloads 百度网盘连接: https://pan.baidu.com/s/1sSn--u_oLvTDjH-BgOAv_Q?pwd=xsri 提取码: xsri          官方链接有详细的数据

直播提醒 |必知必会!金牌讲师领读视频分类论文

已经学习了「视频分类综述」的你,是不是迫切的想读顶会论文呢? 相比于图像分类,视频分类具有以下特点: 数据量更大:由连续多帧图像组成的视频片段 内容更复杂:单个火多个目标实例的行为或是关系 更多维度信息:时间信息、空间信息 时间和资源开销更大 这也造成了你总是学不好,吃不透视频分类! 现在,毕业于北京交通大学的博士讲师,亲自带你领读国际顶尖的视频分类论文!让你深入理解视频分类,学完能够掌握视

机器学习笔记 - 基于自定义数据集 + 3D CNN进行视频分类

一、简述         这里主要介绍了基于自定义动作识别数据集训练用于视频分类的 3D 卷积神经网络 (CNN) 。3D CNN 使用三维滤波器来执行卷积。内核能够在三个方向上滑动,而在 2D CNN 中它可以在二维上滑动。         这里的模型主要基于D. Tran 等人2017年的论文“动作识别的时空卷积研究”。 https://arxiv.org/abs/1711.11248v

2021-基于卷积和LSTM神经网络的视频分类时间融合方法在暴力检测中的应用

A Temporal Fusion Approach for Video Classification with Convolutional and LSTM Neural Networks Applied to Violence Detection 通过读该文章,想起之前复现的一个代码,与本文不同的是,代码采用帧率从视频片段中截取图片,视频的帧率都是25,也就是1s提取25张图片,这样会有很多