title: TensorFlow unable to load image files from filepath
body: <p>I am currently doing a lab on Transfer Learning and we use TensorFlow in class. I am using the cats and dogs images to experiment with Transfer Learning concepts.</p>
  <p>Before the transfer learning stage, I need to load images of the cats and dogs from the file I have unzipped. I have written the following code to load the images from this unzipped file in Google Colab:</p>
  <pre><code>from tensorflow.keras.preprocessing import image
  import numpy as np
  fname = '/Users/xx/documents/yy/dogs-vs-cats/train'
  img = image.load_img(fname, target_size=(150, 150))
  </code></pre>
  <p>However, when I run this code, I get the following error message:</p>
  <pre><code>No such file or directory: '/Users/xx/documents/yy/dogs-vs-cats/train'
  </code></pre>
  <p>The dogs-vs-cats file is in my documents folder so I'm unsure why this error shows up.</p>