|
Download README.md from OpenSportsLab/PFF: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/datasets/OpenSportsLab/PFF/resolve/main/README.md
- Command line
-
hf download hf://datasets/OpenSportsLab/PFF/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/OpenSportsLab/PFF/resolve/main/README.md
635 Bytes
| license: gpl-3.0 | |
| # Download the PFF-FC dataset in the OSL Action Spotting JSON format | |
| ``` | |
| from huggingface_hub import snapshot_download | |
| snapshot_download(repo_id="OpenSportsLab/PFF", | |
| repo_type="dataset", revision="main", | |
| local_dir="PFF-FC") | |
| ``` | |
| ## Download specific subsets | |
| ### Download 720p versions | |
| ``` | |
| from huggingface_hub import snapshot_download | |
| # Download the 720p version of the dataset | |
| snapshot_download(repo_id="OpenSportsLab/PFF", | |
| repo_type="dataset", revision="main", | |
| local_dir="PFF-FC", | |
| allow_patterns="720p/*") | |
| ``` | |