# clic

<br />

- **Description**:

CLIC is a dataset for the Challenge on Learned Image Compression 2020 lossy
image compression track. These images contain a mix of the professional and
mobile datasets used to train and benchmark rate-distortion performance. The
dataset contains both RGB and grayscale images. This may require special
handling if a grayscale image is processed as a 1 channel Tensor and a 3 channel
Tensor is expected.

This dataset does *NOT* contain the data from the P-Frame challenge (YUV image
frames).

- **Additional Documentation** :
  [Explore on Papers With Code](https://paperswithcode.com/dataset/clic)

- **Homepage** : <https://www.compression.cc/>

- **Source code** :
  [`tfds.datasets.clic.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/clic/clic_dataset_builder.py)

- **Versions**:

  - **`1.0.0`** (default): No release notes.
- **Download size** : `7.48 GiB`

- **Dataset size** : `7.48 GiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  No

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 428 |
| `'train'` | 1,633 |
| `'validation'` | 102 |

- **Feature structure**:

    FeaturesDict({
        'image': Image(shape=(None, None, 3), dtype=uint8),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| image | Image | (None, None, 3) | uint8 |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `None`

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):

![Visualization](https://storage.googleapis.com/tfds-data/visualization/fig/clic-1.0.0.png)

- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<button id="displaydataframe">Display examples...</button>

- **Citation**:

    @misc{CLIC2020,
      title = {Workshop and Challenge on Learned Image Compression (CLIC2020)},
      author = {George Toderici, Wenzhe Shi, Radu Timofte, Lucas Theis,
                Johannes Balle, Eirikur Agustsson, Nick Johnston, Fabian Mentzer},
      url = {http://www.compression.cc},
      year={2020},
      organization={CVPR}
    }