Skip to content

v3.1.0

Compare
Choose a tag to compare
@Conchylicultor Conchylicultor released this 30 Apr 00:18

Beaking compatibility change:

  • Rename tfds.core.NamedSplit, tfds.core.SplitBase -> tfds.Split. Now tfds.Split.TRAIN,... are instance of tfds.Split
  • Remove deprecated num_shards argument from tfds.core.SplitGenerator. This argument was ignored as shards are automatically computed.

Future breaking compatibility changes:

  • Rename interleave_parallel_reads -> interleave_cycle_length for tfds.ReadConfig.
  • Invert ds, ds_info argument orders for tfds.show_examplesFuture breaking change:
  • The tfds.features.text encoding API is deprecated. Please use tensorflow_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!