You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

AFL-TAD

AFL-TAD is a temporal action detection dataset for Australian rules football. Given a video, the task is to identify each kick, pass, mark and contested mark and estimate its start and end time. Each dataset row represents one video. Training combines short clips, match highlights and complete quarters. Validation and test use highlights and complete quarters.

Composition

Split Short clips Highlights Full quarters Videos Action intervals
Train 1,000 10 3 1,013 2,590
Validation 0 2 1 3 508
Test 0 2 1 3 422
Total 1,000 14 5 1,019 3,520
Action label Train Validation Test
kick 1,108 208 193
contest_mark 532 91 89
mark 349 53 45
pass 601 156 95

Of the 1,000 training clips, 857 contain one labelled action and 143 are background examples with an empty annotation list.

Recommended frame rate

For any video distributed at 50 fps, we recommend using 25 fps as the model input rate. The table lists every 50 fps file in the release. The 49 short training clips prepared at 25 fps are supplied as final MP4s and can be used directly.

Split Video Type File frame rate Recommended input rate
Test Richmond v St Kilda, Round 15, 2021, first quarter Full quarter 50 fps 25 fps

For the Richmond quarter, take every second frame in presentation order, starting with frame zero. This gives 43,029 input frames from the 86,057 frames in the file. With zero-based indexing, input frame j corresponds to source frame 2*j at time j/25 seconds. Keep the ground-truth start and end times in seconds as supplied. For example, the event time 100.00 s corresponds to source frame 5,000 and input frame 2,500.

Files and fields

Each split directory contains the MP4 files and a UTF-8 metadata.jsonl file with one record per video. The file_name field links a record to its video in the same directory. The Hugging Face VideoFolder loader exposes it as the video column.

Field Meaning
video_id Stable identifier for the video.
video_type One of clip, highlight or full_quarter.
duration_s Playable duration of the video stream in seconds, reported to the nearest microsecond.
fps, num_frames Frame rate and frame count recorded for the annotation timeline.
encoded_num_frames, encoded_avg_fps Frame count and average frame rate of the packaged video stream.
annotations List of events with label, start_s, end_s and sub_label.

Event times are measured in seconds from the beginning of each video. Use the stored start and end times for evaluation, and the encoded frame count when indexing decoded video frames.

The class key contest_mark denotes a contested mark or contested marking attempt. Its optional sub_label records the annotated outcome. Across the dataset, 255 contested events are labelled success, 266 are labelled fail, and 191 have an unspecified outcome. These 191 are training clips. A null outcome denotes an unspecified or inapplicable sublabel.

Loading the dataset

From the parent directory of a downloaded copy, use a Hugging Face Datasets installation with VideoFolder support:

from datasets import Video, load_dataset

dataset = load_dataset("./AFL-TAD")
test = dataset["test"].cast_column("video", Video(decode=False))
sample = test[0]
print(sample["video_id"], sample["annotations"][0])
Downloads last month
108