title: Correctly mapping directories
body: <p>I am trying to get a training module on the transfer learning toolkit to run and cannot seem to map my directories correctly.  I omitted the equals sign that I had earlier between os.environ and path name. Still returns error.  I am not sure where I am going wrong here.</p>
  <pre><code>mport json
  import os 
  default_value = '~/LOCAL_PROJECT_DIR'
  os.getenv('LOCAL_PROJECT_DIR', default_value)
  mounts_file = os.path.expanduser(&quot;~/.tlt_mounts.json&quot;)
  
  # Define the dictionary with the mapped drives
  drive_map = {
      &quot;Mounts&quot;: [
          # Mapping the data directory
          {
              &quot;source&quot;: os.environ[&quot;/LOCAL_PROJECT_DIR/data&quot;],
              &quot;destination&quot;: &quot;/workspace/tlt-experiments&quot;
          },
          # Mapping the specs directory.
          {
              &quot;source&quot;: os.environ[&quot;/LOCAL_PROJECT_DIR/files&quot;],
              &quot;destination&quot;: os.environ[&quot;/workspace/tlt-experiments/specs&quot;]
          },
      ]
  }
  </code></pre>
  <p>Errors given:</p>
  <hr />
  <p>KeyError                                  Traceback (most recent call last)
   in 
  11         # Mapping the data directory
  12         {
  ---&gt; 13             &quot;source&quot;: os.environ[&quot;/LOCAL_PROJECT_DIR/data&quot;],
  14             &quot;destination&quot;: &quot;/workspace/tlt-experiments&quot;
  15         },</p>
  <p>~/opt/anaconda3/lib/python3.8/os.py in <strong>getitem</strong>(self, key)
  673         except KeyError:
  674             # raise KeyError with the original key value
  --&gt; 675             raise KeyError(key) from None
  676         return self.decodevalue(value)
  677</p>
  <p>KeyError: '/LOCAL_PROJECT_DIR/data'</p>
  <p>My code ran smoothly after this update:</p>
  <pre><code># Define the dictionary with the mapped drives
  drive_map = {
      &quot;Mounts&quot;: [
          # Mapping the data directory
          {
              &quot;source&quot;: &quot;/LOCAL_PROJECT_DIR/data&quot;,
              &quot;destination&quot;: &quot;/workspace/tlt-experiments&quot;
          },
          # Mapping the specs directory.
          {
              &quot;source&quot;: &quot;/LOCAL_PROJECT_DIR/files&quot;,
              &quot;destination&quot;: &quot;/workspace/tlt-experiments/specs&quot;
          },
      ]
  }
  </code></pre>
  <p>Thanks everyone!</p>