# resisc45

<br />

> [!WARNING]
> **Warning:** Manual download required. See instructions below.

- **Description**:

RESISC45 dataset is a publicly available benchmark for Remote Sensing Image
Scene Classification (RESISC), created by Northwestern Polytechnical University
(NWPU). This dataset contains 31,500 images, covering 45 scene classes with 700
images in each class.

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

- **Homepage** :
  <http://www.escience.cn/people/JunweiHan/NWPU-RESISC45.html>

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

- **Versions**:

  - **`3.0.0`** (default): No release notes.
- **Download size** : `Unknown size`

- **Dataset size** : `407.97 MiB`

- **Manual download instructions** : This dataset requires you to
  download the source data manually into `download_config.manual_dir`
  (defaults to `~/tensorflow_datasets/downloads/manual/`):  

  Dataset can be downloaded from OneDrive:
  <https://1drv.ms/u/s!AmgKYzARBl5ca3HNaHIlzp_IXjs>
  After downloading the rar file, please extract it to the manual_dir.

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

- **Splits**:

| Split | Examples |
|---|---|
| `'train'` | 31,500 |

- **Feature structure**:

    FeaturesDict({
        'filename': Text(shape=(), dtype=string),
        'image': Image(shape=(256, 256, 3), dtype=uint8),
        'label': ClassLabel(shape=(), dtype=int64, num_classes=45),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| filename | Text |   | string |   |
| image | Image | (256, 256, 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/resisc45-3.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**:

    @article{Cheng_2017,
       title={Remote Sensing Image Scene Classification: Benchmark and State of the Art},
       volume={105},
       ISSN={1558-2256},
       url={http://dx.doi.org/10.1109/JPROC.2017.2675998},
       DOI={10.1109/jproc.2017.2675998},
       number={10},
       journal={Proceedings of the IEEE},
       publisher={Institute of Electrical and Electronics Engineers (IEEE)},
       author={Cheng, Gong and Han, Junwei and Lu, Xiaoqiang},
       year={2017},
       month={Oct},
       pages={1865-1883}
    }