Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 2.71 KB

ucf24.md

File metadata and controls

73 lines (59 loc) · 2.71 KB

English | 简体中文

UCF24 Data Preparation

This document mainly introduces the preparation process of UCF24 dataset. It mainly includes the download of the RGB frame files, the annotation files and the pathlist of the generated file.


1. Data Download

Detailed information on UCF24 data can be found on the website UCF24. For ease of use, PaddleVideo provides a download script for the RGB frame, annotation file of the UCF24 data.

First, please ensure access to the data/ucf24/ directory and enter the following command for downloading the RGB frame, annotation file of the UCF24 dataset.

bash download_frames_annotations.sh

2. File Pathlist Generation

To specify the format for dividing the file, enter the following command

python build_split.py --raw_path ./splitfiles

Description of parameters

--raw_path: indicates the storage path of the original division file

Folder Structure

After the whole data pipeline for UCF24 preparation, the folder structure will look like:

├── data
│   ├── ucf24
│   |   ├── groundtruths_ucf
│   |   ├── labels
│   |   |   ├── Basketball
│   |   |   |   ├── v_Basketball_g01_c01
│   |   |   |   |   ├── 00009.txt
│   |   |   |   |   ├── 00010.txt
│   |   |   |   |   ├── ...
│   |   |   |   |   ├── 00050.txt
│   |   |   |   |   ├── 00051.txt
│   |   |   ├── ...
│   |   |   ├── WalkingWithDog
│   |   |   |   ├── v_WalkingWithDog_g01_c01
│   |   |   |   ├── ...
│   |   |   |   ├── v_WalkingWithDog_g25_c04
│   |   ├── rgb-images
│   |   |   ├── Basketball
│   |   |   |   ├── v_Basketball_g01_c01
│   |   |   |   |   ├── 00001.jpg
│   |   |   |   |   ├── 00002.jpg
│   |   |   |   |   ├── ...
│   |   |   |   |   ├── 00140.jpg
│   |   |   |   |   ├── 00141.jpg
│   |   |   ├── ...
│   |   |   ├── WalkingWithDog
│   |   |   |   ├── v_WalkingWithDog_g01_c01
│   |   |   |   ├── ...
│   |   |   |   ├── v_WalkingWithDog_g25_c04
│   |   ├── splitfiles
│   |   |   ├── trainlist01.txt
│   |   |   |── testlist01.txt 
│   |   ├── trainlist.txt
│   |   |── testlist.txt