# davis

<br />

- **Description**:

The DAVIS 2017 video object segmentation dataset.

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

- **Homepage** : <https://davischallenge.org/>

- **Source code** :
  [`tfds.video.davis.Davis`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/video/davis/davis.py)

- **Versions**:

  - `1.0.0`: Initial release.
  - `2.0.0`: Change instance ids to be 0, 1, 2, ...
  - **`2.1.0`** (default): Fix instance ids order.
- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  No

- **Splits**:

| Split | Examples |
|---|---|
| `'train'` | 60 |
| `'validation'` | 30 |

- **Feature structure**:

    FeaturesDict({
        'metadata': FeaturesDict({
            'num_frames': int64,
            'video_name': string,
        }),
        'video': Sequence({
            'frames': Image(shape=(None, None, 3), dtype=uint8),
            'segmentations': Image(shape=(None, None, 1), dtype=uint8),
        }),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| metadata | FeaturesDict |   |   |   |
| metadata/num_frames | Tensor |   | int64 |   |
| metadata/video_name | Tensor |   | string |   |
| video | Sequence |   |   |   |
| video/frames | Image | (None, None, 3) | uint8 |   |
| video/segmentations | Image | (None, None, 1) | 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)):
  Not supported.

- **Citation**:

    @article{DBLP:journals/corr/Pont-TusetPCASG17,
      author    = {Jordi Pont{-}Tuset and
                   Federico Perazzi and
                   Sergi Caelles and
                   Pablo Arbelaez and
                   Alexander Sorkine{-}Hornung and
                   Luc Van Gool},
      title     = {The 2017 {DAVIS} Challenge on Video Object Segmentation},
      journal   = {CoRR},
      volume    = {abs/1704.00675},
      year      = {2017},
      url       = {http://arxiv.org/abs/1704.00675},
      archivePrefix = {arXiv},
      eprint    = {1704.00675},
      timestamp = {Mon, 13 Aug 2018 16:48:55 +0200},
      biburl    = {https://dblp.org/rec/journals/corr/Pont-TusetPCASG17.bib},
      bibsource = {dblp computer science bibliography, https://dblp.org}
    }

## davis/480p (default config)

- **Config description**: The 480p version of the dataset

- **Download size** : `794.19 MiB`

- **Dataset size** : `792.26 MiB`

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

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

## davis/full_resolution

- **Config description**: The full resolution version of the dataset.

- **Download size** : `2.75 GiB`

- **Dataset size** : `2.78 GiB`

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

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