Top "Tensorflow-datasets" questions

TensorFlow's `tf.

How to cache data during the first epoch correctly (Tensorflow, dataset)?

I'm trying to used the cache transformation for a dataset. Here is my current code (simplified): dataset = tf.data.TFRecordDataset(…

tensorflow tensorflow-datasets
Tensorflow tf.data AUTOTUNE

I was reading the TF performance guide for Data Loading section. For prefetch it says, The tf.data API provides …

tensorflow tensorflow-datasets
Creating a tensorflow dataset that outputs a dict

I have a dict with "metadata" for my dataset, of sort {'m1': array_1, 'm2': array_2, ...}. Each of the …

python dictionary tensorflow tensorflow-datasets
tensorflow dataset shuffle then batch or batch then shuffle

I recently began learning tensorflow. I am unsure about whether there is a difference x = np.array([[1],[2],[3],[4],[5]]) dataset = tf.data.…

tensorflow tensorflow-datasets
How to apply data augmentation in TensorFlow 2.0 after tfds.load()

I'm following this guide. It shows how to download datasets from the new TensorFlow Datasets using tfds.load() method: import …

python tensorflow tensorflow-datasets data-augmentation tensorflow2.0