|
|
--- |
|
|
license: agpl-3.0 |
|
|
pretty_name: 'SoccerNet Ball Action Spotting Dataset' |
|
|
tags: |
|
|
- soccer |
|
|
- video |
|
|
- spotting |
|
|
- localisation |
|
|
- ball |
|
|
--- |
|
|
|
|
|
This repo contains 2 versions of the dataset: |
|
|
- 720p: SoccerNet Ball Action Spotting dataset in OSL JSON format with video inputs at 720p resolution |
|
|
- 224p: SoccerNet Ball Action Spotting dataset in OSL JSON format with video inputs at 224p resolution |
|
|
|
|
|
# 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 |
|
|
```python |
|
|
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 |
|
|
```python |
|
|
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") |
|
|
``` |