e y locations.
        </ul>

          <p>Convert the output prediction of network to x,y locations. The output should be in the same scale as input image. If you downsampled the input image, then the x,y location should for the downsampled image. Eg. From heatmap output to x,y locations.</p>

          <pre><code>
            def convert_preds_to_locs(self, pred):
                return PoseTools.get_pred_locs(pred)*downsample_factor
          </code></pre>

    <h3><a id="pbg_train">Defining train functi