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:    ArrowInvalid
Message:      Float value 0.500000 was truncated converting to int64
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2224, in cast_table_to_schema
                  cast_array_to_feature(
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2086, in cast_array_to_feature
                  return array_cast(
                         ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
                  return func(array, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1949, in array_cast
                  return array.cast(pa_type)
                         ^^^^^^^^^^^^^^^^^^^
                File "pyarrow/array.pxi", line 1135, in pyarrow.lib.Array.cast
                File "/usr/local/lib/python3.12/site-packages/pyarrow/compute.py", line 412, in cast
                  return call_function("cast", [arr], options, memory_pool)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/_compute.pyx", line 604, in pyarrow._compute.call_function
                File "pyarrow/_compute.pyx", line 399, in pyarrow._compute.Function.call
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Float value 0.500000 was truncated converting to int64
              
              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 1342, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1922, 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.

ref_image
string
image_nameA
string
image_nameB
string
human_preference_for_A
int64
score_normA
float64
score_normB
float64
task
string
scene_id
int64
ref/000648.png
images/018159.png
images/018160.png
1
0.577027
0.399258
Deblurring
5
ref/000648.png
images/018160.png
images/018161.png
0
0.399258
0.492416
Deblurring
5
ref/000648.png
images/018159.png
images/018161.png
1
0.577027
0.492416
Deblurring
5
ref/000648.png
images/018162.png
images/018163.png
0
0.560879
0.62909
Deblurring
5
ref/000648.png
images/018159.png
images/018163.png
0
0.577027
0.62909
Deblurring
5
ref/000648.png
images/018163.png
images/018161.png
1
0.62909
0.492416
Deblurring
5
ref/000648.png
images/018162.png
images/018161.png
1
0.560879
0.492416
Deblurring
5
ref/000648.png
images/018159.png
images/018164.png
0
0.577027
0.735339
Deblurring
5
ref/000648.png
images/018165.png
images/018163.png
1
0.704334
0.62909
Deblurring
5
ref/000648.png
images/018166.png
images/018167.png
1
0.640179
0.536863
Deblurring
5
ref/000648.png
images/018166.png
images/018162.png
1
0.640179
0.560879
Deblurring
5
ref/000648.png
images/018168.png
images/018169.png
1
0.216964
0.188741
Deblurring
5
ref/000648.png
images/018167.png
images/018170.png
0
0.536863
0.67697
Deblurring
5
ref/000648.png
images/018166.png
images/018165.png
0
0.640179
0.704334
Deblurring
5
ref/000648.png
images/018166.png
images/018170.png
0
0.640179
0.67697
Deblurring
5
ref/000648.png
images/018171.png
images/018166.png
1
0.785138
0.640179
Deblurring
5
ref/000648.png
images/018167.png
images/018165.png
0
0.536863
0.704334
Deblurring
5
ref/000648.png
images/018167.png
images/018162.png
0
0.536863
0.560879
Deblurring
5
ref/000648.png
images/018169.png
images/018172.png
0
0.188741
0.237601
Deblurring
5
ref/000648.png
images/018171.png
images/018165.png
1
0.785138
0.704334
Deblurring
5
ref/000648.png
images/018164.png
images/018162.png
1
0.735339
0.560879
Deblurring
5
ref/000648.png
images/018169.png
images/018173.png
0
0.188741
0.230571
Deblurring
5
ref/000648.png
images/018164.png
images/018163.png
1
0.735339
0.62909
Deblurring
5
ref/000648.png
images/018166.png
images/018164.png
0
0.640179
0.735339
Deblurring
5
ref/000648.png
images/018164.png
images/018165.png
1
0.735339
0.704334
Deblurring
5
ref/000648.png
images/018162.png
images/018165.png
0
0.560879
0.704334
Deblurring
5
ref/000648.png
images/018172.png
images/018174.png
0
0.237601
0.389321
Deblurring
5
ref/000648.png
images/018166.png
images/018175.png
0
0.640179
0.759138
Deblurring
5
ref/000648.png
images/018163.png
images/018171.png
0
0.62909
0.785138
Deblurring
5
ref/000648.png
images/018164.png
images/018170.png
1
0.735339
0.67697
Deblurring
5
ref/000648.png
images/018170.png
images/018162.png
1
0.67697
0.560879
Deblurring
5
ref/000648.png
images/018174.png
images/018176.png
0
0.389321
0.567659
Deblurring
5
ref/000648.png
images/018174.png
images/018177.png
0
0.389321
0.565772
Deblurring
5
ref/000648.png
images/018168.png
images/018172.png
0
0.216964
0.237601
Deblurring
5
ref/000648.png
images/018178.png
images/018176.png
0
0.506351
0.567659
Deblurring
5
ref/000648.png
images/018178.png
images/018177.png
0
0.506351
0.565772
Deblurring
5
ref/000648.png
images/018179.png
images/018164.png
1
0.816968
0.735339
Deblurring
5
ref/000648.png
images/018180.png
images/018174.png
1
0.574848
0.389321
Deblurring
5
ref/000648.png
images/018180.png
images/018176.png
1
0.574848
0.567659
Deblurring
5
ref/000648.png
images/018180.png
images/018177.png
1
0.574848
0.565772
Deblurring
5
ref/000648.png
images/018168.png
images/018173.png
0
0.216964
0.230571
Deblurring
5
ref/000648.png
images/018180.png
images/018178.png
1
0.574848
0.506351
Deblurring
5
ref/000648.png
images/018175.png
images/018164.png
1
0.759138
0.735339
Deblurring
5
ref/000648.png
images/018170.png
images/018180.png
1
0.67697
0.574848
Deblurring
5
ref/000648.png
images/018175.png
images/018180.png
1
0.759138
0.574848
Deblurring
5
ref/000648.png
images/018180.png
images/018181.png
0
0.574848
0.67008
Deblurring
5
ref/000648.png
images/018181.png
images/018178.png
1
0.67008
0.506351
Deblurring
5
ref/000648.png
images/018164.png
images/018171.png
0
0.735339
0.785138
Deblurring
5
ref/000648.png
images/018170.png
images/018176.png
1
0.67697
0.567659
Deblurring
5
ref/000648.png
images/018180.png
images/018182.png
0
0.574848
0.725733
Deblurring
5
ref/000648.png
images/018170.png
images/018177.png
1
0.67697
0.565772
Deblurring
5
ref/000648.png
images/018174.png
images/018178.png
0
0.389321
0.506351
Deblurring
5
ref/000648.png
images/018175.png
images/018170.png
1
0.759138
0.67697
Deblurring
5
ref/000648.png
images/018170.png
images/018178.png
1
0.67697
0.506351
Deblurring
5
ref/000648.png
images/018175.png
images/018181.png
1
0.759138
0.67008
Deblurring
5
ref/000648.png
images/018182.png
images/018176.png
1
0.725733
0.567659
Deblurring
5
ref/000648.png
images/018182.png
images/018177.png
1
0.725733
0.565772
Deblurring
5
ref/000648.png
images/018170.png
images/018181.png
1
0.67697
0.67008
Deblurring
5
ref/000648.png
images/018182.png
images/018181.png
1
0.725733
0.67008
Deblurring
5
ref/000648.png
images/018170.png
images/018182.png
0
0.67697
0.725733
Deblurring
5
ref/000648.png
images/018170.png
images/018179.png
0
0.67697
0.816968
Deblurring
5
ref/000648.png
images/018181.png
images/018179.png
0
0.67008
0.816968
Deblurring
5
ref/000648.png
images/018183.png
images/018170.png
1
0.826253
0.67697
Deblurring
5
ref/000648.png
images/018175.png
images/018179.png
0
0.759138
0.816968
Deblurring
5
ref/000648.png
images/018179.png
images/018182.png
1
0.816968
0.725733
Deblurring
5
ref/000648.png
images/018175.png
images/018184.png
0
0.759138
0.80427
Deblurring
5
ref/000648.png
images/018181.png
images/018185.png
0
0.67008
0.817257
Deblurring
5
ref/000648.png
images/018170.png
images/018185.png
0
0.67697
0.817257
Deblurring
5
ref/000648.png
images/018175.png
images/018183.png
0
0.759138
0.826253
Deblurring
5
ref/000648.png
images/018184.png
images/018170.png
1
0.80427
0.67697
Deblurring
5
ref/000648.png
images/018181.png
images/018183.png
0
0.67008
0.826253
Deblurring
5
ref/000648.png
images/018184.png
images/018181.png
1
0.80427
0.67008
Deblurring
5
ref/000648.png
images/018175.png
images/018185.png
0
0.759138
0.817257
Deblurring
5
ref/000648.png
images/018175.png
images/018182.png
1
0.759138
0.725733
Deblurring
5
ref/000648.png
images/018183.png
images/018186.png
0
0.826253
0.951878
Deblurring
5
ref/000648.png
images/018185.png
images/018179.png
1
0.817257
0.816968
Deblurring
5
ref/000648.png
images/018175.png
images/018187.png
0
0.759138
0.88185
Deblurring
5
ref/000648.png
images/018183.png
images/018179.png
1
0.826253
0.816968
Deblurring
5
ref/000648.png
images/018184.png
images/018186.png
0
0.80427
0.951878
Deblurring
5
ref/000648.png
images/018188.png
images/018182.png
1
0.867085
0.725733
Deblurring
5
ref/000648.png
images/018175.png
images/018188.png
0
0.759138
0.867085
Deblurring
5
ref/000648.png
images/018172.png
images/018173.png
1
0.237601
0.230571
Deblurring
5
ref/000648.png
images/018181.png
images/018176.png
1
0.67008
0.567659
Deblurring
5
ref/000648.png
images/018186.png
images/018179.png
1
0.951878
0.816968
Deblurring
5
ref/000648.png
images/018184.png
images/018182.png
1
0.80427
0.725733
Deblurring
5
ref/000648.png
images/018181.png
images/018177.png
1
0.67008
0.565772
Deblurring
5
ref/000648.png
images/018185.png
images/018186.png
0
0.817257
0.951878
Deblurring
5
ref/000648.png
images/018186.png
images/018187.png
1
0.951878
0.88185
Deblurring
5
ref/000648.png
images/018187.png
images/018179.png
1
0.88185
0.816968
Deblurring
5
ref/000648.png
images/018183.png
images/018189.png
0
0.826253
1
Deblurring
5
ref/000648.png
images/018188.png
images/018179.png
1
0.867085
0.816968
Deblurring
5
ref/000648.png
images/018188.png
images/018185.png
1
0.867085
0.817257
Deblurring
5
ref/000648.png
images/018186.png
images/018188.png
1
0.951878
0.867085
Deblurring
5
ref/000648.png
images/018189.png
images/018185.png
1
1
0.817257
Deblurring
5
ref/000648.png
images/018187.png
images/018182.png
1
0.88185
0.725733
Deblurring
5
ref/000648.png
images/018184.png
images/018179.png
0
0.80427
0.816968
Deblurring
5
ref/000648.png
images/018188.png
images/018183.png
1
0.867085
0.826253
Deblurring
5
ref/000648.png
images/018184.png
images/018188.png
0
0.80427
0.867085
Deblurring
5
ref/000648.png
images/018184.png
images/018185.png
0
0.80427
0.817257
Deblurring
5
ref/000648.png
images/018189.png
images/018179.png
1
1
0.816968
Deblurring
5
End of preview.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

FGRestore Dataset README

This directory contains the FGRestore data and annotations for two tasks:

  • Image quality score prediction (Regression)
  • Pairwise preference prediction (Rank)

Directory Layout

  • annotations/IR_train.json: training set (contains both score and preference annotations)
  • annotations/test_single/: test split for score prediction
  • annotations/test_pairs/: test split for pairwise preference prediction
  • images/: distorted or restored images
  • ref/: reference images

Annotation Formats

1) Training: annotations/IR_train.json

Each sample is a pairwise record with both preference and score labels. Typical fields:

  • ref_image: reference image path relative to FGRestore (for example, ref/000000.png)
  • image_nameA: candidate image A path (for example, images/000000.png)
  • image_nameB: candidate image B path (for example, images/000001.png)
  • human_preference_for_A: human preference label
    • 1: A is preferred over B
    • 0: B is preferred over A
    • 0.5: tie between A and B
  • score_normA: normalized score of image A
  • score_normB: normalized score of image B
  • task: restoration task name (for example, Denoising)
  • scene_id: scene identifier

2) Score Test Split: annotations/test_single/

Used to evaluate score prediction performance. Each record is a single-image sample. Typical fields:

  • ref_image
  • image_name
  • score_norm
  • task
  • scene_id

3) Preference Test Split: annotations/test_pairs/

Used to evaluate pairwise preference performance. Each record is a pairwise sample. Typical fields:

  • ref_image
  • image_nameA
  • image_nameB
  • human_preference_for_A (can be 0, 0.5, or 1)
  • score_normA
  • score_normB
  • task
  • scene_id

Official Train/Test Usage

  • Training: use FGRestore/annotations/IR_train.json
  • Score evaluation: use FGRestore/annotations/test_single
  • Preference evaluation: use FGRestore/annotations/test_pairs

Important Note for Scene IDs 3 and 4

For samples with scene_id equal to 3 or 4, a true pristine reference image does not exist.

In these cases, ref_image corresponds to the pre-restoration image, not a distortion-free ground-truth reference.

Suggested Metrics

  • Score prediction (test_single): SRCC / PLCC
  • Preference prediction (test_pairs): Accuracy

Data Loading Notes

  • All path fields are relative paths; use FGRestore as the data root when resolving files.
Downloads last month
66