title: Loading images in google colab
body: <p>My Jupyter Notebook has the following code to upload an image to Colab:</p>
  <pre><code>from google.colab import files
  uploaded = files.upload()
  </code></pre>
  <p>I get prompted for the file. Which gets uploaded.</p>
  <p>I verify that the file upload was successful using:</p>
  <pre><code>!ls
  </code></pre>
  <p>and I see that it's there.</p>
  <p>I check the current working directory using:</p>
  <pre><code>import os
  os.getcwd()
  </code></pre>
  <p>and it tells me that it is /content</p>
  <p>now, the following call fails:</p>
  <pre><code>assert os.path.exists(img_path)
  </code></pre>
  <p>It also fails whether i'm using just the file name or the full path.</p>
  <p>Any thoughts on what is going on?</p>