# cars196

<br />

- **Description**:

The Cars dataset contains 16,185 images of 196 classes of cars. The data is
split into 8,144 training images and 8,041 testing images, where each class has
been split roughly in a 50-50 split. Classes are typically at the level of Make,
Model, Year, e.g. 2012 Tesla Model S or 2012 BMW M3 coupe.

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

- **Homepage** :
  [https://ai.stanford.edu/\~jkrause/cars/car_dataset.html](https://ai.stanford.edu/%7Ejkrause/cars/car_dataset.html)

- **Source code** :
  [`tfds.image_classification.Cars196`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/image_classification/cars196.py)

- **Versions**:

  - `2.0.0`: Initial release
  - `2.0.1`: Website URL update
  - **`2.1.0`** (default): Fixing bug <https://github.com/tensorflow/datasets/issues/3927>
- **Download size** : `1.82 GiB`

- **Dataset size** : `1.85 GiB`

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

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 8,041 |
| `'train'` | 8,144 |

- **Feature structure**:

    FeaturesDict({
        'bbox': BBoxFeature(shape=(4,), dtype=float32),
        'id': Text(shape=(), dtype=string),
        'image': Image(shape=(None, None, 3), dtype=uint8),
        'label': ClassLabel(shape=(), dtype=int64, num_classes=196),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| bbox | BBoxFeature | (4,) | float32 |   |
| id | Text |   | string |   |
| image | Image | (None, None, 3) | uint8 |   |
| label | ClassLabel |   | int64 |   |

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

- **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/cars196-2.1.0.png)

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

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

- **Citation**:

    @inproceedings{KrauseStarkDengFei-Fei_3DRR2013,
    title = {3D Object Representations for Fine-Grained Categorization},
    booktitle = {4th International IEEE Workshop on  3D Representation and Recognition (3dRR-13)},
    year = {2013},
    address = {Sydney, Australia},
    author = {Jonathan Krause and Michael Stark and Jia Deng and Li Fei-Fei}
    }