Skip to content

Commit

Permalink
Automated documentation update.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 632239290
  • Loading branch information
The TensorFlow Datasets Authors committed May 9, 2024
1 parent 9ef98ce commit 7b66e9b
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 19 deletions.
91 changes: 79 additions & 12 deletions docs/catalog/emnist.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,7 @@ horizontally and rotated 90 anti-clockwise. You can use `tf.transpose` within
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>:
Updated broken download URL

* **Download size**: `Unknown size`

* **Dataset size**: `Unknown size`

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

* **Splits**:

Split | Examples
:---- | -------:
* **Download size**: `535.73 MiB`

* **Supervised keys** (See
[`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
Expand Down Expand Up @@ -94,6 +83,19 @@ Split | Examples

* **Config description**: EMNIST ByClass

* **Dataset size**: `349.16 MiB`

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

* **Splits**:

Split | Examples
:-------- | -------:
`'test'` | 116,323
`'train'` | 697,932

* **Feature structure**:

```python
Expand All @@ -115,6 +117,19 @@ label | ClassLabel | | int64 |

* **Config description**: EMNIST ByMerge

* **Dataset size**: `349.16 MiB`

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

* **Splits**:

Split | Examples
:-------- | -------:
`'test'` | 116,323
`'train'` | 697,932

* **Feature structure**:

```python
Expand All @@ -136,6 +151,19 @@ label | ClassLabel | | int64 |

* **Config description**: EMNIST Balanced

* **Dataset size**: `56.63 MiB`

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

* **Splits**:

Split | Examples
:-------- | -------:
`'test'` | 18,800
`'train'` | 112,800

* **Feature structure**:

```python
Expand All @@ -157,6 +185,19 @@ label | ClassLabel | | int64 |

* **Config description**: EMNIST Letters

* **Dataset size**: `44.14 MiB`

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

* **Splits**:

Split | Examples
:-------- | -------:
`'test'` | 14,800
`'train'` | 88,800

* **Feature structure**:

```python
Expand All @@ -178,6 +219,19 @@ label | ClassLabel | | int64 |

* **Config description**: EMNIST Digits

* **Dataset size**: `120.32 MiB`

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

* **Splits**:

Split | Examples
:-------- | -------:
`'test'` | 40,000
`'train'` | 240,000

* **Feature structure**:

```python
Expand All @@ -199,6 +253,19 @@ label | ClassLabel | | int64 |

* **Config description**: EMNIST MNIST

* **Dataset size**: `30.09 MiB`

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

* **Splits**:

Split | Examples
:-------- | -------:
`'test'` | 10,000
`'train'` | 60,000

* **Feature structure**:

```python
Expand Down
16 changes: 9 additions & 7 deletions docs/catalog/plant_leaves.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<meta itemprop="name" content="TensorFlow Datasets" />
</div>
<meta itemprop="name" content="plant_leaves" />
<meta itemprop="description" content="This dataset consists of 4502 images of healthy and unhealthy plant leaves&#10;divided into 22 categories by species and state of health. The images are in&#10;high resolution JPG format.&#10;&#10;There are no files with label prefix 0000, therefore label encoding is shifted&#10;by one (e.g. file with label prefix 0001 gets encoded label 0).&#10;&#10;Note: Each image is a separate download. Some might rarely fail, therefore make&#10;sure to restart if that happens. An exception will be raised in case one of the&#10;downloads repeatedly fails.&#10;&#10;Dataset URL: https://data.mendeley.com/datasets/hb74ynkjcn/1 License:&#10;http://creativecommons.org/licenses/by/4.0&#10;&#10;To use this dataset:&#10;&#10;```python&#10;import tensorflow_datasets as tfds&#10;&#10;ds = tfds.load(&#x27;plant_leaves&#x27;, split=&#x27;train&#x27;)&#10;for ex in ds.take(4):&#10; print(ex)&#10;```&#10;&#10;See [the guide](https://www.tensorflow.org/datasets/overview) for more&#10;informations on [tensorflow_datasets](https://www.tensorflow.org/datasets).&#10;&#10;" />
<meta itemprop="description" content="This dataset consists of 4502 images of healthy and unhealthy plant leaves&#10;divided into 22 categories by species and state of health. The images are in&#10;high resolution JPG format.&#10;&#10;There are no files with label prefix 0000, therefore label encoding is shifted&#10;by one (e.g. file with label prefix 0001 gets encoded label 0).&#10;&#10;Note: Each image is a separate download. Some might rarely fail, therefore make&#10;sure to restart if that happens. An exception will be raised in case one of the&#10;downloads repeatedly fails.&#10;&#10;Dataset URL: https://data.mendeley.com/datasets/hb74ynkjcn/1 License:&#10;http://creativecommons.org/licenses/by/4.0&#10;&#10;To use this dataset:&#10;&#10;```python&#10;import tensorflow_datasets as tfds&#10;&#10;ds = tfds.load(&#x27;plant_leaves&#x27;, split=&#x27;train&#x27;)&#10;for ex in ds.take(4):&#10; print(ex)&#10;```&#10;&#10;See [the guide](https://www.tensorflow.org/datasets/overview) for more&#10;informations on [tensorflow_datasets](https://www.tensorflow.org/datasets).&#10;&#10;&lt;img src=&quot;https://storage.googleapis.com/tfds-data/visualization/fig/plant_leaves-0.1.1.png&quot; alt=&quot;Visualization&quot; width=&quot;500px&quot;&gt;&#10;&#10;" />
<meta itemprop="url" content="https://www.tensorflow.org/datasets/catalog/plant_leaves" />
<meta itemprop="sameAs" content="https://data.mendeley.com/datasets/hb74ynkjcn/1" />
<meta itemprop="citation" content="@misc{,&#10; author={Siddharth Singh Chouhan, Ajay Kaul, Uday Pratap Singh, Sanjeev&#10;Jain},&#10; title={A Database of Leaf Images: Practice towards Plant Conservation with&#10;Plant Pathology},&#10; howpublished={Mendeley Data},&#10; year={2019}&#10;}" />
Expand Down Expand Up @@ -52,18 +52,19 @@ http://creativecommons.org/licenses/by/4.0
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>:
Fix checksum error.

* **Download size**: `Unknown size`
* **Download size**: `6.56 GiB`

* **Dataset size**: `Unknown size`
* **Dataset size**: `6.81 GiB`

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

* **Splits**:

Split | Examples
:---- | -------:
Split | Examples
:-------- | -------:
`'train'` | 4,502

* **Feature structure**:

Expand All @@ -90,7 +91,8 @@ label | ClassLabel | | int64 |

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

<img src="https://storage.googleapis.com/tfds-data/visualization/fig/plant_leaves-0.1.1.png" alt="Visualization" width="500px">

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

0 comments on commit 7b66e9b

Please sign in to comment.