Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    UnicodeDecodeError
Message:      'utf-8' codec can't decode byte 0x93 in position 0: invalid start byte
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table 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/text/text.py", line 98, in _generate_tables
                  batch = f.read(self.config.chunksize)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 839, in read_with_retries
                  out = read(*args, **kwargs)
                File "<frozen codecs>", line 325, in decode
              UnicodeDecodeError: 'utf-8' codec can't decode byte 0x93 in position 0: invalid start byte
              
              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 1694, 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 1879, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

text
string
{
"info": {},
"licenses": [],
"videos": [
{
"name": "DJI_0027-seg3_0",
"id": 0
},
{
"name": "DJI_0027-seg3_1",
"id": 1
},
{
"name": "DJI_0040-seg1_0",
"id": 2
},
{
"name": "DJI_0040-seg1_1",
"id": 3
},
{
"name": "DJI_0027-seg8_0",
"id": 4
},
{
"name": "DJI_0027-seg8_1",
"id": 5
},
{
"name": "DJI_0029-seg6_0",
"id": 6
},
{
"name": "DJI_0029-seg6_1",
"id": 7
},
{
"name": "DJI_0036-seg1_0",
"id": 8
},
{
"name": "DJI_0036-seg1_1",
"id": 9
},
{
"name": "DJI_0025-seg2_0",
"id": 10
},
{
"name": "DJI_0025-seg2_1",
"id": 11
},
{
"name": "DJI_0043-seg5_0",
"id": 12
},
{
"name": "DJI_0043-seg5_1",
"id": 13
},
{
"name": "DJI_0043-seg3_0",
"id": 14
},
{
"name": "DJI_0043-seg3_1",
"id": 15
},
{
"name": "DJI_0047-seg6_0",
"id": 16
},
{
"name": "DJI_0047-seg6_1",
"id": 17
},
{
"name": "DJI_0046-seg4_0",
"id": 18
},
{
"name": "DJI_0046-seg4_1",
"id": 19
},
{
"name": "DJI_0047-seg3_0",
"id": 20
},
{
"name": "DJI_0047-seg3_1",
"id": 21
},
{
"name": "UAVTOD_DJI0833Part7_0",
"id": 22
},
{
"name": "UAVTOD_DJI0833Part7_1",
"id": 23
},
End of preview.

XS-VID: An Extremely Small Video Object Detection Dataset

Paper: XS-VID: A Large-Scale Benchmark for Small Object Detection and Tracking in Videos
Code: YOLOFT

Dataset Description

XS-VID is designed as a benchmark dataset for extremely small video object detection. It is intended to evaluate the performance of video object detection models, particularly focusing on efficiency and effectiveness in resource-limited situations. The dataset includes a variety of videos and scenarios to comprehensively assess model capabilities.

[News]: XS-VIDv2 is coming soon! We are excited to announce the upcoming release of XS-VIDv2, which will feature a significantly expanded dataset with many new videos and scenarios. Stay tuned for updates!

To access the XS-VID benchmark go to https://gjhhust.github.io/XS-VID/

Dataset Download

Using Command Line

This guide provides instructions for downloading and extracting the XS-VID dataset from huggingface using command-line tools in both Linux and Windows environments.

Prerequisites

  • Python and pip: Ensure Python and pip are installed on your system.

  • huggingface Library: Install the huggingface_hub library using pip:

    pip install huggingface_hub
    

Download and Extract Dataset

Linux Command:

pip install huggingface_hub && \
huggingface-cli download lanlanlan23/XS-VID --repo-type dataset --local-dir ./XS-VID && \
mkdir -p ./XS-VID/{annotations,images} && \
unzip -o ./XS-VID/annotations.zip -d ./XS-VID/annotations && \
find ./XS-VID -name 'videos_subset_*.zip' -exec unzip -o {} -d ./XS-VID/images \; && \
rm -f ./XS-VID/*.zip

Windows Command (CMD):

pip install huggingface_hub && ^
huggingface-cli download lanlanlan23/XS-VID --repo-type dataset --local-dir ./XS-VID && ^
mkdir "./XS-VID\annotations" && mkdir "./XS-VID\images" && ^
powershell -Command "Expand-Archive -Path './XS-VID/annotations.zip' -DestinationPath './XS-VID/annotations' -Force" && ^
for /r "./XS-VID" %f in (videos_subset_*.zip) do powershell -Command "Expand-Archive -Path '%f' -DestinationPath './XS-VID/images' -Force" && ^
del /f /q "./XS-VID\*.zip"

Expected Folder Structure

After running the download and extraction commands, the XS-VID dataset folder should have the following structure:

./XS-VID/
├── annotations/    # Annotation files
└── images/         # Video frames (extracted from videos_subset_*.zip)

Notes

  • The download script automatically deletes ZIP files after successful extraction.
  • Ensure you have sufficient disk space available (approximately the size of the ZIP files plus the extracted content).

Evaluation Tool Usage

To evaluate your models on the XS-VID dataset, please follow these steps:

  1. Clone the repository: Obtain the evaluation tool files, including eval_tool.py, cocoeval.py, and mask.py from the main branch of the XS-VID repository.

  2. Set JSON paths: In eval_tool.py, configure the paths to your test COCO JSON annotation file and prediction JSON file.

  3. Run evaluation: Execute the evaluation script using the command:

    python eval_tool.py
    

Citation

If you utilize the XS-VID dataset in your research or applications, please cite the following paper:

@article{guo2024XSVID,
  title={XS-VID: An Extremely Small Video Object Detection Dataset},
  author={Jiahao Guo, Ziyang Xu, Lianjun Wu, Fei Gao, Wenyu Liu, Xinggang Wang},
  journal={arXiv preprint arXiv:2407.18137},
  year={2024}
}

Support and Contact

For any questions or issues regarding the XS-VID benchmark, please feel free to contact us at gjh_mhust@hust.edu.cn.

Downloads last month
206

Paper for lanlanlan23/XS-VID