Skip to content

Commit 61ce68c

Browse files
Conchylicultorcopybara-github
authored andcommitted
Update TFDS version to 3.2.0
API: * Add a `tfds.ImageFolder` and `tfds.TranslateFolder` to easily create custom datasets with your custom data. * Add a `tfds.ReadConfig(input_context=)` to shard dataset, for better multi-worker compatibility (#1426). * The default `data_dir` can be controlled by the `TFDS_DATA_DIR` environment variable. * Better usability when developing datasets outside TFDS * Downloads are always cached * Checksum are optional * Added a `tfds.show_statistics(ds_info)` to display [FACETS OVERVIEW](https://pair-code.github.io/facets/). Note: This require the dataset to have been generated with the statistics. * Open source various scripts to help deployment/documentation (Generate catalog documentation, export all metadata files,...) Documentation: * Catalog display images ([example](https://www.tensorflow.org/datasets/catalog/sun397#sun397standard-part2-120k)) * Catalog shows which dataset have been recently added and are only available in `tfds-nightly` <span class="material-icons">nights_stay</span> Breaking compatibility change: * Fix deterministic example order on Windows when path was used as key (this only impact a few datasets). Now example order should be the same on all platforms. * Remove `tfds.load('image_label_folder')` in favor of the more user-friendly `tfds.ImageFolder` Other: * Various performances improvements for both generation and reading (e.g. use `__slot__`, fix parallelisation bug in `tf.data.TFRecordReader`,...) * Various fixes (typo, types annotations, better error messages, fixing dead links, better windows compatibility,...) PiperOrigin-RevId: 320672697
1 parent 84ac202 commit 61ce68c

File tree

3 files changed

+180
-69
lines changed

3 files changed

+180
-69
lines changed

tensorflow_datasets/stable_versions.txt

Lines changed: 178 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ amazon_us_reviews/Video_Games_v1_00/0.1.0
5454
amazon_us_reviews/Video_v1_00/0.1.0
5555
amazon_us_reviews/Watches_v1_00/0.1.0
5656
amazon_us_reviews/Wireless_v1_00/0.1.0
57+
anli/r1/0.1.0
58+
anli/r2/0.1.0
59+
anli/r3/0.1.0
5760
arc/2019-12-06/1.0.0
5861
bair_robot_pushing_small/2.0.0
5962
beans/0.1.0
@@ -161,18 +164,90 @@ celeb_a_hq/4/2.0.0
161164
celeb_a_hq/512/2.0.0
162165
celeb_a_hq/64/2.0.0
163166
celeb_a_hq/8/2.0.0
164-
cfq/mcd1/1.0.1
165-
cfq/mcd2/1.0.1
166-
cfq/mcd3/1.0.1
167-
cfq/query_complexity_split/1.0.1
168-
cfq/query_pattern_split/1.0.1
169-
cfq/question_complexity_split/1.0.1
170-
cfq/question_pattern_split/1.0.1
171-
cfq/random_split/1.0.1
167+
cfq/cd0.1_r1/1.2.0
168+
cfq/cd0.1_r2/1.2.0
169+
cfq/cd0.1_r3/1.2.0
170+
cfq/cd0.1_r4/1.2.0
171+
cfq/cd0.1_r5/1.2.0
172+
cfq/cd0.1_r6/1.2.0
173+
cfq/cd0.1_r7/1.2.0
174+
cfq/cd0.1_r8/1.2.0
175+
cfq/cd0.1_r9/1.2.0
176+
cfq/cd0.2_r1/1.2.0
177+
cfq/cd0.2_r2/1.2.0
178+
cfq/cd0.2_r3/1.2.0
179+
cfq/cd0.2_r4/1.2.0
180+
cfq/cd0.2_r5/1.2.0
181+
cfq/cd0.2_r6/1.2.0
182+
cfq/cd0.2_r7/1.2.0
183+
cfq/cd0.2_r8/1.2.0
184+
cfq/cd0.2_r9/1.2.0
185+
cfq/cd0.3_r1/1.2.0
186+
cfq/cd0.3_r2/1.2.0
187+
cfq/cd0.3_r3/1.2.0
188+
cfq/cd0.3_r4/1.2.0
189+
cfq/cd0.3_r5/1.2.0
190+
cfq/cd0.3_r6/1.2.0
191+
cfq/cd0.3_r7/1.2.0
192+
cfq/cd0.3_r8/1.2.0
193+
cfq/cd0.3_r9/1.2.0
194+
cfq/cd0.4_r1/1.2.0
195+
cfq/cd0.4_r2/1.2.0
196+
cfq/cd0.4_r3/1.2.0
197+
cfq/cd0.4_r4/1.2.0
198+
cfq/cd0.4_r5/1.2.0
199+
cfq/cd0.4_r6/1.2.0
200+
cfq/cd0.4_r7/1.2.0
201+
cfq/cd0.4_r8/1.2.0
202+
cfq/cd0.4_r9/1.2.0
203+
cfq/cd0.5_r1/1.2.0
204+
cfq/cd0.5_r2/1.2.0
205+
cfq/cd0.5_r3/1.2.0
206+
cfq/cd0.5_r4/1.2.0
207+
cfq/cd0.5_r5/1.2.0
208+
cfq/cd0.5_r6/1.2.0
209+
cfq/cd0.5_r7/1.2.0
210+
cfq/cd0.5_r8/1.2.0
211+
cfq/cd0.5_r9/1.2.0
212+
cfq/cd0.6_r1/1.2.0
213+
cfq/cd0.6_r2/1.2.0
214+
cfq/cd0.6_r3/1.2.0
215+
cfq/cd0.6_r4/1.2.0
216+
cfq/cd0.6_r5/1.2.0
217+
cfq/cd0.6_r6/1.2.0
218+
cfq/cd0.6_r7/1.2.0
219+
cfq/cd0.6_r8/1.2.0
220+
cfq/cd0.6_r9/1.2.0
221+
cfq/cd0_r1/1.2.0
222+
cfq/cd0_r2/1.2.0
223+
cfq/cd0_r3/1.2.0
224+
cfq/cd0_r4/1.2.0
225+
cfq/cd0_r5/1.2.0
226+
cfq/cd0_r6/1.2.0
227+
cfq/cd0_r7/1.2.0
228+
cfq/cd0_r8/1.2.0
229+
cfq/cd0_r9/1.2.0
230+
cfq/cd1_r1/1.2.0
231+
cfq/cd1_r2/1.2.0
232+
cfq/cd1_r3/1.2.0
233+
cfq/cd1_r4/1.2.0
234+
cfq/cd1_r5/1.2.0
235+
cfq/cd1_r6/1.2.0
236+
cfq/cd1_r7/1.2.0
237+
cfq/cd1_r8/1.2.0
238+
cfq/cd1_r9/1.2.0
239+
cfq/mcd1/1.2.0
240+
cfq/mcd2/1.2.0
241+
cfq/mcd3/1.2.0
242+
cfq/query_complexity_split/1.2.0
243+
cfq/query_pattern_split/1.2.0
244+
cfq/question_complexity_split/1.2.0
245+
cfq/question_pattern_split/1.2.0
246+
cfq/random_split/1.2.0
172247
cifar10/3.0.2
173248
cifar100/3.0.2
174-
cifar10_1/v4/1.0.0
175-
cifar10_1/v6/1.0.0
249+
cifar10_1/v4/1.1.0
250+
cifar10_1/v6/1.1.0
176251
cifar10_corrupted/brightness_1/1.0.0
177252
cifar10_corrupted/brightness_2/1.0.0
178253
cifar10_corrupted/brightness_3/1.0.0
@@ -269,8 +344,10 @@ cifar10_corrupted/zoom_blur_3/1.0.0
269344
cifar10_corrupted/zoom_blur_4/1.0.0
270345
cifar10_corrupted/zoom_blur_5/1.0.0
271346
citrus_leaves/0.1.0
272-
civil_comments/0.9.0
347+
civil_comments/CivilComments/1.0.0
348+
civil_comments/CivilCommentsIdentities/1.0.0
273349
clevr/3.1.0
350+
clinc_oos/0.1.0
274351
cmaterdb/bangla/1.0.0
275352
cmaterdb/devanagari/1.0.0
276353
cmaterdb/telugu/1.0.0
@@ -302,6 +379,8 @@ common_voice/tr/1.0.0
302379
common_voice/tt/1.0.0
303380
common_voice/zh-TW/1.0.0
304381
cos_e/0.0.1
382+
cosmos_qa/1.0.0
383+
covid19sum/1.0.0
305384
crema_d/1.0.0
306385
curated_breast_imaging_ddsm/original-calc/2.0.0
307386
curated_breast_imaging_ddsm/original-mass/2.0.0
@@ -338,7 +417,7 @@ dmlab/2.0.0
338417
downsampled_imagenet/32x32/2.0.0
339418
downsampled_imagenet/64x64/2.0.0
340419
dsprites/2.0.0
341-
dtd/3.0.0
420+
dtd/3.0.1
342421
duke_ultrasound/1.0.0
343422
emnist/balanced/3.0.0
344423
emnist/byclass/3.0.0
@@ -357,6 +436,8 @@ flores/neen_plain_text/1.1.0
357436
flores/sien_plain_text/1.1.0
358437
food101/2.0.0
359438
forest_fires/0.0.1
439+
fuss/reverberant/1.2.0
440+
fuss/unprocessed/1.2.0
360441
gap/0.1.0
361442
geirhos_conflict_stimuli/1.0.0
362443
german_credit_numeric/1.0.0
@@ -381,7 +462,6 @@ groove/full-midionly/2.0.1
381462
higgs/2.0.0
382463
horses_or_humans/3.0.0
383464
i_naturalist2017/0.1.0
384-
image_label_folder/2.0.0
385465
imagenet2012/5.0.0
386466
imagenet2012_corrupted/brightness_1/3.1.0
387467
imagenet2012_corrupted/brightness_2/3.1.0
@@ -478,6 +558,7 @@ imagenet2012_corrupted/zoom_blur_2/3.1.0
478558
imagenet2012_corrupted/zoom_blur_3/3.1.0
479559
imagenet2012_corrupted/zoom_blur_4/3.1.0
480560
imagenet2012_corrupted/zoom_blur_5/3.1.0
561+
imagenet2012_real/1.0.0
481562
imagenet2012_subset/10pct/5.0.0
482563
imagenet2012_subset/1pct/5.0.0
483564
imagenet_resized/16x16/0.1.0
@@ -497,6 +578,7 @@ imdb_reviews/bytes/1.0.0
497578
imdb_reviews/plain_text/1.0.0
498579
imdb_reviews/subwords32k/1.0.0
499580
imdb_reviews/subwords8k/1.0.0
581+
irc_disentanglement/2.0.0
500582
iris/2.0.0
501583
kitti/3.2.0
502584
kmnist/3.0.1
@@ -582,6 +664,7 @@ math_dataset/polynomials__expand/1.0.0
582664
math_dataset/polynomials__simplify_power/1.0.0
583665
math_dataset/probability__swr_p_level_set/1.0.0
584666
math_dataset/probability__swr_p_sequence/1.0.0
667+
mctaco/1.0.0
585668
mnist/3.0.1
586669
mnist_corrupted/brightness/1.0.0
587670
mnist_corrupted/canny_edges/1.0.0
@@ -599,6 +682,16 @@ mnist_corrupted/spatter/1.0.0
599682
mnist_corrupted/stripe/1.0.0
600683
mnist_corrupted/translate/1.0.0
601684
mnist_corrupted/zigzag/1.0.0
685+
movie_lens/100k-movies/0.1.0
686+
movie_lens/100k-ratings/0.1.0
687+
movie_lens/1m-movies/0.1.0
688+
movie_lens/1m-ratings/0.1.0
689+
movie_lens/20m-movies/0.1.0
690+
movie_lens/20m-ratings/0.1.0
691+
movie_lens/25m-movies/0.1.0
692+
movie_lens/25m-ratings/0.1.0
693+
movie_lens/latest-small-movies/0.1.0
694+
movie_lens/latest-small-ratings/0.1.0
602695
movie_rationales/0.1.0
603696
moving_mnist/1.0.0
604697
multi_news/1.0.0
@@ -609,15 +702,24 @@ newsroom/1.0.0
609702
nsynth/full/2.3.2
610703
nsynth/gansynth_subset.f0_and_loudness/2.3.2
611704
nsynth/gansynth_subset/2.3.2
705+
nyu_depth_v2/0.0.1
612706
omniglot/3.0.0
613707
open_images_challenge2019_detection/200k/1.0.0
614708
open_images_challenge2019_detection/300k/1.0.0
615709
open_images_v4/200k/2.0.0
616710
open_images_v4/300k/2.0.0
617711
open_images_v4/original/2.0.0
712+
openbookqa/0.1.0
713+
opinion_abstracts/idebate/1.0.0
714+
opinion_abstracts/rotten_tomatoes/1.0.0
618715
opinosis/1.0.0
619-
oxford_flowers102/2.1.0
620-
oxford_iiit_pet/3.1.0
716+
opus/IT/0.1.0
717+
opus/koran/0.1.0
718+
opus/law/0.1.0
719+
opus/medical/0.1.0
720+
opus/subtitles/0.1.0
721+
oxford_flowers102/2.1.1
722+
oxford_iiit_pet/3.2.0
621723
para_crawl/enbg_plain_text/1.0.0
622724
para_crawl/encs_plain_text/1.0.0
623725
para_crawl/enda_plain_text/1.0.0
@@ -643,6 +745,7 @@ para_crawl/ensl_plain_text/1.0.0
643745
para_crawl/ensv_plain_text/1.0.0
644746
patch_camelyon/2.0.0
645747
pet_finder/1.0.0
748+
pg19/0.1.1
646749
places365_small/2.0.0
647750
plant_leaves/0.1.0
648751
plant_village/1.0.0
@@ -669,6 +772,7 @@ qa4mre/2013.main.ES/0.1.0
669772
qa4mre/2013.main.RO/0.1.0
670773
quickdraw_bitmap/3.0.0
671774
reddit/1.0.0
775+
reddit_disentanglement/2.0.0
672776
reddit_tifu/long/1.1.0
673777
reddit_tifu/short/1.1.0
674778
resisc45/3.0.0
@@ -758,7 +862,7 @@ ted_multi_translate/plain_text/1.0.0
758862
tedlium/release1/1.0.1
759863
tedlium/release2/1.0.1
760864
tedlium/release3/1.0.1
761-
tf_flowers/3.0.0
865+
tf_flowers/3.0.1
762866
the300w_lp/1.0.0
763867
tiny_shakespeare/1.0.0
764868
titanic/2.0.0
@@ -771,64 +875,67 @@ ucf101/ucf101_1/2.0.0
771875
ucf101/ucf101_1_256/2.0.0
772876
ucf101/ucf101_2/2.0.0
773877
ucf101/ucf101_3/2.0.0
878+
vctk/mic1/1.0.0
879+
vctk/mic2/1.0.0
774880
vgg_face2/1.0.0
775-
visual_domain_decathlon/aircraft/1.1.0
776-
visual_domain_decathlon/cifar100/1.1.0
777-
visual_domain_decathlon/daimlerpedcls/1.1.0
778-
visual_domain_decathlon/dtd/1.1.0
779-
visual_domain_decathlon/gtsrb/1.1.0
780-
visual_domain_decathlon/imagenet12/1.1.0
781-
visual_domain_decathlon/omniglot/1.1.0
782-
visual_domain_decathlon/svhn/1.1.0
783-
visual_domain_decathlon/ucf101/1.1.0
784-
visual_domain_decathlon/vgg-flowers/1.1.0
881+
visual_domain_decathlon/aircraft/1.2.0
882+
visual_domain_decathlon/cifar100/1.2.0
883+
visual_domain_decathlon/daimlerpedcls/1.2.0
884+
visual_domain_decathlon/dtd/1.2.0
885+
visual_domain_decathlon/gtsrb/1.2.0
886+
visual_domain_decathlon/imagenet12/1.2.0
887+
visual_domain_decathlon/omniglot/1.2.0
888+
visual_domain_decathlon/svhn/1.2.0
889+
visual_domain_decathlon/ucf101/1.2.0
890+
visual_domain_decathlon/vgg-flowers/1.2.0
785891
voc/2007/4.0.0
786892
voc/2012/4.0.0
787893
voxceleb/1.1.1
894+
voxforge/1.0.0
788895
waymo_open_dataset/0.1.0
789896
web_questions/1.0.0
790897
wider_face/0.1.0
791-
wiki40b/Wiki40B.ar/1.1.0
792-
wiki40b/Wiki40B.bg/1.1.0
793-
wiki40b/Wiki40B.ca/1.1.0
794-
wiki40b/Wiki40B.cs/1.1.0
795-
wiki40b/Wiki40B.da/1.1.0
796-
wiki40b/Wiki40B.de/1.1.0
797-
wiki40b/Wiki40B.el/1.1.0
798-
wiki40b/Wiki40B.en/1.1.0
799-
wiki40b/Wiki40B.es/1.1.0
800-
wiki40b/Wiki40B.et/1.1.0
801-
wiki40b/Wiki40B.fa/1.1.0
802-
wiki40b/Wiki40B.fi/1.1.0
803-
wiki40b/Wiki40B.fr/1.1.0
804-
wiki40b/Wiki40B.he/1.1.0
805-
wiki40b/Wiki40B.hi/1.1.0
806-
wiki40b/Wiki40B.hr/1.1.0
807-
wiki40b/Wiki40B.hu/1.1.0
808-
wiki40b/Wiki40B.id/1.1.0
809-
wiki40b/Wiki40B.it/1.1.0
810-
wiki40b/Wiki40B.ja/1.1.0
811-
wiki40b/Wiki40B.ko/1.1.0
812-
wiki40b/Wiki40B.lt/1.1.0
813-
wiki40b/Wiki40B.lv/1.1.0
814-
wiki40b/Wiki40B.ms/1.1.0
815-
wiki40b/Wiki40B.nl/1.1.0
816-
wiki40b/Wiki40B.no/1.1.0
817-
wiki40b/Wiki40B.pl/1.1.0
818-
wiki40b/Wiki40B.pt/1.1.0
819-
wiki40b/Wiki40B.ro/1.1.0
820-
wiki40b/Wiki40B.ru/1.1.0
821-
wiki40b/Wiki40B.sk/1.1.0
822-
wiki40b/Wiki40B.sl/1.1.0
823-
wiki40b/Wiki40B.sr/1.1.0
824-
wiki40b/Wiki40B.sv/1.1.0
825-
wiki40b/Wiki40B.th/1.1.0
826-
wiki40b/Wiki40B.tl/1.1.0
827-
wiki40b/Wiki40B.tr/1.1.0
828-
wiki40b/Wiki40B.uk/1.1.0
829-
wiki40b/Wiki40B.vi/1.1.0
830-
wiki40b/Wiki40B.zh-cn/1.1.0
831-
wiki40b/Wiki40B.zh-tw/1.1.0
898+
wiki40b/ar/1.3.0
899+
wiki40b/bg/1.3.0
900+
wiki40b/ca/1.3.0
901+
wiki40b/cs/1.3.0
902+
wiki40b/da/1.3.0
903+
wiki40b/de/1.3.0
904+
wiki40b/el/1.3.0
905+
wiki40b/en/1.3.0
906+
wiki40b/es/1.3.0
907+
wiki40b/et/1.3.0
908+
wiki40b/fa/1.3.0
909+
wiki40b/fi/1.3.0
910+
wiki40b/fr/1.3.0
911+
wiki40b/he/1.3.0
912+
wiki40b/hi/1.3.0
913+
wiki40b/hr/1.3.0
914+
wiki40b/hu/1.3.0
915+
wiki40b/id/1.3.0
916+
wiki40b/it/1.3.0
917+
wiki40b/ja/1.3.0
918+
wiki40b/ko/1.3.0
919+
wiki40b/lt/1.3.0
920+
wiki40b/lv/1.3.0
921+
wiki40b/ms/1.3.0
922+
wiki40b/nl/1.3.0
923+
wiki40b/no/1.3.0
924+
wiki40b/pl/1.3.0
925+
wiki40b/pt/1.3.0
926+
wiki40b/ro/1.3.0
927+
wiki40b/ru/1.3.0
928+
wiki40b/sk/1.3.0
929+
wiki40b/sl/1.3.0
930+
wiki40b/sr/1.3.0
931+
wiki40b/sv/1.3.0
932+
wiki40b/th/1.3.0
933+
wiki40b/tl/1.3.0
934+
wiki40b/tr/1.3.0
935+
wiki40b/uk/1.3.0
936+
wiki40b/vi/1.3.0
937+
wiki40b/zh-cn/1.3.0
938+
wiki40b/zh-tw/1.3.0
832939
wikihow/all/1.2.0
833940
wikihow/sep/1.2.0
834941
wikipedia/20190301.aa/1.0.0
@@ -1431,6 +1538,8 @@ wikipedia/20200301.zh-min-nan/1.0.0
14311538
wikipedia/20200301.zh-yue/1.0.0
14321539
wikipedia/20200301.zh/1.0.0
14331540
wikipedia/20200301.zu/1.0.0
1541+
wikipedia_toxicity_subtypes/0.2.0
1542+
winogrande/1.1.0
14341543
wmt14_translate/cs-en/1.0.0
14351544
wmt14_translate/de-en/1.0.0
14361545
wmt14_translate/fr-en/1.0.0
@@ -1477,6 +1586,8 @@ wmt19_translate/lt-en/1.0.0
14771586
wmt19_translate/ru-en/1.0.0
14781587
wmt19_translate/zh-en/1.0.0
14791588
wmt_t2t_translate/de-en/1.0.0
1589+
wordnet/WN18/0.1.0
1590+
wordnet/WN18RR/0.1.0
14801591
xnli/plain_text/1.0.0
14811592
xsum/1.1.0
14821593
yelp_polarity_reviews/bytes/0.1.0

tensorflow_datasets/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# We follow Semantic Versioning (https://semver.org/)
2727
_MAJOR_VERSION = '3'
28-
_MINOR_VERSION = '1'
28+
_MINOR_VERSION = '2'
2929
_PATCH_VERSION = '0'
3030

3131
__version__ = '.'.join([

0 commit comments

Comments
 (0)