-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
84ac202
commit 61ce68c
Showing
3 changed files
with
180 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.