title: Why do I get 'ImportError' for a Python function within multiple sub-directories?
body: <p>I am using code from this <a href="https://github.com/SUZhaoyu/keras-semantic-segmentation/tree/develop/src" rel="nofollow noreferrer">website</a></p>
  
  <p>There is a function called '<code>label_to_one_hot_batch</code>' within the file `isprs.py.</p>
  
  <p>In my own python script in the main directory folder (i.e., the <code>semseg</code> folder), I am trying to import this function as follows:</p>
  
  <pre><code>from data.isprs import label_to_one_hot_batch
  </code></pre>
  
  <p>However, I get the following error:</p>
  
  <pre><code>ImportError: cannot import name label_to_one_hot_batch
  </code></pre>
  
  <p>Any insight to solve this error would be helpful.</p>