How to read (decode) .tfrecords file, see the images inside and do augmentation?
问题 I have a .tfrecords file and I want to extract, see the images in the file and augment them. I am using https://colab.research.google.com TensorFlow version: 2.3.0 And for the following code raw_dataset = tf.data.TFRecordDataset("*path.tfrecords") for raw_record in raw_dataset.take(1): example = tf.train.Example() example.ParseFromString(raw_record.numpy()) print(example) I am facing the following output: features { feature { key: "depth" value { int64_list { value: 3 } } } feature { key: