SilvioGiancola's picture
Create README.md
d709c28 verified
---
license: agpl-3.0
pretty_name: 'SoccerNet-v2 Action Spotting Dataset'
tags:
- soccer
- video
- spotting
- localisation
---
This repo contains 2 versions of the dataset:
- 720p: SoccerNet-v2 Action Spotting dataset in OSL JSON format with video inputs at 720p resolution
- 224p: SoccerNet-v2 Action Spotting dataset in OSL JSON format with video inputs at 224p resolution
- ResNET_PCA512: SoccerNet-v2 Action Spotting dataset in OSL JSON format with video features inputs extracted with ResNET and reduced to 512 dimension with PCA at 2fps
# How to download the SoccerNet-v2 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-snas",
repo_type="dataset", revision="224p",
local_dir="soccernetpro-localization-snas/224p")
```
## Download the 720p version
Run the following lines on
```python
from huggingface_hub import snapshot_download
snapshot_download(repo_id="OpenSportsLab/soccernetpro-localization-snas",
repo_type="dataset", revision="720p",
local_dir="soccernetpro-localization-snas/720p")
```
## Download the ResNET_PCA512 version
Run the following lines on
```python
from huggingface_hub import snapshot_download
snapshot_download(repo_id="OpenSportsLab/soccernetpro-localization-snas",
repo_type="dataset", revision="ResNET_PCA512",
local_dir="soccernetpro-localization-snas/ResNET_PCA512")
```