gy65896/OneRestore
Image-to-Image • Updated • 1
Error code: StreamingRowsError
Exception: ValueError
Message: Invalid string class label CDD-11@52a185b4266f6b1093b6391294ce2c230cc35c6c
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 478, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2815, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2365, in __iter__
example = _apply_feature_types_on_example(
example, self.features, token_per_repo_id=self.token_per_repo_id
)
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2282, in _apply_feature_types_on_example
encoded_example = features.encode_example(example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2162, in encode_example
return encode_nested_example(self, example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1446, in encode_nested_example
{k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1469, in encode_nested_example
return schema.encode_example(obj) if obj is not None else None
~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1144, in encode_example
example_data = self.str2int(example_data)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1081, in str2int
output = [self._strval2int(value) for value in values]
~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1102, in _strval2int
raise ValueError(f"Invalid string class label {value}")
ValueError: Invalid string class label CDD-11@52a185b4266f6b1093b6391294ce2c230cc35c6cNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
CDD-11 is a compound-degradation image restoration dataset with 11 degradation types. Each sample shares the same filename across all folders (paired by 000001.png, 000002.png, …).
| Branch | Contents |
|---|---|
main |
Training and test datasets only |
methods |
Restored images from other methods only (no metrics, logs, or other files) |
Datasets (main branch):
git clone https://huggingface.co/datasets/gy65896/CDD-11
cd CDD-11
unzip train.zip && unzip test.zip
Method results (methods branch):
git clone -b methods https://huggingface.co/datasets/gy65896/CDD-11 CDD-11-methods
main branch)
After unpacking train.zip and test.zip:
.
|-- train/
| |-- clear/ # clean GT
| | |-- 000001.png
| | |-- 000002.png
| |-- low/
| |-- haze/
| |-- rain/
| |-- snow/
| |-- low_haze/
| |-- low_rain/
| |-- low_snow/
| |-- haze_rain/
| |-- haze_snow/
| |-- low_haze_rain/
| |-- low_haze_snow/
|-- test/
|-- clear/
|-- low/
|-- haze/
|-- rain/
|-- snow/
|-- low_haze/
|-- low_rain/
|-- low_snow/
|-- haze_rain/
|-- haze_snow/
|-- low_haze_rain/
|-- low_haze_snow/
clear/ holds the ground-truth images; the other folders contain the corresponding degraded versions with matching filenames.
methods branch)
The methods branch stores restored images only—no metrics, configs, or other artifacts.
.
|-- <MethodName>/
| |-- low/
| | |-- 00002.png
| |-- haze/
| |-- rain/
| |-- ...
Each method directory mirrors the test-set degradation folders; filenames match test/clear/ on main for comparison.