Skip to content

Commit cd799fb

Browse files
Conchylicultorcopybara-github
authored andcommitted
Automated documentation update
PiperOrigin-RevId: 303008577
1 parent dd8b5de commit cd799fb

File tree

19 files changed

+1178
-195
lines changed

19 files changed

+1178
-195
lines changed

docs/catalog/beans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ and collected by the Makerere AI research lab.
2828
* **Dataset size**: `171.63 MiB`
2929
* **Auto-cached**
3030
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
31-
Yes (test, validation), Only when `shuffle_files=False` (train)
31+
Yes (validation, test), Only when `shuffle_files=False` (train)
3232
* **Splits**:
3333

3434
Split | Examples

docs/catalog/big_patent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Split | Examples
125125
* **Dataset size**: `170.08 MiB`
126126
* **Auto-cached**
127127
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
128-
Yes (test, validation), Only when `shuffle_files=False` (train)
128+
Yes (validation, test), Only when `shuffle_files=False` (train)
129129
* **Splits**:
130130

131131
Split | Examples

docs/catalog/cifar10.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ The CIFAR-10 dataset consists of 60000 32x32 colour images in 10 classes, with
2020
* **Source code**:
2121
[`tfds.image.cifar.Cifar10`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/image/cifar.py)
2222
* **Versions**:
23-
* **`3.0.1`** (default): No release notes.
23+
* **`3.0.2`** (default): No release notes.
2424
* **Download size**: `162.17 MiB`
25-
* **Dataset size**: `131.10 MiB`
25+
* **Dataset size**: `132.40 MiB`
2626
* **Auto-cached**
2727
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
2828
Yes
@@ -37,10 +37,12 @@ Split | Examples
3737

3838
```python
3939
FeaturesDict({
40+
'id': Text(shape=(), dtype=tf.string),
4041
'image': Image(shape=(32, 32, 3), dtype=tf.uint8),
4142
'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=10),
4243
})
4344
```
45+
4446
* **Supervised keys** (See
4547
[`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
4648
`('image', 'label')`

docs/catalog/cifar100.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ superclass to which it belongs).
2323
* **Source code**:
2424
[`tfds.image.cifar.Cifar100`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/image/cifar.py)
2525
* **Versions**:
26-
* **`3.0.1`** (default): No release notes.
26+
* **`3.0.2`** (default): No release notes.
2727
* **Download size**: `160.71 MiB`
28-
* **Dataset size**: `130.73 MiB`
28+
* **Dataset size**: `132.03 MiB`
2929
* **Auto-cached**
3030
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
3131
Yes
@@ -41,10 +41,12 @@ Split | Examples
4141
```python
4242
FeaturesDict({
4343
'coarse_label': ClassLabel(shape=(), dtype=tf.int64, num_classes=20),
44+
'id': Text(shape=(), dtype=tf.string),
4445
'image': Image(shape=(32, 32, 3), dtype=tf.uint8),
4546
'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=100),
4647
})
4748
```
49+
4850
* **Supervised keys** (See
4951
[`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
5052
`('image', 'label')`

docs/catalog/imagenet2012_subset.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
<div itemscope itemprop="includedInDataCatalog" itemtype="http://schema.org/DataCatalog">
33
<meta itemprop="name" content="TensorFlow Datasets" />
44
</div>
5-
65
<meta itemprop="name" content="imagenet2012_subset" />
76
<meta itemprop="description" content="Imagenet2012Subset is a subset of original ImageNet ILSVRC 2012 dataset.&#10;The dataset share the *same* validation set as the original ImageNet ILSVRC 2012&#10;dataset. However, the training set is subsampled in a label balanced fashion.&#10;In `1pct` configuration, 1%, or 12811, images are sampled, most classes have&#10;the same number of images (average 12.8), some classes randomly have 1 more&#10;example than others; and in `10pct` configuration, ~10%, or 128116, most classes&#10;have the same number of images (average 128), and some classes randomly have 1&#10;more example than others.&#10;&#10;This is supposed to be used as a benchmark for semi-supervised learning, and&#10;has been originally used in SimCLR paper (https://arxiv.org/abs/2002.05709).&#10;&#10;&#10;To use this dataset:&#10;&#10;```python&#10;import tensorflow_datasets as tfds&#10;&#10;ds = tfds.load(&#x27;imagenet2012_subset&#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;" />
87
<meta itemprop="url" content="https://www.tensorflow.org/datasets/catalog/imagenet2012_subset" />
98
<meta itemprop="sameAs" content="http://image-net.org/" />
109
<meta itemprop="citation" content="@article{chen2020simple,&#10; title={A Simple Framework for Contrastive Learning of Visual Representations},&#10; author={Chen, Ting and Kornblith, Simon and Norouzi, Mohammad and Hinton, Geoffrey},&#10; journal={arXiv preprint arXiv:2002.05709},&#10; year={2020}&#10;}&#10;@article{ILSVRC15,&#10; Author = {Olga Russakovsky and Jia Deng and Hao Su and Jonathan Krause and Sanjeev Satheesh and Sean Ma and Zhiheng Huang and Andrej Karpathy and Aditya Khosla and Michael Bernstein and Alexander C. Berg and Li Fei-Fei},&#10; Title = {{ImageNet Large Scale Visual Recognition Challenge}},&#10; Year = {2015},&#10; journal = {International Journal of Computer Vision (IJCV)},&#10; doi = {10.1007/s11263-015-0816-y},&#10; volume={115},&#10; number={3},&#10; pages={211-252}&#10;}&#10;" />
1110
</div>
12-
1311
# `imagenet2012_subset`
1412

1513
Warning: Manual download required. See instructions below.
@@ -59,7 +57,6 @@ FeaturesDict({
5957
'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=1000),
6058
})
6159
```
62-
6360
* **Supervised keys** (See
6461
[`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
6562
`('image', 'label')`

0 commit comments

Comments
 (0)