 = PoseTools.create_label_images(locs/hmaps_rescale, hsz, 1, conf.label_blur_rad)
              return [hmaps]
    </code></pre>


    <h3><a id="pbg_convert_preds">Defining convert_preds_to_locs</a></h3>
        Inputs
        <ul>
            <li>preds: Output of the network. Eg Heatmaps.
        </ul>
        Outputs
        <ul>
        <li> numpy array of size [B,N,2] with x,y locations where B is the batch_size, N is the number of landmarks. [:,:,0] should be the x location, while [:,:,1] should be th