TFDS now supports the Croissant 🥐 format! Read the documentation to know more.

Module: tfds.folder_dataset

View source on GitHub

Utils to load data comming from third party sources directly with TFDS.

Classes

class ImageFolder: Generic image classification dataset created from manual directory.

class TranslateFolder: Generic text translation dataset created from manual directory.

Functions

compute_split_info(...): Compute the split info on the given files.

compute_split_info_from_directory(...): Compute the split info for the splits in the given data dir.

write_metadata(...): Add metadata required to load with TFDS.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年04月26日 UTC.