|
3 | 3 | <meta itemprop="name" content="TensorFlow Datasets" />
|
4 | 4 | </div>
|
5 | 5 | <meta itemprop="name" content="emnist" />
|
6 |
| - <meta itemprop="description" content="The EMNIST dataset is a set of handwritten character digits derived from the NIST Special Database 19 and converted to a 28x28 pixel image format and dataset structure that directly matches the MNIST dataset. Note: Like the original EMNIST data, images provided here are inverted horizontally and rotated 90 anti-clockwise. You can use `tf.transpose` within `ds.map` to convert the images to a human-friendlier format. To use this dataset: ```python import tensorflow_datasets as tfds ds = tfds.load('emnist', split='train') for ex in ds.take(4): print(ex) ``` See [the guide](https://www.tensorflow.org/datasets/overview) for more informations on [tensorflow_datasets](https://www.tensorflow.org/datasets). " /> |
| 6 | + <meta itemprop="description" content="The EMNIST dataset is a set of handwritten character digits derived from the NIST Special Database 19 and converted to a 28x28 pixel image format and dataset structure that directly matches the MNIST dataset. Note: Like the original EMNIST data, images provided here are inverted horizontally and rotated 90 anti-clockwise. You can use `tf.transpose` within `ds.map` to convert the images to a human-friendlier format. To use this dataset: ```python import tensorflow_datasets as tfds ds = tfds.load('emnist', split='train') for ex in ds.take(4): print(ex) ``` See [the guide](https://www.tensorflow.org/datasets/overview) for more informations on [tensorflow_datasets](https://www.tensorflow.org/datasets). <img src="https://storage.googleapis.com/tfds-data/visualization/fig/emnist-byclass-3.1.0.png" alt="Visualization" width="500px"> " /> |
7 | 7 | <meta itemprop="url" content="https://www.tensorflow.org/datasets/catalog/emnist" />
|
8 | 8 | <meta itemprop="sameAs" content="https://www.nist.gov/itl/products-and-services/emnist-dataset" />
|
9 | 9 | <meta itemprop="citation" content="@article{cohen_afshar_tapson_schaik_2017, title={EMNIST: Extending MNIST to handwritten letters}, DOI={10.1109/ijcnn.2017.7966217}, journal={2017 International Joint Conference on Neural Networks (IJCNN)}, author={Cohen, Gregory and Afshar, Saeed and Tapson, Jonathan and Schaik, Andre Van}, year={2017} }" />
|
@@ -58,14 +58,6 @@ horizontally and rotated 90 anti-clockwise. You can use `tf.transpose` within
|
58 | 58 | [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
|
59 | 59 | `('image', 'label')`
|
60 | 60 |
|
61 |
| -* **Figure** |
62 |
| - ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)): |
63 |
| - Not supported. |
64 |
| - |
65 |
| -* **Examples** |
66 |
| - ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)): |
67 |
| - Missing. |
68 |
| - |
69 | 61 | * **Citation**:
|
70 | 62 |
|
71 | 63 | ```
|
@@ -113,6 +105,48 @@ Feature | Class | Shape | Dtype | Description
|
113 | 105 | image | Image | (28, 28, 1) | uint8 |
|
114 | 106 | label | ClassLabel | | int64 |
|
115 | 107 |
|
| 108 | +* **Figure** |
| 109 | + ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)): |
| 110 | + |
| 111 | +<img src="https://storage.googleapis.com/tfds-data/visualization/fig/emnist-byclass-3.1.0.png" alt="Visualization" width="500px"> |
| 112 | + |
| 113 | +* **Examples** |
| 114 | + ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)): |
| 115 | + |
| 116 | +<!-- mdformat off(HTML should not be auto-formatted) --> |
| 117 | + |
| 118 | +{% framebox %} |
| 119 | + |
| 120 | +<button id="displaydataframe">Display examples...</button> |
| 121 | +<div id="dataframecontent" style="overflow-x:auto"></div> |
| 122 | +<script> |
| 123 | +const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/emnist-byclass-3.1.0.html"; |
| 124 | +const dataButton = document.getElementById('displaydataframe'); |
| 125 | +dataButton.addEventListener('click', async () => { |
| 126 | + // Disable the button after clicking (dataframe loaded only once). |
| 127 | + dataButton.disabled = true; |
| 128 | + |
| 129 | + const contentPane = document.getElementById('dataframecontent'); |
| 130 | + try { |
| 131 | + const response = await fetch(url); |
| 132 | + // Error response codes don't throw an error, so force an error to show |
| 133 | + // the error message. |
| 134 | + if (!response.ok) throw Error(response.statusText); |
| 135 | + |
| 136 | + const data = await response.text(); |
| 137 | + contentPane.innerHTML = data; |
| 138 | + } catch (e) { |
| 139 | + contentPane.innerHTML = |
| 140 | + 'Error loading examples. If the error persist, please open ' |
| 141 | + + 'a new issue.'; |
| 142 | + } |
| 143 | +}); |
| 144 | +</script> |
| 145 | + |
| 146 | +{% endframebox %} |
| 147 | + |
| 148 | +<!-- mdformat on --> |
| 149 | + |
116 | 150 | ## emnist/bymerge
|
117 | 151 |
|
118 | 152 | * **Config description**: EMNIST ByMerge
|
@@ -147,6 +181,48 @@ Feature | Class | Shape | Dtype | Description
|
147 | 181 | image | Image | (28, 28, 1) | uint8 |
|
148 | 182 | label | ClassLabel | | int64 |
|
149 | 183 |
|
| 184 | +* **Figure** |
| 185 | + ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)): |
| 186 | + |
| 187 | +<img src="https://storage.googleapis.com/tfds-data/visualization/fig/emnist-bymerge-3.1.0.png" alt="Visualization" width="500px"> |
| 188 | + |
| 189 | +* **Examples** |
| 190 | + ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)): |
| 191 | + |
| 192 | +<!-- mdformat off(HTML should not be auto-formatted) --> |
| 193 | + |
| 194 | +{% framebox %} |
| 195 | + |
| 196 | +<button id="displaydataframe">Display examples...</button> |
| 197 | +<div id="dataframecontent" style="overflow-x:auto"></div> |
| 198 | +<script> |
| 199 | +const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/emnist-bymerge-3.1.0.html"; |
| 200 | +const dataButton = document.getElementById('displaydataframe'); |
| 201 | +dataButton.addEventListener('click', async () => { |
| 202 | + // Disable the button after clicking (dataframe loaded only once). |
| 203 | + dataButton.disabled = true; |
| 204 | + |
| 205 | + const contentPane = document.getElementById('dataframecontent'); |
| 206 | + try { |
| 207 | + const response = await fetch(url); |
| 208 | + // Error response codes don't throw an error, so force an error to show |
| 209 | + // the error message. |
| 210 | + if (!response.ok) throw Error(response.statusText); |
| 211 | + |
| 212 | + const data = await response.text(); |
| 213 | + contentPane.innerHTML = data; |
| 214 | + } catch (e) { |
| 215 | + contentPane.innerHTML = |
| 216 | + 'Error loading examples. If the error persist, please open ' |
| 217 | + + 'a new issue.'; |
| 218 | + } |
| 219 | +}); |
| 220 | +</script> |
| 221 | + |
| 222 | +{% endframebox %} |
| 223 | + |
| 224 | +<!-- mdformat on --> |
| 225 | + |
150 | 226 | ## emnist/balanced
|
151 | 227 |
|
152 | 228 | * **Config description**: EMNIST Balanced
|
@@ -181,6 +257,48 @@ Feature | Class | Shape | Dtype | Description
|
181 | 257 | image | Image | (28, 28, 1) | uint8 |
|
182 | 258 | label | ClassLabel | | int64 |
|
183 | 259 |
|
| 260 | +* **Figure** |
| 261 | + ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)): |
| 262 | + |
| 263 | +<img src="https://storage.googleapis.com/tfds-data/visualization/fig/emnist-balanced-3.1.0.png" alt="Visualization" width="500px"> |
| 264 | + |
| 265 | +* **Examples** |
| 266 | + ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)): |
| 267 | + |
| 268 | +<!-- mdformat off(HTML should not be auto-formatted) --> |
| 269 | + |
| 270 | +{% framebox %} |
| 271 | + |
| 272 | +<button id="displaydataframe">Display examples...</button> |
| 273 | +<div id="dataframecontent" style="overflow-x:auto"></div> |
| 274 | +<script> |
| 275 | +const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/emnist-balanced-3.1.0.html"; |
| 276 | +const dataButton = document.getElementById('displaydataframe'); |
| 277 | +dataButton.addEventListener('click', async () => { |
| 278 | + // Disable the button after clicking (dataframe loaded only once). |
| 279 | + dataButton.disabled = true; |
| 280 | + |
| 281 | + const contentPane = document.getElementById('dataframecontent'); |
| 282 | + try { |
| 283 | + const response = await fetch(url); |
| 284 | + // Error response codes don't throw an error, so force an error to show |
| 285 | + // the error message. |
| 286 | + if (!response.ok) throw Error(response.statusText); |
| 287 | + |
| 288 | + const data = await response.text(); |
| 289 | + contentPane.innerHTML = data; |
| 290 | + } catch (e) { |
| 291 | + contentPane.innerHTML = |
| 292 | + 'Error loading examples. If the error persist, please open ' |
| 293 | + + 'a new issue.'; |
| 294 | + } |
| 295 | +}); |
| 296 | +</script> |
| 297 | + |
| 298 | +{% endframebox %} |
| 299 | + |
| 300 | +<!-- mdformat on --> |
| 301 | + |
184 | 302 | ## emnist/letters
|
185 | 303 |
|
186 | 304 | * **Config description**: EMNIST Letters
|
@@ -215,6 +333,48 @@ Feature | Class | Shape | Dtype | Description
|
215 | 333 | image | Image | (28, 28, 1) | uint8 |
|
216 | 334 | label | ClassLabel | | int64 |
|
217 | 335 |
|
| 336 | +* **Figure** |
| 337 | + ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)): |
| 338 | + |
| 339 | +<img src="https://storage.googleapis.com/tfds-data/visualization/fig/emnist-letters-3.1.0.png" alt="Visualization" width="500px"> |
| 340 | + |
| 341 | +* **Examples** |
| 342 | + ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)): |
| 343 | + |
| 344 | +<!-- mdformat off(HTML should not be auto-formatted) --> |
| 345 | + |
| 346 | +{% framebox %} |
| 347 | + |
| 348 | +<button id="displaydataframe">Display examples...</button> |
| 349 | +<div id="dataframecontent" style="overflow-x:auto"></div> |
| 350 | +<script> |
| 351 | +const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/emnist-letters-3.1.0.html"; |
| 352 | +const dataButton = document.getElementById('displaydataframe'); |
| 353 | +dataButton.addEventListener('click', async () => { |
| 354 | + // Disable the button after clicking (dataframe loaded only once). |
| 355 | + dataButton.disabled = true; |
| 356 | + |
| 357 | + const contentPane = document.getElementById('dataframecontent'); |
| 358 | + try { |
| 359 | + const response = await fetch(url); |
| 360 | + // Error response codes don't throw an error, so force an error to show |
| 361 | + // the error message. |
| 362 | + if (!response.ok) throw Error(response.statusText); |
| 363 | + |
| 364 | + const data = await response.text(); |
| 365 | + contentPane.innerHTML = data; |
| 366 | + } catch (e) { |
| 367 | + contentPane.innerHTML = |
| 368 | + 'Error loading examples. If the error persist, please open ' |
| 369 | + + 'a new issue.'; |
| 370 | + } |
| 371 | +}); |
| 372 | +</script> |
| 373 | + |
| 374 | +{% endframebox %} |
| 375 | + |
| 376 | +<!-- mdformat on --> |
| 377 | + |
218 | 378 | ## emnist/digits
|
219 | 379 |
|
220 | 380 | * **Config description**: EMNIST Digits
|
@@ -249,6 +409,48 @@ Feature | Class | Shape | Dtype | Description
|
249 | 409 | image | Image | (28, 28, 1) | uint8 |
|
250 | 410 | label | ClassLabel | | int64 |
|
251 | 411 |
|
| 412 | +* **Figure** |
| 413 | + ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)): |
| 414 | + |
| 415 | +<img src="https://storage.googleapis.com/tfds-data/visualization/fig/emnist-digits-3.1.0.png" alt="Visualization" width="500px"> |
| 416 | + |
| 417 | +* **Examples** |
| 418 | + ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)): |
| 419 | + |
| 420 | +<!-- mdformat off(HTML should not be auto-formatted) --> |
| 421 | + |
| 422 | +{% framebox %} |
| 423 | + |
| 424 | +<button id="displaydataframe">Display examples...</button> |
| 425 | +<div id="dataframecontent" style="overflow-x:auto"></div> |
| 426 | +<script> |
| 427 | +const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/emnist-digits-3.1.0.html"; |
| 428 | +const dataButton = document.getElementById('displaydataframe'); |
| 429 | +dataButton.addEventListener('click', async () => { |
| 430 | + // Disable the button after clicking (dataframe loaded only once). |
| 431 | + dataButton.disabled = true; |
| 432 | + |
| 433 | + const contentPane = document.getElementById('dataframecontent'); |
| 434 | + try { |
| 435 | + const response = await fetch(url); |
| 436 | + // Error response codes don't throw an error, so force an error to show |
| 437 | + // the error message. |
| 438 | + if (!response.ok) throw Error(response.statusText); |
| 439 | + |
| 440 | + const data = await response.text(); |
| 441 | + contentPane.innerHTML = data; |
| 442 | + } catch (e) { |
| 443 | + contentPane.innerHTML = |
| 444 | + 'Error loading examples. If the error persist, please open ' |
| 445 | + + 'a new issue.'; |
| 446 | + } |
| 447 | +}); |
| 448 | +</script> |
| 449 | + |
| 450 | +{% endframebox %} |
| 451 | + |
| 452 | +<!-- mdformat on --> |
| 453 | + |
252 | 454 | ## emnist/mnist
|
253 | 455 |
|
254 | 456 | * **Config description**: EMNIST MNIST
|
@@ -282,3 +484,45 @@ Feature | Class | Shape | Dtype | Description
|
282 | 484 | | FeaturesDict | | |
|
283 | 485 | image | Image | (28, 28, 1) | uint8 |
|
284 | 486 | label | ClassLabel | | int64 |
|
| 487 | + |
| 488 | +* **Figure** |
| 489 | + ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)): |
| 490 | + |
| 491 | +<img src="https://storage.googleapis.com/tfds-data/visualization/fig/emnist-mnist-3.1.0.png" alt="Visualization" width="500px"> |
| 492 | + |
| 493 | +* **Examples** |
| 494 | + ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)): |
| 495 | + |
| 496 | +<!-- mdformat off(HTML should not be auto-formatted) --> |
| 497 | + |
| 498 | +{% framebox %} |
| 499 | + |
| 500 | +<button id="displaydataframe">Display examples...</button> |
| 501 | +<div id="dataframecontent" style="overflow-x:auto"></div> |
| 502 | +<script> |
| 503 | +const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/emnist-mnist-3.1.0.html"; |
| 504 | +const dataButton = document.getElementById('displaydataframe'); |
| 505 | +dataButton.addEventListener('click', async () => { |
| 506 | + // Disable the button after clicking (dataframe loaded only once). |
| 507 | + dataButton.disabled = true; |
| 508 | + |
| 509 | + const contentPane = document.getElementById('dataframecontent'); |
| 510 | + try { |
| 511 | + const response = await fetch(url); |
| 512 | + // Error response codes don't throw an error, so force an error to show |
| 513 | + // the error message. |
| 514 | + if (!response.ok) throw Error(response.statusText); |
| 515 | + |
| 516 | + const data = await response.text(); |
| 517 | + contentPane.innerHTML = data; |
| 518 | + } catch (e) { |
| 519 | + contentPane.innerHTML = |
| 520 | + 'Error loading examples. If the error persist, please open ' |
| 521 | + + 'a new issue.'; |
| 522 | + } |
| 523 | +}); |
| 524 | +</script> |
| 525 | + |
| 526 | +{% endframebox %} |
| 527 | + |
| 528 | +<!-- mdformat on --> |
0 commit comments