Video Anomaly Detection Dataset (VADD)
收藏资源简介:
VADD包含2,591个视频,帧率为30 fps,分辨率为320×240像素,其中2,202个为训练视频,389个为测试视频。VADD的子文件夹根据视频类别命名,共有18个子文件夹。训练集的注释仅包括类别标签,而测试集的注释包含视频类别标签、视频总帧数以及异常事件的起始和结束帧位置。
VADD contains 2,591 videos with a frame rate of 30 fps and a resolution of 320×240 pixels. Among them, 2,202 are training videos and 389 are test videos. The subfolders of VADD are named based on video categories, totaling 18 subfolders. Annotations for the training set only include category labels, while annotations for the test set contain video category labels, the total number of frames in the video, as well as the start and end frame positions of abnormal events.
MTFL数据集概述
数据集基本信息
- 数据集名称: Video Anomaly Detection Dataset (VADD)
- 数据量: 2,591个视频
- 帧率: 30 fps
- 分辨率: 320×240像素
- 训练集: 2,202个视频
- 测试集: 389个视频
- 类别数: 18类
数据集结构
-
训练集标注格式:
[子文件夹/视频名称] [视频标签]
-
测试集标注格式:
[子文件夹/视频名称] [视频标签] [总帧数] [起始帧1] [结束帧1] [起始帧2]...
数据集特点
- 多时间尺度特征学习: 使用短、中、长时间尺度的视频片段提取时空特征
- 异常检测性能:
- UCF-Crime: 89.78% AUC
- ShanghaiTech: 95.32% AUC
- XD-Violence: 84.57% AP
- 异常识别性能:
- UCF-Crime: 45.53% 平均准确率
- VADD: 50.34% 平均准确率
模型检查点
- 异常检测检查点:
- MTFL_VST_Kinetics400: 使用Kinetics400预训练的VST-RGB特征
- MTFL_VST_VADD: 使用VADD预训练的VST<sub>Aug</sub>_RGB特征
- 异常识别检查点:
- 提供7个检查点,基于4折交叉验证
特征提取
- 特征提取器:
- Video Swin Transformer预训练模型
- Kinetics-400预训练
- VADD预训练
- Video Swin Transformer预训练模型
- 特征类型:
- VST_RGB特征
- VST<sub>Aug</sub>_RGB特征
环境与工具
- 环境要求: 需安装requirements.txt中的依赖
- 文件夹结构:
- demo/
- detection/: 异常检测代码
- recognition/: 异常识别代码
- utils/: 工具脚本
- test_videos/: 测试视频存放目录
- Annotation/: 标注文件存放目录
- features/: 特征存放目录
- results/: 结果存放目录
- demo/
使用说明
-
特征提取: bash python utils/feature_extractor.py --clip_length [8/32/64]
-
异常检测:
-
训练: bash python detection/train.py --train_anno [训练标注文件] --test_anno [测试标注文件]
-
测试: bash python detection/test.py --test_anno [测试标注文件] --detection_model [检查点路径]
-
-
异常识别:
-
训练: bash python recognition/train.py --train_anno [训练标注文件] --test_anno [测试标注文件]
-
测试: bash python recognition/test.py --test_anno [测试标注文件] --recognition_model [检查点路径]
-




