Feb. 16, 2023, 6 p.m. | noreply@blogger.com (TensorFlow Blog)

The TensorFlow Blog blog.tensorflow.org


Posted by the TensorFlow Datasets team





Datasets landscape has changed a lot since TensorFlow Datasets (TFDS) was introduced about 4 years ago: TFDS made sharing or re-using a dataset significantly easier, and transformed the datasets landscape by inspiring other ML tools, libraries and services.



Loading a dataset went from complicated scripts to:

import tensorflow_datasets as tfds
ds = tfds.load('mnist', split='train')

for example in ds: # example is `{'image': tf.Tensor, 'label': tf.Tensor}`
print(list(example.keys()))
image = example["image"]
label = example["label"]
print(image.shape, label) …

dataset datasets documentation example image import introduction landscape libraries list loading machine learning ml tools mnist scripts services team tensor tensorflow tools

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote