v3.1.0
Beaking compatibility change:
- Rename
tfds.core.NamedSplit
,tfds.core.SplitBase
->tfds.Split
. Nowtfds.Split.TRAIN
,... are instance oftfds.Split
- Remove deprecated
num_shards
argument fromtfds.core.SplitGenerator
. This argument was ignored as shards are automatically computed.
Future breaking compatibility changes:
- Rename
interleave_parallel_reads
->interleave_cycle_length
fortfds.ReadConfig
. - Invert ds, ds_info argument orders for
tfds.show_examples
Future breaking change: - The
tfds.features.text
encoding API is deprecated. Please usetensorflow_text
instead.
Other changes:
- Testing: Add support for custom decoders in
tfds.testing.mock_data
- Documentation: shows which datasets are only present in
tfds-nightly
- Documentation: display images for supported datasets
- API: Add
tfds.builder_cls(name)
to access a DatasetBuilder class by name - API: Add
info.split['train'].filenames
for access to the tf-record files. - API: Add
tfds.core.add_data_dir
to register an additional data dir - Remove most
ds.with_options
which where applied by TFDS. Now use tf.data default. - Other bug fixes and improvement (Better error messages, windows compatibility,...)
Thank you all for your contributions, and helping us make TFDS better for everyone!