Skip to content

Commit 7b66e9b

Browse files
author
The TensorFlow Datasets Authors
committed
Automated documentation update.
PiperOrigin-RevId: 632239290
1 parent 9ef98ce commit 7b66e9b

File tree

2 files changed

+88
-19
lines changed

2 files changed

+88
-19
lines changed

docs/catalog/emnist.md

Lines changed: 79 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,7 @@ horizontally and rotated 90 anti-clockwise. You can use `tf.transpose` within
5252
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>:
5353
Updated broken download URL
5454

55-
* **Download size**: `Unknown size`
56-
57-
* **Dataset size**: `Unknown size`
58-
59-
* **Auto-cached**
60-
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
61-
Unknown
62-
63-
* **Splits**:
64-
65-
Split | Examples
66-
:---- | -------:
55+
* **Download size**: `535.73 MiB`
6756

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

9584
* **Config description**: EMNIST ByClass
9685

86+
* **Dataset size**: `349.16 MiB`
87+
88+
* **Auto-cached**
89+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
90+
No
91+
92+
* **Splits**:
93+
94+
Split | Examples
95+
:-------- | -------:
96+
`'test'` | 116,323
97+
`'train'` | 697,932
98+
9799
* **Feature structure**:
98100

99101
```python
@@ -115,6 +117,19 @@ label | ClassLabel | | int64 |
115117

116118
* **Config description**: EMNIST ByMerge
117119

120+
* **Dataset size**: `349.16 MiB`
121+
122+
* **Auto-cached**
123+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
124+
No
125+
126+
* **Splits**:
127+
128+
Split | Examples
129+
:-------- | -------:
130+
`'test'` | 116,323
131+
`'train'` | 697,932
132+
118133
* **Feature structure**:
119134

120135
```python
@@ -136,6 +151,19 @@ label | ClassLabel | | int64 |
136151

137152
* **Config description**: EMNIST Balanced
138153

154+
* **Dataset size**: `56.63 MiB`
155+
156+
* **Auto-cached**
157+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
158+
Yes
159+
160+
* **Splits**:
161+
162+
Split | Examples
163+
:-------- | -------:
164+
`'test'` | 18,800
165+
`'train'` | 112,800
166+
139167
* **Feature structure**:
140168

141169
```python
@@ -157,6 +185,19 @@ label | ClassLabel | | int64 |
157185

158186
* **Config description**: EMNIST Letters
159187

188+
* **Dataset size**: `44.14 MiB`
189+
190+
* **Auto-cached**
191+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
192+
Yes
193+
194+
* **Splits**:
195+
196+
Split | Examples
197+
:-------- | -------:
198+
`'test'` | 14,800
199+
`'train'` | 88,800
200+
160201
* **Feature structure**:
161202

162203
```python
@@ -178,6 +219,19 @@ label | ClassLabel | | int64 |
178219

179220
* **Config description**: EMNIST Digits
180221

222+
* **Dataset size**: `120.32 MiB`
223+
224+
* **Auto-cached**
225+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
226+
Yes
227+
228+
* **Splits**:
229+
230+
Split | Examples
231+
:-------- | -------:
232+
`'test'` | 40,000
233+
`'train'` | 240,000
234+
181235
* **Feature structure**:
182236

183237
```python
@@ -199,6 +253,19 @@ label | ClassLabel | | int64 |
199253

200254
* **Config description**: EMNIST MNIST
201255

256+
* **Dataset size**: `30.09 MiB`
257+
258+
* **Auto-cached**
259+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
260+
Yes
261+
262+
* **Splits**:
263+
264+
Split | Examples
265+
:-------- | -------:
266+
`'test'` | 10,000
267+
`'train'` | 60,000
268+
202269
* **Feature structure**:
203270

204271
```python

docs/catalog/plant_leaves.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<meta itemprop="name" content="TensorFlow Datasets" />
44
</div>
55
<meta itemprop="name" content="plant_leaves" />
6-
<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;" />
6+
<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;" />
77
<meta itemprop="url" content="https://www.tensorflow.org/datasets/catalog/plant_leaves" />
88
<meta itemprop="sameAs" content="https://data.mendeley.com/datasets/hb74ynkjcn/1" />
99
<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;}" />
@@ -52,18 +52,19 @@ http://creativecommons.org/licenses/by/4.0
5252
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>:
5353
Fix checksum error.
5454

55-
* **Download size**: `Unknown size`
55+
* **Download size**: `6.56 GiB`
5656

57-
* **Dataset size**: `Unknown size`
57+
* **Dataset size**: `6.81 GiB`
5858

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

6363
* **Splits**:
6464

65-
Split | Examples
66-
:---- | -------:
65+
Split | Examples
66+
:-------- | -------:
67+
`'train'` | 4,502
6768

6869
* **Feature structure**:
6970

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

9192
* **Figure**
9293
([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
93-
Not supported.
94+
95+
<img src="https://storage.googleapis.com/tfds-data/visualization/fig/plant_leaves-0.1.1.png" alt="Visualization" width="500px">
9496

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

0 commit comments

Comments
 (0)