|
|
--- |
|
|
license: agpl-3.0 |
|
|
pretty_name: 'VARS: Multi-View Fouls Recognition' |
|
|
tags: |
|
|
- soccer |
|
|
- video |
|
|
- foul |
|
|
- recognition |
|
|
- classification |
|
|
- referee |
|
|
--- |
|
|
|
|
|
This dataset contains 3 branches: |
|
|
- raw: zipped raw data and scripts to convert to OSL JSON format |
|
|
- mvfoul: VARS fouls classification dataset with multiple views in OSL JSON format |
|
|
- svfoul: VARS fouls classification dataset with single views in OSL JSON format |
|
|
|
|
|
# How to download the VARS 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 MVFouls version |
|
|
|
|
|
Run the following lines on |
|
|
```python |
|
|
from huggingface_hub import snapshot_download |
|
|
snapshot_download(repo_id="OpenSportsLab/soccernetpro-classification-vars", |
|
|
repo_type="dataset", revision="mvfouls", |
|
|
local_dir="SoccerNet/mvfouls") |
|
|
``` |
|
|
|
|
|
## Download the SVFouls version |
|
|
|
|
|
```python |
|
|
from huggingface_hub import snapshot_download |
|
|
snapshot_download(repo_id="OpenSportsLab/soccernetpro-classification-vars", |
|
|
repo_type="dataset", revision="svfouls", |
|
|
local_dir="SoccerNet/svfouls") |
|
|
``` |
|
|
|