title: How to read (decode) .tfrecords file, see the images inside and do augmentation?
body: <p>I have a <code>.tfrecords</code> file and I want to extract, see the images in the file and augment them.
  I am using <a href="https://colab.research.google.com" rel="nofollow noreferrer">https://colab.research.google.com</a>
  TensorFlow version: 2.3.0</p>
  <p>And for the following code</p>
  <pre><code>raw_dataset = tf.data.TFRecordDataset(&quot;*path.tfrecords&quot;)
  
  for raw_record in raw_dataset.take(1):
      example = tf.train.Example()
      example.ParseFromString(raw_record.numpy())
      print(example)
  </code></pre>
  <p>I am facing the following output:</p>
  <pre><code>features {
    feature {
      key: &quot;depth&quot;
      value {
        int64_list {
          value: 3
        }
      }
    }
    feature {
      key: &quot;height&quot;
      value {
        int64_list {
          value: 333
        }
      }
    }
    feature {
      key: &quot;image_raw&quot;
      value {
        bytes_list {
          value:
        }
      }
    }
    feature {
      key: &quot;label&quot;
      value {
        int64_list {
          value: 16
        }
      }
    }
    feature {
      key: &quot;width&quot;
      value {
        int64_list {
          value: 500
        }
      }
    }
  }
  </code></pre>