SilvioGiancola's picture
Update README.md
330a0a5 verified
metadata
license: agpl-3.0
pretty_name: SoccerNet Ball Action Spotting Dataset
tags:
  - soccer
  - video
  - spotting
  - localisation
  - ball

This repo contains 4 versions of the dataset:

  • 720p: SoccerNet Ball Action Spotting dataset in OSL JSON format with video inputs at 720p resolution and annotations for 12 classes of ball actions.
  • 224p: SoccerNet Ball Action Spotting dataset in OSL JSON format with video inputs at 224p resolution and annotations for 12 classes of ball actions.
  • 720p-2023: SoccerNet Ball Action Spotting dataset in OSL JSON format with video inputs at 720p resolution and annotations for 2 classes of ball actions.
  • 224p-2023: SoccerNet Ball Action Spotting dataset in OSL JSON format with video inputs at 224p resolution and annotations for 2 classes of ball actions.

How to download the SoccerNet Ball Action Spotting dataset

Prepare your workspace

Install the huggingface_hub python library with hf_transfer

pip install -U hf_transfer huggingface_hub
export HF_HUB_ENABLE_HF_TRANSFER=1

Download the 224p version (recommended)

Run the following lines on

from huggingface_hub import snapshot_download
snapshot_download(repo_id="OpenSportsLab/soccernetpro-localization-snbas",
                  repo_type="dataset", revision="224p",
                  local_dir="soccernetpro-localization-snbas/224p")

Download the 720p version

Run the following lines on

from huggingface_hub import snapshot_download
snapshot_download(repo_id="OpenSportsLab/soccernetpro-localization-snbas",
                  repo_type="dataset", revision="720p",
                  local_dir="soccernetpro-localization-snbas/720p")

Download the 224p-2023 version

Run the following lines on

from huggingface_hub import snapshot_download
snapshot_download(repo_id="OpenSportsLab/soccernetpro-localization-snbas",
                  repo_type="dataset", revision="224p-2023",
                  local_dir="soccernetpro-localization-snbas/224p-2023")

Download the 720p-2023 version

Run the following lines on

from huggingface_hub import snapshot_download
snapshot_download(repo_id="OpenSportsLab/soccernetpro-localization-snbas",
                  repo_type="dataset", revision="720p-2023",
                  local_dir="soccernetpro-localization-snbas/720p-2023")