title: Issue loading images for tensorfow from colab folder
body: <p>I made a folder in colab called &quot;pics&quot; <a href="https://i.stack.imgur.com/sPOA9.png" rel="nofollow noreferrer">like so</a> which contains png images and I want to make a test/train split. I thought loading them like this</p>
  <pre><code>data = pathlib.Path('/content/pics') 
  </code></pre>
  <p>and then using image_dataset_from_directory like this</p>
  <pre><code>train_ds = tf.keras.utils.image_dataset_from_directory(
    data,
    validation_split=0.3,
    subset=&quot;training&quot;,
    seed=123,
    image_size=(165, 1310),
    batch_size=30)
  </code></pre>
  <p>would work, but I get the error 'No images found in directory /content/pics.'</p>