title: Torchvision ImageFolder "Could not find any class folder"
body: <p>The code below</p>
  <pre><code>plastic_train_image_folder = torchvision.datasets.ImageFolder(plastic_dir, transform=transforms)
  </code></pre>
  <p>throws the following error:</p>
  <blockquote>
  <p>Could not find any any class folder in /Users/username/Documents/Jupyter/archive/Garbage classification/Garbage classification/plastic.</p>
  </blockquote>
  <p>Yet, there are files there. The code below prints <code>482</code>.</p>
  <pre><code>list_plastic = os.listdir(plastic_dir) 
  number_files_plastic = len(list_plastic)
  print(number_files_plastic)
  </code></pre>
  <p>Why is this error happening?</p>