The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1531, in _prepare_split_single
for key, record in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 127, in _generate_examples
for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
for filename, f in tar_iterator:
^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
for x in self.generator(*self.args):
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1405, in _iter_from_urlpath
with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 982, in xopen
file_obj = fs.open(paths[0], mode)
File "<string>", line 3, in open
File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
result = effect(*args, **kwargs)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 786, in wrapped
tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
~~~^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1393, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1571, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
__key__ string | __url__ string | json dict | 0.mp4 video |
|---|---|---|---|
000000000 | hf://datasets/OpenSportsLab/OSL-loc-tennis-dallas@99d882d60b26511ce56654599881823dac6aea0f/labeled/shards/shard-000000.tar | {
"events": [
{
"head": "swing",
"label": "swing",
"position_ms": 6524
},
{
"head": "swing",
"label": "swing",
"position_ms": 7480
},
{
"head": "swing",
"label": "swing",
"position_ms": 8422
},
{
"head": "swing",
"label": "s... | |
000000001 | hf://datasets/OpenSportsLab/OSL-loc-tennis-dallas@99d882d60b26511ce56654599881823dac6aea0f/labeled/shards/shard-000001.tar | {
"events": [
{
"head": "swing",
"label": "swing",
"position_ms": 5930
},
{
"head": "swing",
"label": "swing",
"position_ms": 18795
},
{
"head": "swing",
"label": "swing",
"position_ms": 26241
},
{
"head": "swing",
"label": ... | |
000000002 | hf://datasets/OpenSportsLab/OSL-loc-tennis-dallas@99d882d60b26511ce56654599881823dac6aea0f/labeled/shards/shard-000002.tar | {
"events": [
{
"head": "swing",
"label": "swing",
"position_ms": 46721
},
{
"head": "swing",
"label": "swing",
"position_ms": 70721
},
{
"head": "swing",
"label": "swing",
"position_ms": 71521
},
{
"head": "swing",
"label":... | |
000000000 | hf://datasets/OpenSportsLab/OSL-loc-tennis-dallas@99d882d60b26511ce56654599881823dac6aea0f/unlabeled/shards/shard-000000.tar | {
"events": [],
"id": "Dimitrov_vs_Michelsen_2_10_26",
"inputs": [
{
"type": "video",
"path": "Dimitrov_vs_Michelsen_2_10_26.mp4",
"fps": 25
}
],
"metadata": {
"annotation_status": "unlabeled"
}
} | |
000000001 | hf://datasets/OpenSportsLab/OSL-loc-tennis-dallas@99d882d60b26511ce56654599881823dac6aea0f/unlabeled/shards/shard-000001.tar | {
"events": [],
"id": "Shapovalov_vs_Jodar_2_10_26",
"inputs": [
{
"type": "video",
"path": "Shapovalov_vs_Jodar_2_10_26.mp4",
"fps": 25
}
],
"metadata": {
"annotation_status": "unlabeled"
}
} |
OSL Dallas Tennis Localization
Dallas tennis videos packaged as Parquet metadata plus WebDataset TAR shards. The dataset is organized by annotation status rather than by training, validation, and test splits.
Layout
labeled/
├── metadata.parquet
├── shard_manifest.parquet
└── shards/shard-*.tar
unlabeled/
├── metadata.parquet
├── shard_manifest.parquet
└── shards/shard-*.tar
Each TAR shard contains one video and its OSL JSON sidecar. The Parquet files provide searchable sample metadata and a manifest of the files stored in each shard.
Annotation status
Labeled
| Video | Swing events |
|---|---|
Cilic_vs_Tien_2_10_26 |
701 |
Fritz_vs_Giron_2_10_26 |
736 |
Shelton_vs_Diallo_2_10_26 |
509 |
All 1,946 labeled events use the swing annotation head and label. Event
positions are stored as integer milliseconds in OSL JSON v2 sidecars.
Unlabeled
| Video | Status |
|---|---|
Dimitrov_vs_Michelsen_2_10_26 |
Unlabeled |
Shapovalov_vs_Jodar_2_10_26 |
Unlabeled |
The unlabeled samples have an explicit annotation_status: unlabeled metadata
field and an empty events list. This distinguishes videos awaiting annotation
from labeled videos that happen to contain no events.
Download with OpenSportsLib
From the OpenSportsLib repository, download either group with:
python tools/download/download_osl_hf.py \
--repo-id OpenSportsLab/OSL-loc-tennis-dallas \
--revision main \
--split labeled \
--format parquet \
--output-dir /path/to/output
Replace labeled with unlabeled to download videos awaiting annotation. The
downloader reconstructs an OSL JSON v2 manifest and extracts the referenced
videos from the WebDataset shards.
Format
- OSL JSON version:
2.0 - Task:
action_spotting - Modality:
video - Annotation head:
swing - Video FPS:
25.0 - Shard target size:
1GB
- Downloads last month
- 97