Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TFDS is a collection of datasets ready to use with TensorFlow, Jax, ...

License

NotificationsYou must be signed in to change notification settings

tensorflow/datasets

Repository files navigation

TensorFlow Datasets provides many public datasets astf.data.Datasets.

UnittestsPyPI versionPython 3.10+TutorialAPICatalog

Documentation

To install and use TFDS, we strongly encourage to start with ourgetting started guide. Tryit interactively in aColab notebook.

Our documentation contains:

# !pip install tensorflow-datasetsimporttensorflow_datasetsastfdsimporttensorflowastf# Construct a tf.data.Datasetds=tfds.load('mnist',split='train',as_supervised=True,shuffle_files=True)# Build your input pipelineds=ds.shuffle(1000).batch(128).prefetch(10).take(5)forimage,labelinds:pass

TFDS core values

TFDS has been built with these principles in mind:

  • Simplicity: Standard use-cases should work out-of-the box
  • Performance: TFDS followsbest practicesand can achieve state-of-the-art speed
  • Determinism/reproducibility: All users get the same examples in the sameorder
  • Customisability: Advanced users can have fine-grained control

If those use cases are not satisfied, please send usfeedback.

Want a certain dataset?

Adding a dataset is really straightforward by followingour guide.

Request a dataset by opening aDataset request GitHub issue.

And vote on the currentset of requestsby adding a thumbs-up reaction to the issue.

Citation

Please include the following citation when usingtensorflow-datasets for apaper, in addition to any citation specific to the used datasets.

@misc{TFDS,title ={{TensorFlow Datasets}, A collection of ready-to-use datasets},howpublished ={\url{https://www.tensorflow.org/datasets}},}

Disclaimers

This is a utility library that downloads and prepares public datasets. We donot host or distribute these datasets, vouch for their quality or fairness, orclaim that you have license to use the dataset. It is your responsibility todetermine whether you have permission to use the dataset under the dataset'slicense.

If you're a dataset owner and wish to update any part of it (description,citation, etc.), or do not want your dataset to be included in thislibrary, please get in touch through a GitHub issue. Thanks for yourcontribution to the ML community!

If you're interested in learning more about responsible AI practices, includingfairness, please see Google AI'sResponsible AI Practices.

tensorflow/datasets is Apache 2.0 licensed. See theLICENSE file.


[8]ページ先頭

©2009-2025 Movatter.jp