title: Loading images with image_dataset_from_directory() from keras
body: <p>The folder of images has the following structure:</p>
  <pre><code>train/
  ...batch0/
  ......file00.jpg
  ......file01.jpg
  ...batch1/
  ......file10.jpg
  ......file11.jpg
  </code></pre>
  <p>Names of directories <code>batch0</code> and <code>batch1</code> are not labels, labels are in a separate file. The problem is to load these images into a dataset. Function <code>image_dataset_from_directory('/batch0')</code>, <code>image_dataset_from_directory('/batch1')</code> doesn't work.</p>
  <p>Error:</p>
  <pre><code>ValueError: Expected the lengths of labels to match the number of files in the target directory. len(labels) is 2 while we found 0 files in ../train/batch0/. 
  </code></pre>